Re: [Ekiga-list] Compiling opal-3.10.1

2011/7/18 Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
On 17/07/11 18:30, Antonio Trande wrote:
Solved with $ PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure  .

There is a problem with your machine.  By default, pkg-config looks at /usr/lib/pkgconfig, there is no need to tell it so.

>From man pkg-config:
      pkg-config retrieves information about packages from special metadata files. These files are
      named  after  the  package,  and  has a .pc extension.  On most systems, pkg-config looks in
      /usr/lib/pkgconfig, /usr/share/pkgconfig, /usr/local/lib/pkgconfig and /usr/local/share/pkg‐
      config for these files.  It will additionally look in the colon-separated (on Windows, semi‐
      colon-separated) list of directories specified by the PKG_CONFIG_PATH environment variable.

Since with PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure it works, it means that on your system pkg-config does not look in /usr/lib/pkgconfig, so it was somewhat wrongly installed.

Hi Eugen.
Making a recap :

$ locate

If i don't use PKG_CONFIG_PATH=/usr/lib/pkgconfig , ptlib check  failed.

Note that --enable-FEATURE is an example: "FEATURE" must be replaced with the feature you are looking for... 

Sorry, i had not understand the help note.

 $ PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure --prefix=/usr --disable-libavcodec works !
Antonio Trande

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]