Results 1 to 5 of 5
While installing pango ...I installed glib on a non standard location /home/preyan/glib
what are the influential variables
I complied it from the source
Code:
./configure --prefix =/home/preyan/glib
make
make install
...
- 04-08-2008 #1Just Joined!
- Join Date
- Aug 2007
- Location
- Chennai
- Posts
- 3
Not Installing to a default location
While installing pango ...I installed glib on a non standard location /home/preyan/glib
what are the influential variables
I complied it from the source
everything was goodCode:./configure --prefix =/home/preyan/glib make make install
and when pango is configured it is not able to find it
do i have to set anything if so to what path
- 04-08-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
- 04-09-2008 #3Just Joined!
- Join Date
- Aug 2007
- Location
- Chennai
- Posts
- 3
Isnt this issue related to the package configuration finder,which is not able to find my glib,for which I have set the PATH variable in the .bashrc file
- 04-09-2008 #4Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Lib directories usually don't have anything to do with $PATH.
And yes, it's -probably- your ./configure not being able to locate the correct dir. That is WHY you can set up them by hand: because automatic configuration scripts can't always guest the correct paths.
Run ./configure --help, look for the pertinent parameter, and specify it on command line. Note that you might need to set more than one (i.e. one for libs and another for headers). I never compiled pango by hand so I don't know.
And read it's documentation if in doubt.
- 04-09-2008 #5Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
Since you installed to a non default location, you need to set up 2 things. First off, you will probably want to add $PREFIX/lib to /etc/ld.so.conf or $LD_CONFIG_PATH so the linker doesn't get lost trying to find the libs. Second, and probably more important, you will need to add $PREFIX/lib/pkgconfig to $PKG_CONFIG_PATH in order to build other things which use pkg-config, such as pango and many gui apps.


Reply With Quote
