Re: [Ekiga-list] ekiga 2.0.11 Cant find pwlib?



Damien Sandras wrote:
Le jeudi 11 octobre 2007 �4:11 +1000, alex a �it :
alex wrote:
This is probably a very common question/issue, but as far as I know, I have done everything to help the configure script find the library, I have this output:

Invoked: ./configure --prefix=/usr/local --with-pwlib-dir=/usr/local --with-opal-dir=/usr/local

Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EKIGA... yes
checking for EDS... yes
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking whether OS type is supported... yes
checking for PWLib includes in /usr/local/include/...
checking for /usr/local/include/ptlib/pprocess.h... yes
checking for read in -lpt... no
configure: error: You need the PWLib library to compile Ekiga

bash-3.00$ ls -l /usr/local/lib |grep libpt
lrwxrwxrwx 1 root root 22 Oct 11 12:33 libpt.so -> libpt_solaris_x86_r.so lrwxrwxrwx 1 root root 30 Oct 11 12:33 libpt_solaris_x86_r.so -> libpt_solaris_x86_r.so.1.10.10 lrwxrwxrwx 1 root root 30 Oct 11 12:33 libpt_solaris_x86_r.so.1 -> libpt_solaris_x86_r.so.1.10.10 lrwxrwxrwx 1 root root 30 Oct 11 12:33 libpt_solaris_x86_r.so.1.10 -> libpt_solaris_x86_r.so.1.10.10 -r--r--r-- 1 root root 5507268 Oct 11 12:33 libpt_solaris_x86_r.so.1.10.10

Operating system is Solaris (OpenSolaris - Solaris 11).

Out of desperation, I tried this (not normally needed as other software doesn't have trouble finding things):

bash-3.00$ export LDFLAGS="-L/usr/local/lib:/usr/lib -R/usr/local/lib:/usr/lib"

and tried again.. same error. Opal didnt have any problems finding my libraries in /usr/local, why is ekiga having the issue?

Any ideas what the problem is?

_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list

Some more info on this, I looked at config.log and found this:

configure:22375: checking for read in -lpt
configure:22410: g++ -o conftest -O4 -L/usr/local/lib:/usr/lib -R/usr/local/lib:/usr/lib -L/usr/local/lib/ conftest.cpp -lpt
   >&5
Undefined                       first referenced
 symbol                             in file
PVideoDevice::SetColourFormatConverter(PString const&) /usr/local/lib//libpt.so
PVideoDevice::GetVideoFormat() const /usr/local/lib//libpt.so
PVideoDevice::GetHue()              /usr/local/lib//libpt.so
PVideoDevice::SetHue(unsigned int)  /usr/local/lib//libpt.so
typeinfo for PVideoOutputDevice     /usr/local/lib//libpt.so
vtable for PVideoOutputDevice       /usr/local/lib//libpt.so
PVideoOutputDevice::Start()         /usr/local/lib//libpt.so
PVideoDevice::SetVideoChannelFormat(int, PVideoDevice::VideoFormat)/usr/local/lib//libpt.so
PVideoDevice::~PVideoDevice()       /usr/local/lib//libpt.so
PVideoOutputDevice::PVideoOutputDevice()/usr/local/lib//libpt.so
PVideoDevice::SetWhiteness(unsigned int)/usr/local/lib//libpt.so
PVideoDevice::GetWhiteness()        /usr/local/lib//libpt.so
PVideoDevice::SetFrameRate(unsigned int)/usr/local/lib//libpt.so
PVideoOutputDevice::Stop()          /usr/local/lib//libpt.so
PVideoDevice::GetMaxFrameBytesConverted(int) const/usr/local/lib//libpt.so
PVideoDevice::SetChannel(int)       /usr/local/lib//libpt.so
PVideoDevice::OpenFull(PVideoDevice::OpenArgs const&, int)/usr/local/lib//libpt.so PVideoDevice::SetFrameSize(unsigned int, unsigned int)/usr/local/lib//libpt.so PVideoDevice::GetFrameSizeLimits(unsigned int&, unsigned int&, unsigned int&, unsigned int&)/usr/local/lib//libpt.so
PVideoDevice::SetColour(unsigned int)/usr/local/lib//libpt.so
PVideoDevice::GetContrast()         /usr/local/lib//libpt.so
PVideoDevice::GetColour()           /usr/local/lib//libpt.so

What is this all about?

You probably have conflicting libraries / headers on your system.
Damien,

I'm not convinced this is the issue after finding this:

http://mail.gnome.org/archives/ekiga-list/2007-February/msg00125.html

Could it be perhaps that these PVideo functions are only available under linux? I am not using linux, I'm not interested in video, I just want to use VOIP. The --disable-video flag in pwlib's configure script doesn't help. Its ekiga that is expecting these functions to be available?

How do we go disabling ekiga's dependency on these functions, so that people who arn't using linux can build the program without having to resort to open heart surgery on the code? Perhaps you could integrate this into the configure script.

Not meaning to be rude, it would be nice if your program was a bit more BSD and Solaris friendly. BTW: The pwlib up on your page (1.10.10) wont even build under solaris without hacking up the makefiles. However http://www.voxgratia.org/releases/pwlib-v1_11_1-src.tar.gz builds and installs straight out of the box with no problems. Hopefully anyone else attempting to get ekiga 2.0.11 working on bsd/solaris will see this post of mine and it will spare them many hours of grief.

Alex.




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