You are not logged in.

#1 2008-08-12 22:12:16

jdhore
Member
From: NYC
Registered: 2007-08-01
Posts: 156

"make install" not working

Whenever i build some program that uses autotools (./configure, make, make install), it compiles fine (after i satisfy dependencies of course) and running make install (as root) succeeds, the program is not available to me. I've tried this with a multitude of programs and i run "sudo ldconfig" after the make install and...nothing, it seems the only way to get these programs to install is to quickly create a PKGBUILD for them, but that's a bit too much work for something i want to test our real quick or something for personal use only. Also, it seems that this does not happen on the one application i tried that uses python and setuptools for build/install.

Any help would be appreciated.
JD

Offline

#2 2008-08-12 22:15:42

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: "make install" not working

Most programs install by default to /usr/local, and /usr/local/bin is not in the defaut $PATH.  Are you changing the installation location when installing by hand?

Offline

#3 2008-08-12 22:27:38

jdhore
Member
From: NYC
Registered: 2007-08-01
Posts: 156

Re: "make install" not working

peart wrote:

Most programs install by default to /usr/local, and /usr/local/bin is not in the defaut $PATH.  Are you changing the installation location when installing by hand?

nope...I didn't think that /usr/local/bin wouldn't be in $PATH as it is in all other distros i use...In any event, where would i go to globally change the $PATH value? (I don't want to export it all the time or put the path in my .bashrc)

Offline

#4 2008-08-12 22:31:46

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: "make install" not working

/etc/profile sets the global PATH variable (for everyone).

Offline

#5 2008-08-12 23:40:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: "make install" not working

jdhore wrote:

that's a bit too much work for something i want to test our real quick or something for personal use only.

Depends on the user. I'm so used to doing PKGBUILDS at this stage that it's easier for me to do it that way. I find the advantages far outweigh the trivial amount of work involved.

Each to their own, though. smile

Offline

Board footer

Powered by FluxBB