Professional Web Applications Themes

how do i set up pkg-config variable under SusE 8.2?! - Linux Setup, Configuration & Administration

Hi! I got problems installing programs sometimes because the packages i run with "./configure" place their libraries in a different folder as these which are registert in ther pkg-config variable. packages like "atk", "bonobo", "glibc"...... store their libraries in the /usr/local/lib dierectory instead (as desired) in the "/usr/lib" directory what causes that packages which have them in their depencies couldn't be found. My question to you all: 1) where do i find, and how do i set up the pkg-config variable to add their new directories? if it's not possible... 2) What options do i have to use at the ...

  1. #1

    Default how do i set up pkg-config variable under SusE 8.2?!

    Hi!
    I got problems installing programs sometimes because the packages i run
    with "./configure" place their libraries in a different folder as these
    which are registert in ther pkg-config variable.

    packages like "atk", "bonobo", "glibc"...... store their libraries in
    the /usr/local/lib dierectory instead (as desired) in the "/usr/lib"
    directory what causes that packages which have them in their depencies
    couldn't be found.

    My question to you all:
    1) where do i find, and how do i set up the pkg-config variable to add
    their new directories?

    if it's not possible...

    2) What options do i have to use at the "./configure" command to solve
    depencies?!

    For any help


    Tamer Higazi



    Tamer Higazi Guest

  2. #2

    Default Re: how do i set up pkg-config variable under SusE 8.2?!

    In article <bfs9hs$sae$5ngspool-d02.news.aol.com>, Tamer Higazi wrote:
    > Hi!
    > I got problems installing programs sometimes because the packages i run
    > with "./configure" place their libraries in a different folder as these
    > which are registert in ther pkg-config variable.
    >
    > packages like "atk", "bonobo", "glibc"...... store their libraries in
    > the /usr/local/lib dierectory instead (as desired) in the "/usr/lib"
    > directory what causes that packages which have them in their depencies
    > couldn't be found.
    >
    > My question to you all:
    > 1) where do i find, and how do i set up the pkg-config variable to add
    > their new directories?
    >
    > if it's not possible...
    >
    > 2) What options do i have to use at the "./configure" command to solve
    > depencies?!
    >
    > For any help
    >
    >
    > Tamer Higazi
    >
    >
    >
    Well, ./configure does not solve dependencies, it only checks for
    installed components, but if you want everything in the same dir then
    run ./configure --prefix=/usr and (atk,bonobo etc) libraries end up in
    /usr/lib
    or ./configure --prefix=/var/gnome and libs will be in /var/gnome/lib.
    Even if dirs don't exist they'll be created.

    RE:pkg-config variable: if you're using bash or sh put
    PKG_CONFIG_PATH=/usr/lib/pkgconfig && export PKG_CONFIG_PATH in .bash_profile
    in you home dir, logout and log in, type
    echo $PKG_CONFIG_PATH.
    If you see whatever you set it to, then you're OK.
    Otherwise, try to put it in .bashrc and chmod 0700 .bashrc in your home dir,
    It depends on distro which of them will be read on login. I'll leave to you
    to figure out.

    If you want to set it up temporary just type on command line :
    PKG_CONFIG_PATH=... && export PKG...
    or
    source .bash_profile if you've put it in this file

    Make sure you are in home dir.
    Ivo
    Ivo Andrejco Guest

Similar Threads

  1. Replies: 3
    Last Post: June 1st, 02:49 AM
  2. Replies: 6
    Last Post: October 31st, 02:34 PM
  3. Replies: 9
    Last Post: October 1st, 10:24 PM
  4. Installing Suse 8.2 Profesional hangs after this line >>> SuSe Linux Installation ....<<<
    By Nenad Ukropina in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: September 15th, 07:11 AM
  5. Replies: 1
    Last Post: July 23rd, 09:05 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139