Find the answer to your Linux question:
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 ...
  1. #1
    Just 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
    Code:
    ./configure --prefix =/home/preyan/glib
    make
    make install
    everything was good
    and when pango is configured it is not able to find it
    do i have to set anything if so to what path

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by kaarthikeyapreyan View Post
    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
    everything was good
    and when pango is configured it is not able to find it
    do i have to set anything if so to what path
    Use ./configure --help on the pango build dir to find which parameter do you need to set a custom path for glib (that's assuming that pango has the standard build method, otherwise, you will have to check the README files).

  3. #3
    Just 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

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by kaarthikeyapreyan View Post
    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
    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.

  5. #5
    Linux 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...