[Ambulant-users] Ambulant 2.2 beta installers available

Jack Jansen Jack.Jansen at cwi.nl
Wed Dec 23 17:05:09 CET 2009


On 21 dec 2009, at 10:28, Joost Geurts wrote:

> Jack,
> 
> The build process is indeed a lot smoother, thanks for that. :) However, building on OSX (10.5) i still receive a compilation error:
> 
> Making all in player_gtk
> g++ -DPACKAGE_NAME=\"ambulant\" -DPACKAGE_TARNAME=\"ambulant\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"ambulant\ 2.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ambulant\" -DVERSION=\"2.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DLT_MODULE_EXT=\".so\" -DLT_MODULE_PATH_VAR=\"DYLD_LIBRARY_PATH\" -DLT_DLSEARCH_PATH=\"/usr/local/lib:/lib:/usr/lib\" -DHAVE_LIBDL=1 -DHAVE_DLERROR=1 -DHAVE_LIBDLLOADER=1 -Derror_t=int -D__error_t_defined=1 -DHAVE_PRELOADED_SYMBOLS=1 -DHAVE_UNISTD_H=1 -DHAVE_MACH_O_DYLD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_CLOSEDIR=1 -DHAVE_OPENDIR=1 -DHAVE_READDIR=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DLT_LIBEXT=\"a\" -DHAVE_CFPREFERENCESCOPYAPPVALUE=1 -DHAVE_CFLOCALECOPYCURRENT=1 -DHAVE_ICONV=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DWITH_LTDL_PLUGINS=1 -DWITH_SMIL30=1 -DWITH_SEAMLESS_PLAYBACK=1 -DWITH_CLOCK_SYNC=1 -DWITH_EXTERNAL_DOM=1 -DWITH_OVERLAY_WINDOW=1 -DWITH_EXPAT=1 -DWITH_XERCES=1 -DHAVE_PTHREAD=1 -I.   -DAMBULANT_DATADIR=\"/usr/local/share/ambulant\" -I/Volumes/Data/geurts/tmp/ambulant/third_party_packages/installed/include   -DWITH_EXPAT -DWITH_FFMPEG -I/Users/geurts/tmp/ambulant/third_party_packages/installed/include   -I/Users/geurts/tmp/ambulant/third_party_packages/installed/include   -I/Users/geurts/tmp/ambulant/third_party_packages/installed/include   -I/Users/geurts/tmp/ambulant/third_party_packages/installed/include    -I/Users/geurts/tmp/ambulant/third_party_packages/live/liveMedia/include -I/Users/geurts/tmp/ambulant/third_party_packages/live/groupsock/include -I/Users/geurts/tmp/ambulant/third_party_packages/live/BasicUsageEnvironment/include -I/Users/geurts/tmp/ambulant/third_party_packages/live/UsageEnvironment/include -DWITH_LIVE -DLOCALEDIR=\"/usr/local/share/locale\" -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DWITH_SDL -I/Volumes/Data/geurts/tmp/ambulant/third_party_packages/installed/include   -DWITH_XERCES_BUILTIN  -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -I../../include -I../../include -I../../include/ambulant/gui/gtk -I../../include/ambulant/gui/gtk  -fPIC -g -O2  -MT gtk_gui.o -MD -MP -MF .deps/gtk_gui.Tpo -c -o gtk_gui.o gtk_gui.cpp
> gtk_gui.cpp: In constructor ‘gtk_gui::gtk_gui(const char*, const char*)’:
> gtk_gui.cpp:326: error: invalid conversion from ‘_opaque_pthread_t*’ to ‘long unsigned int’
> gtk_gui.cpp: In member function ‘void gtk_gui::internal_message(int, char*)’:
> gtk_gui.cpp:957: error: ISO C++ forbids comparison between pointer and integer
> make[2]: *** [gtk_gui.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1


Joost,
the *build* problem has been fixed. But: the resulting Gtk player still doesn't actually do anything useful on MacOSX.

Are you actually interested in running the GTK player on OSX, or was the fact that is was configured simply a side-efftec of you having installed gtk through MacPorts, and Ambulant configure finding it?
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman





More information about the Ambulant-users mailing list