Building from Source: generator not generating gen_*

From: Date: Fri, 15 Sep 2006 23:59:35 +0000
Subject: Building from Source: generator not generating gen_*
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3422@lists.php.net to get a copy of this message
I've tried to build from the latest cvs source several times over the past few months on my FreeBSD system. I've managed to do a successful buildconf and configure, but make always exits with an error. The compiler complains that it can't find gen_atk.c. After doing a little digging, I found out that all the gen_* files in the ext/gtk+ directory are not being created. I have very little experience with the make utility on UNIX systems, so I'm hoping someone may be able to shed some light on this. Below is the contents of config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1668: checking for Cygwin environment configure:1684: cc -c conftest.c 1>&5 configure: In function `main': configure:1680: error: `__CYGWIN32__' undeclared (first use in this function) configure:1680: error: (Each undeclared identifier is reported only once configure:1680: error: for each function it appears in.) configure: failed program was: #line 1673 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:1701: checking for mingw32 environment configure:1713: cc -c conftest.c 1>&5 configure: In function `main': configure:1709: error: `__MINGW32__' undeclared (first use in this function) configure:1709: error: (Each undeclared identifier is reported only once configure:1709: error: for each function it appears in.) configure: failed program was: #line 1706 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:1730: checking how to run the C preprocessor configure:1751: cc -E conftest.c >/dev/null 2>conftest.out configure:1812: checking for egrep configure:1827: checking for a sed that does not truncate output configure:1928: checking for gcc configure:2041: checking whether the C compiler (gcc ) works
configure:2057: gcc -o conftest    conftest.c  1>&5
configure:2083: checking whether the C compiler (gcc ) is a cross-compiler configure:2088: checking whether we are using GNU C configure:2097: gcc -E conftest.c configure:2116: checking whether gcc accepts -g configure:2149: checking whether gcc and cc understand -c and -o together configure:2164: gcc -c conftest.c -o conftest.o 1>&5 configure:2165: gcc -c conftest.c -o conftest.o 1>&5 configure:2170: cc -c conftest.c 1>&5 configure:2172: cc -c conftest.c -o conftest.o 1>&5 configure:2173: cc -c conftest.c -o conftest.o 1>&5 configure:2211: checking if compiler supports -R configure:2226: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5 configure:2306: checking host system type configure:2327: checking target system type configure:2412: checking for PHP prefix configure:2415: checking for PHP includes configure:2418: checking for PHP extension directory configure:2421: checking for PHP installed headers prefix configure:2469: checking for re2c configure:2497: checking for re2c version configure:2529: checking for gawk configure:2529: checking for nawk configure:2570: checking if nawk is broken configure:2588: checking for PHP-GTK support configure:2638: checking for PHP executable in /usr/local/bin configure:2666: checking for mawk configure:2718: checking whether to include debugging symbols configure:2805: checking for pkg-config configure:2855: checking for GLIB - version >= 2.6.0
configure:2969: gcc -o conftest -g -O2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include     conftest.c -L/usr/local/lib -lgobject-2.0 -lglib-2.0 -liconv    1>&5
configure:3203: checking for pkg-config configure:3251: checking for GTK+ - version >= 2.6.0
configure:3361: gcc -o conftest -g -O2 -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include     conftest.c -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv    1>&5
configure:3616: checking for atk >= 1.9.0 configure:3623: checking ATK_CFLAGS configure:3628: checking ATK_LIBS configure:3834: checking for pango >= 1.8.0 configure:3841: checking PANGO_CFLAGS configure:3846: checking PANGO_LIBS configure:4241: checking for libglade support configure:4329: checking for libglade-2.0 >= 2.4.0 configure:4834: checking for GtkMozEmbed support configure:5427: checking for scintilla support configure:6023: checking for sourceview support configure:7049: checking build system type configure:7078: checking for ld used by gcc configure:7150: checking if the linker (/usr/bin/ld) is GNU ld configure:7170: checking for /usr/bin/ld option to reload object files configure:7195: checking for BSD-compatible nm configure:7241: checking whether ln -s works configure:7262: checking how to recognise dependent libraries configure:7440: checking for object suffix configure:7446: gcc -c -g -O2 conftest.c 1>&5 configure:7466: checking for executable suffix configure:7476: gcc -o conftest -g -O2 conftest.c 1>&5 configure:7666: checking for dlfcn.h configure:7676: cc -E conftest.c >/dev/null 2>conftest.out configure:7707: checking for c++ configure:7739: checking whether the C++ compiler (c++ ) works
configure:7755: c++ -o conftest    conftest.C  1>&5
configure:7781: checking whether the C++ compiler (c++ ) is a cross-compiler configure:7786: checking whether we are using GNU C++ configure:7795: c++ -E conftest.C configure:7814: checking whether c++ accepts -g configure:7851: checking how to run the C++ preprocessor configure:7869: c++ -E conftest.C >/dev/null 2>conftest.out configure:7900: checking the maximum length of command line arguments configure:8001: checking command to parse /usr/bin/nm -B output from gcc object configure:8096: c++ -c -g -O2 conftest.C 1>&5 configure:8099: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' > conftest.nm configure:8150: c++ -o conftest -g -O2 conftest.C conftstm.o 1>&5 configure:8190: checking for objdir configure:8256: checking for ar configure:8323: checking for ranlib configure:8390: checking for strip configure:8727: checking if gcc static flag works configure:8777: checking if gcc supports -fno-rtti -fno-exceptions configure:8794: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c 1>&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:8798: $? = 0 configure:8827: checking for gcc option to produce PIC configure:9038: checking if gcc PIC flag -fPIC works configure:9055: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5 configure:9059: $? = 0 configure:9097: checking if gcc supports -c -o file.o configure:9117: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5 configure:9121: $? = 0 configure:9168: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:10029: checking whether -lc should be explicitly linked in configure:10033: gcc -c -g -O2 conftest.c 1>&5 configure:10046: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep -lc >/dev/null 2>&1 configure:10065: checking dynamic linker characteristics configure:10639: checking how to hardcode library paths into programs configure:10677: checking whether stripping libraries is possible configure:11262: checking if libtool supports shared libraries configure:11266: checking whether to build shared libraries configure:11289: checking whether to build static libraries configure:11958: checking for ld used by c++ configure:12030: checking if the linker (/usr/bin/ld) is GNU ld configure:12096: checking whether the c++ linker (/usr/bin/ld) supports shared libraries configure:12936: c++ -c -g -O2 conftest.cpp 1>&5 configure:13046: checking for c++ option to produce PIC configure:13321: checking if c++ PIC flag -fPIC works configure:13338: c++ -c -g -O2 -fPIC -DPIC conftest.cpp 1>&5 configure:13342: $? = 0 configure:13380: checking if c++ supports -c -o file.o configure:13400: c++ -c -g -O2 -o out/conftest2.o conftest.cpp 1>&5 configure:13404: $? = 0 configure:13451: checking whether the c++ linker (/usr/bin/ld) supports shared libraries configure:13537: checking dynamic linker characteristics configure:14111: checking how to hardcode library paths into programs configure:14149: checking whether stripping libraries is possible Suggestions? Need more info? -Ron T.

« previous php.gtk.dev (#3422) next »