Has anyone managed to compile GG from source, on OS 12?
This is an allegedly dead project but I would still like to compile and run it.
I'm referring to the source code from here:
google-gadgets-for-linux - An open-source implementation of Google Gadgets platform for Linux. - Google Project Hosting When making, having loaded all dependencies I get an error in ../third_party/unzip/unzip.c with the libunzip library.
In particular:
Code:
gcc -DHAVE_CONFIG_H -I. -I../../../third_party/unzip -I../.. -I/usr/include -D__STDC_CONSTANT_MACROS -DNDEBUG -DGGL_MODULE_DIR=\"/usr/lib64/google-gadgets/modules\" -DGGL_INCLUDE_DIR=\"/usr/include/google-gadgets\" -DGGL_SYSDEPS_INCLUDE_DIR=\"/usr/lib64/google-gadgets/include\" -DGGL_LIBEXEC_DIR=\"/usr/lib64/google-gadgets\" -DGGL_RESOURCE_DIR=\"/usr/share/google-gadgets\" -DGGL_HOST_LINUX=1 -DGGL_LITTLE_ENDIAN -DHAVE_PTHREAD=1 -DHAVE_X11=1 -DHAVE_DBUS_LIBRARY -DHAVE_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP -DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-x86_64 (openSUSE 12.2 (x86_64)) (-)\"" -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" -DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr/lib64/browser-plugins\" -DGGL_ENABLE_XDGMIME -DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" -DGGL_QT_SCRIPT_ENGINE=\"qt\" -O2 -Wall -fstack-protector -Werror -MT libunzip_la-unzip.lo -MD -MP -MF .deps/libunzip_la-unzip.Tpo -c ../../../third_party/unzip/unzip.c -fPIC -DPIC -o .libs/libunzip_la-unzip.o
../../../third_party/unzip/zip.c: In function 'zipOpenNewFileInZip3':
../../../third_party/unzip/zip.c:884:28: error: assignment from incompatible pointer type [-Werror]
cc1: all warnings being treated as errors
../../../third_party/unzip/unzip.c: In function 'unzOpenCurrentFile3':
../../../third_party/unzip/unzip.c:1176:24: error: assignment from incompatible pointer type [-Werror]
make[3]: *** [libunzip_la-zip.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[3]: *** [libunzip_la-unzip.lo] Error 1
make[3]: Leaving directory `/home/jh/google-gadgets-for-linux-0.11.2/build/third_party/unzip'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jh/google-gadgets-for-linux-0.11.2/build/third_party'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jh/google-gadgets-for-linux-0.11.2/build'
make: *** [all] Error 2
No comments:
Post a Comment