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 libpt.so
/home/ken/CompiledSoftware/ptlib-2.10.1/lib_linux_x86_64/libpt.so
/home/ken/CompiledSoftware/ptlib-2.10.1/lib_linux_x86_64/libpt.so.2.10.1
/usr/lib/libpt.so
/usr/lib/libpt.so.2.10.1
/usr/lib64/libpt.so.2.10.1
  

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

Then
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]