Re: [Ekiga-devel-list] Compiling HEAD fails due to ptlib headers not found



Hi,

I just compiled and all was fine. Ekiga is up and running now.

I used this script (for ubuntu):
http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_Ubuntu#Automated_installation_using_a_bash_script

Regards,
Yannick

Le samedi 12 avril 2008 à 01:51 +0200, Luis Menina a écrit :
> Hi all,
> I tried to compile HEAD tonight, but it fails. It seems that the path 
> for ptlib headers is not included when compiling some files. I've 
> checked that pkg-config gives the right path:
> 
> [liberforce donald skel]$ pkg-config --cflags ptlib
> -I/opt/gnome2//include
> 
> The file that causes the error is 
> ekiga/lib/engine/display/skel/display-core.h
> 
> In that file, just above ptlib headers inclusion, there's a FIXME 
> comment, so I suppose this is ekiga's fault, and not my ptlib configuration.
> 
> Here is a log showing the problem:
> 
> [liberforce donald skel]$ LC_ALL=C make
> /bin/sh ../../../../libtool --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/gmconf 
> -I../../../../lib/engine/include -I../../../../lib/engine/framework 
> -I../../../../lib/engine/display/skel   -I/opt/gnome2/include/sigc++-2.0 
> -I/opt/gnome2/lib/sigc++-2.0/include   -pthread 
> -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/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 -o display-core.lo `test -f 
> '../../../../lib/engine/display/skel/display-core.cpp' || echo 
> './'`../../../../lib/engine/display/skel/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/opt/gnome2/include/sigc++-2.0 
> -I/opt/gnome2/lib/sigc++-2.0/include -pthread 
> -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/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
> In file included from 
> ../../../../lib/engine/display/skel/display-core.cpp:42:
> ../../../../lib/engine/display/skel/display-core.h:52:25: error: 
> ptbuildopts.h: No such file or directory
> ../../../../lib/engine/display/skel/display-core.h:53:19: error: 
> ptlib.h: No such file or directory
> In file included from 
> ../../../../lib/engine/display/skel/display-core.cpp:42:
> ../../../../lib/engine/display/skel/display-core.h:156: error: 'PMutex' 
> does not name a type
> ../../../../lib/engine/display/skel/display-core.cpp: In constructor 
> 'Ekiga::DisplayCore::DisplayCore()':
> ../../../../lib/engine/display/skel/display-core.cpp:51: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:51: error: expected 
> `;' before 'm'
> ../../../../lib/engine/display/skel/display-core.cpp: In destructor 
> 'virtual Ekiga::DisplayCore::~DisplayCore()':
> ../../../../lib/engine/display/skel/display-core.cpp:67: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:67: error: expected 
> `;' before 'm'
> ../../../../lib/engine/display/skel/display-core.cpp: In member function 
> 'void Ekiga::DisplayCore::setup_conf_bridge()':
> ../../../../lib/engine/display/skel/display-core.cpp:75: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:75: error: expected 
> `;' before 'm'
> ../../../../lib/engine/display/skel/display-core.cpp: In member function 
> 'void Ekiga::DisplayCore::add_manager(Ekiga::DisplayManager&)':
> ../../../../lib/engine/display/skel/display-core.cpp:82: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:82: error: expected 
> `;' before 'm'
> ../../../../lib/engine/display/skel/display-core.cpp: In member function 
> 'void Ekiga::DisplayCore::start()':
> ../../../../lib/engine/display/skel/display-core.cpp:108: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:108: error: 
> expected `;' before 'm'
> ../../../../lib/engine/display/skel/display-core.cpp: In member function 
> 'void Ekiga::DisplayCore::stop()':
> ../../../../lib/engine/display/skel/display-core.cpp:125: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:125: error: 
> expected `;' before 'm'
> ../../../../lib/engine/display/skel/display-core.cpp: In member function 
> 'void Ekiga::DisplayCore::set_frame_data(unsigned int, unsigned int, 
> const char*, bool, int)':
> ../../../../lib/engine/display/skel/display-core.cpp:154: error: 
> 'var_mutex' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp: In member function 
> 'void Ekiga::DisplayCore::set_display_info(const DisplayInfo&)':
> ../../../../lib/engine/display/skel/display-core.cpp:192: error: 
> 'PWaitAndSignal' was not declared in this scope
> ../../../../lib/engine/display/skel/display-core.cpp:192: error: 
> expected `;' before 'm'
> _______________________________________________
> Ekiga-devel-list mailing list
> Ekiga-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
> 
-- 
Me joindre en téléphonie IP / vidéoconférence ?
sip:yannick ekiga net
Logiciel de VoIP Ekiga : http://www.ekiga.org
http://wiki.ekiga.org/index.php/Which_programs_work_with_Ekiga_%3F



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