aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: Problem compiling aMule from CVS tarball on Ubuntu Edgy  (Read 8052 times)

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #15 on: May 27, 2007, 12:36:25 AM »

no, unfortunately it doesn't work.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #16 on: May 27, 2007, 12:54:33 AM »

Then try installing like this:

make install prefix=/opt/amule

That will install aMule on the /opt/amule tree (/opt/amule/bin, /opt/amule/lib, etc). If this works fine, then you can move every file from this folder to the folder you want it to be (example: mv /opt/amule/bin/* /usr/local/bin/)

Regards.
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #17 on: May 27, 2007, 06:46:33 PM »

Ok it works, but install produce a huge output, I had to attach because exceeds the maximum lenght of a message.

I can't understand if it is ok
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #18 on: May 28, 2007, 03:09:00 AM »

The log seems fine. One clue: When there is an error, it's usually shown in the last lines of the log (it applies to compilation, as well as configure and installation). If everything finishes, and there is not the "error" word in the last lines of the log, then most probably everything went fine.

Regards.
Logged

lfroen

  • Guest
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #19 on: May 28, 2007, 07:14:01 AM »

Just for a try: become root (su -) and then execute make install. It could work differently from sudo and maybe it will work.

Regards.

In Ubuntu there's no "root" user, so "su -" will not work. You can "sudo tcsh" to start shell with root privileges
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #20 on: May 28, 2007, 11:06:43 AM »

@ skolnick.
Thanks a lot for your patience, I'm learning a lot of things. For the future I'll try to don't bother you all again.

@ lfroen.
On Ubuntu the user root exist, what you never know is the password, but if you change the root password with
Code: [Select]
sudo passwd rootthen you can use the su command ;D
« Last Edit: May 28, 2007, 11:17:14 AM by luquino »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #21 on: May 28, 2007, 07:11:53 PM »

In Ubuntu there's no "root" user, so "su -" will not work. You can "sudo tcsh" to start shell with root privileges
Maybe because of this the permissions in the /usr/local tree are strange and that's why the "make install" fails to recreate the existant folder? in other UNIXes the root user has full read/write permission to folders and files, maybe ubuntu assigns that same permission to other user. I don't know, just a theory.

Regards.
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Problem compiling aMule from CVS tarball on Ubuntu Edgy
« Reply #22 on: May 28, 2007, 10:29:45 PM »

As I said in my last post, on my system the su command is fully functional and the root user as well:
Code: [Select]
luca@luca:~$ su -
Password:
root@luca:~# exit
logout
luca@luca:~$

 ;D
« Last Edit: May 30, 2007, 12:50:00 PM by luquino »
Logged
Pages: 1 [2]