Re: Release?
| From: | Steph Fox | Date: | Sat, 26 Jan 2008 01:58:08 +0000 |
| Subject: | Re: Release? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4112@lists.php.net to get a copy of this message | ||
No, but you did a lot of work on libglade. Is that building as shared for you?
----- Original Message ----- From: "Andrei Zmievski" <andrei@gravitonic.com>
To: "Steph Fox" <steph@zend.com>
Cc: "Mr L. Pegg" <leon.pegg@gmail.com>; <php-gtk-dev@lists.php.net>; "Bob Majdak Jr" <bmajdak@php.net>
Sent: Saturday, January 26, 2008 1:46 AM
Subject: Re: [PHP-GTK-DEV] Release?
I didn't write sourceview. :) -Andrei Steph Fox wrote:.. or is it just a path issue? (Sorry, didn't spot that possibility earlier.) Andrei? Bob? ----- Original Message ----- From: "Steph Fox" <steph@zend.com> To: "Mr L. Pegg" <leon.pegg@gmail.com>; <php-gtk-dev@lists.php.net> Sent: Friday, January 25, 2008 11:57 PM Subject: Re: [PHP-GTK-DEV] Release?-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-o ext/sourceview/.libs/gen_sourceview.o In file included from ext/sourceview/gen_sourceview.c:16: /home/leon/Build/php-gtk/main/php_gtk_api.h:1:30: error: ext/gtk+/gen_gtk.h: No such file or directory /home/leon/Build/php-gtk/main/php_gtk_api.h:2:30: error: ext/gtk+/gen_gdk.h: No such file or directory /home/leon/Build/php-gtk/main/php_gtk_api.h:3:30: error: ext/gtk+/gen_atk.h: No such file or directoryWell there's the problem - but it'll take a *nix person to figure that one out because it's a completely different build system. For example, are those generated files deleted automatically under the *nix build system when a PHP-GTK build is complete? - Steph ps Thanks for testing! ----- Original Message ----- From: "Mr L. Pegg" <leon.pegg@gmail.com> To: <php-gtk-dev@lists.php.net> Sent: Friday, January 25, 2008 11:45 PM Subject: Re: [PHP-GTK-DEV] Release?ok Have just tested I use Ubuntu 7.10 and shared faild using ./configure --with-sourceview=shared result ./buildconf rebuilding configure rebuilding config.h.in leon@leon-laptop:~/Build/php-gtk$ ./configure --with-sourceview=shared checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for PHP extension directory... /usr/lib/php5/20060613+lfs checking for PHP installed headers prefix... /usr/include/php5 checking for re2c... no configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for PHP-GTK support... yes, shared checking for PHP executable in /usr/bin... found version 5.2.3-1ubuntu6.3 checking for gawk... (cached) gawk checking whether to include debugging symbols... no checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.6.0... yes (version 2.14.1) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GTK+ - version >= 2.6.0... yes (version 2.12.0) checking for atk >= 1.9.0... yes checking ATK_CFLAGS... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0-I/usr/lib/glib- 2.0/include checking ATK_LIBS... -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for pango >= 1.8.0... yes checking PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0-I/usr/lib/glib- 2.0/include checking PANGO_LIBS... -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl - lglib-2.0 checking for gtkextra support... no checking for html support... no checking for libglade support... yes checking for libglade-2.0 >= 2.4.0... yes checking LIBGLADE_CFLAGS... -I/usr/include/libglade-2.0 -I/usr/include/gtk- 2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0-I/usr/include/cairo -I/usr/include/pango- 1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 checking LIBGLADE_LIBS... -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 - latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpango-1.0-lcairo -lX11 -lXfixes - lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for libsexy support... no checking for GtkMozEmbed support... no checking for scintilla support... no checking for sourceview support... yes, shared checking for gtksourceview-1.0 >= 1.2.0... yes checking SOURCEVIEW_CFLAGS... -I/usr/include/gtksourceview-1.0-I/usr/include/gtk- 2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/lib/gtk- 2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libart-2.0 checking SOURCEVIEW_LIBS... -lgtksourceview-1.0 -lgtk-x11-2.0-lgnomeprint-2-2 -lz - lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lcairo -lX11 -lXfixes -lart_lgpl_2 -lxml2 -lpango-1.0 -lgobject-2.0 - lgmodule-2.0 -ldl -lglib-2.0 checking for spell support... no creating main/php_gtk_ext.c checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool configure: creating ./config.status config.status: creating config.h leon@leon-laptop:~/Build/php-gtk$ make /bin/bash /home/leon/Build/php-gtk/libtool --mode=compile gcc -I./ext/sourceview/ -I/home/leon/Build/php-gtk/./ext/sourceview/ -DPHP_ATOM_INC -I/home/leon/Build/php-gtk/include -I/home/leon/Build/php-gtk/main -I/home/leon/Build/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0-I/usr/lib/gtk- 2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2-I/usr/include/libart- 2.0 -DHAVE_CONFIG_H -g -O2 -c /home/leon/Build/php-gtk/./ext/sourceview/php_sourceview.c -o ./ext/sourceview/php_sourceview.lo mkdir ./ext/sourceview/.libs gcc -I./ext/sourceview/ -I/home/leon/Build/php-gtk/./ext/sourceview/ -DPHP_ATOM_INC -I/home/leon/Build/php-gtk/include -I/home/leon/Build/php-gtk/main -I/home/leon/Build/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0-I/usr/lib/gtk- 2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2-I/usr/include/libart- 2.0 -DHAVE_CONFIG_H -g -O2 -c /home/leon/Build/php-gtk/./ext/sourceview/php_sourceview.c -fPIC -DPIC -o ./ext/sourceview/.libs/php_sourceview.o ( \-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php/usr/bin/php /home/leon/Build/php-gtk/generator/generator.php \ -l ext/sourceview/gen_sourceview.log \ -r ext/gtk+/atk-types.defs \ -r ext/gtk+/pango-types.defs \ -r ext/gtk+/gdk-types.defs \ -r ext/gtk+/gtk-types.defs \ -o ext/sourceview/sourceview.overrides \ -p GtkSourceView \ -f ext/sourceview/gen_sourceview.cext/sourceview/sourceview.defs \&& grep -h "^PHP_GTK_EXPORT_CE" ext/sourceview/gen_sourceview.c | sed-e "s!^!extern !" > ext/sourceview/gen_sourceview.h \)Parsing file 'ext/sourceview/sourceview.defs'. Parsing file 'ext/gtk+/atk-types.defs'. Parsing file 'ext/gtk+/pango-types.defs'. Parsing file 'ext/gtk+/gdk-types.defs'. Parsing file 'ext/gtk+/gtk-types.defs'. ========================================================================GtkSourceView Summary======================================================================== GtkSourceView ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~functions (0 written, 0 skipped)--------------------------------------------------Interfaces-------------------------------------------------- GtkSourceStyleScheme ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~methods (1 written, 0 skipped)--------------------------------------------------Objects-------------------------------------------------- GtkSourceBuffer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (2 written, 0 skipped) methods (26 written, 1 skipped)GtkSourceLanguage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (0 written, 0 skipped) methods (11 written, 1 skipped)GtkSourceLanguagesManager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (1 written, 0 skipped) methods (3 written, 0 skipped)GtkSourceTagTable ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (1 written, 0 skipped) methods (1 written, 1 skipped)GtkSourceView ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (2 written, 0 skipped) methods (22 written, 0 skipped)GtkSourceMarker ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (0 written, 0 skipped) methods (7 written, 0 skipped)--------------------------------------------------Boxed Types-------------------------------------------------- GtkSourceTagStyle ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~constructors (1 written, 0 skipped)property accessors (8 written, 0 skipped)methods (2 written, 0 skipped)--------------------------------------------------Pointers-------------------------------------------------- -- none -- ========================================================================GtkSourceView Coverage========================================================================Functions : none found Methods : 96.1% written (73/76) Constructors : 100.0% written (7/7)Property accessors : 100.0% written (8/8) /bin/bash /home/leon/Build/php-gtk/libtool --mode=compile gcc -Iext/sourceview/ -I/home/leon/Build/php-gtk/ext/sourceview/ -DPHP_ATOM_INC -I/home/leon/Build/php-gtk/include -I/home/leon/Build/php-gtk/main -I/home/leon/Build/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0-I/usr/lib/gtk- 2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2-I/usr/include/libart- 2.0 -DHAVE_CONFIG_H -g -O2 -c ext/sourceview/gen_sourceview.c -o ext/sourceview/gen_sourceview.lo gcc -Iext/sourceview/ -I/home/leon/Build/php-gtk/ext/sourceview/ -DPHP_ATOM_INC -I/home/leon/Build/php-gtk/include -I/home/leon/Build/php-gtk/main -I/home/leon/Build/php-gtk -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0-I/usr/lib/gtk- 2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2-I/usr/include/libart- 2.0 -DHAVE_CONFIG_H -g -O2 -c ext/sourceview/gen_sourceview.c -fPIC -DPIC -o ext/sourceview/.libs/gen_sourceview.o In file included from ext/sourceview/gen_sourceview.c:16: /home/leon/Build/php-gtk/main/php_gtk_api.h:1:30: error: ext/gtk+/gen_gtk.h: No such file or directory /home/leon/Build/php-gtk/main/php_gtk_api.h:2:30: error: ext/gtk+/gen_gdk.h: No such file or directory /home/leon/Build/php-gtk/main/php_gtk_api.h:3:30: error: ext/gtk+/gen_atk.h: No such file or directory /home/leon/Build/php-gtk/main/php_gtk_api.h:4:32: error: ext/gtk+/gen_pango.h: No such file or directory ext/sourceview/gen_sourceview.c: In function 'zim_GtkSourceView_set_marker_pixbuf': ext/sourceview/gen_sourceview.c:1532: error: 'gdkpixbuf_ce' undeclared (first use in this function) ext/sourceview/gen_sourceview.c:1532: error: (Each undeclared identifier is reported only once ext/sourceview/gen_sourceview.c:1532: error: for each function it appears in.) ext/sourceview/gen_sourceview.c: In function 'phpg_gtksourceview_register_classes': ext/sourceview/gen_sourceview.c:1950: error: 'gtktextbuffer_ce' undeclared (first use in this function) ext/sourceview/gen_sourceview.c:1956: error: 'gtktexttagtable_ce' undeclared (first use in this function) ext/sourceview/gen_sourceview.c:1958: error: 'gtktextview_ce' undeclared (first use in this function) ext/sourceview/gen_sourceview.c:1960: error: 'gtktextmark_ce' undeclared (first use in this function) make: *** [ext/sourceview/gen_sourceview.lo] Error 1 but with ./configure --with-sourceview it works fine