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

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
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 is actually installed here:

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 file:
dnl look for ptlib, use a preference order of explicit PWLIBDIR,
dnl at same level, home directory, /usr/local or /usr.


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