Re: [Ekiga-devel-list] Building trunk in home 2



Eugen Dedu wrote:
Damien Sandras wrote:
Hi,

Le dimanche 13 avril 2008 à 12:52 +0200, Eugen Dedu a écrit :
Hi,

This comes from the file display-core.h:
#include <glib.h>

//FIXME
#include "ptbuildopts.h"
#include "ptlib.h"

3. The same compilation error (ptlib.h not found) appears when compiling files in directories:
/home/dedu/softs/ekiga/lib/engine/vidinput, subdirs skel, mlogo, ptlib
/home/dedu/softs/ekiga/lib/engine/audioinput, subdirs skel, mlogo, ptlib
/home/dedu/softs/ekiga/lib/engine/audiooutput, subdirs skel, mlogo, ptlib

As a workaround, I have added -I/home/dedu/softs/ptlib/include at the end of the line CXXFLAGS=... in the Makefile of these directories.

4. During linking, it uses -lopal and -lpt, but the libraries in pt and opal have other (long) names. To cope with this, I executed:
snoopy:~/softs/opal/lib$ ln -s libopal_linux_x86_64_r_s.a libopal.a
snoopy:~/softs/ptlib/lib$ ln -s libpt_linux_x86_64_r_s.a libpt.a
Are you sure you did a make install in DESTDIR ?
It looks like you did not run it.

No, I didn't executed it. I thought that make install just moves them in the corresponding directory, but now I know that I am wrong (it creates links too).

So I changed prefix to `pwd`/../bins and executed make install for ptlib and opal. .h and .so are put inside.

However, all the compilation errors about ptlib.h remain (points 2 and 3). The directory for ptlib is not included in the compilation command line of display-core.cpp:

g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/gmconf -I../../../../lib/engine/include -I../../../../lib/engine/framework -I../../../../lib/engine/display/skel -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT display-core.lo -MD -MP -MF .deps/display-core.Tpo -c ../../../../lib/engine/display/skel/display-core.cpp -fPIC -DPIC -o .libs/display-core.o

Really sorry. Yannick, in his previous post (http://mail.gnome.org/archives/ekiga-devel-list/2008-April/msg00092.html), has already seen this, because he used:
  export CPPFLAGS="-I$HOME/build-ekiga-svn/usr/include"
Of course, this does not mean that this is not a bug...

--
Eugen Dedu


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