Re: pwlib path problem in Ekiga?



On Mon, 2007-06-11 at 15:04 +0100, David Corking wrote:
> configure: error: You need the PWLib library to compile Ekiga
> *** error during stage configure of ekiga: ########## Error running
> ./configure --prefix /home/gnomeslave/gnome/work/bin
> --with-pwlib-dir=`ptlib-config --prefix` --with-opal-dir=`ptlib-config
> --prefix` --disable-static --disable-gtk-doc  *** [1/1]
> 
> Maybe the `ptlib-config --prefix` command returns an incorrect path on
> the build machine?  Is there a way to check that?  I think it should
> be
> 
> /home/gnomeslave/gnome/work/bin/lib
> or
> ../pwlib-1.10.7

The actual result is:
$ jhbuild shell
$ ptlib-config --prefix
/home/gnomeslave/gnome/work/bin

but if i force it to be /home/gnomeslave/gnome/work/bin/lib (by passing
this path to configure script) then it does not find the header files:

$ ./configure --enable-maintainer-mode
--prefix /home/gnomeslave/gnome/work/bin
--with-pwlib-dir=/home/gnomeslave/gnome/work/bin/lib
...
checking
for /home/gnomeslave/gnome/work/bin/lib/include/ptlib/pprocess.h... no
configure: error: You need the PWLib headers to compile Ekiga

I've alse seen taht libpt.so is actually installed here:
/home/gnomeslave/gnome/work/bin/lib/libpt.so

so looks like the path given by ptlib-config --prefix is ok.

> Note that the opal build succeeds - opal also depends on the
> ptlib-unix module of pw lib.
> Unlike for ekiga, buildbot give's opal's configure an explicit
> relative path: PWLIBDIR=../pwlib-1.10.7
> 
> ./configure --prefix /home/gnomeslave/gnome/work/bin
> PWLIBDIR=../pwlib-1.10.7 --disable-static --disable-gtk-doc
> 
> This points to the pwlib source tree.

Looks like Opal has some fallback in its configure.ac file:
...
dnl look for ptlib, use a preference order of explicit PWLIBDIR,
directory
dnl at same level, home directory, /usr/local or /usr.
...

Iago




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