From: <php...@li...> - 2006-01-06 10:34:54
|
Hi PHP / Java bridgers When I try to configure version 3.0.4 I got the output below, with the error at the bottom. I have installed automake 1.6.3 as /usr/bin/automake-1.6 and I have tried to change "automake" to automake-1.6 in the configure.gnu file, but it didn't change anything. Any clues? //CC debian6:~/src/php-java-bridge-3.0.4# phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 debian6:~/src/php-java-bridge-3.0.4# ./configure --with-java=3D/usr/lib/j2s= e/1.4/ checking for egrep... 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 ANSI C... 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 checking for PHP extension directory... /usr/lib/php5/20050922 checking for PHP installed headers prefix... /usr/include/php5 checking for re2c... no configure: WARNING: You will need re2c 0.98 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for java support... yes, shared checking for java servlet support... yes, shared checking for java script support... yes, shared checking for java server faces support... yes, shared checking for sys/param.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for assert.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sys/ioctl.h... yes checking for sys/poll.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/un.h... yes checking for sys/wait.h... yes checking for unistd.h... yes checking whether AF_LOCAL is declared... yes checking whether PF_LOCAL is declared... yes checking for socket in -lsocket... no checking for sem_init in -lrt... yes checking for pthreads_cflags... checking for pthreads_lib... checking for broken stdio buffering... no checking for broken gcc installation... no checking for abstract namespace... yes checking for struct ucred... yes 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 recognise 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... (cached) yes checking for sys/stat.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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... (cached) yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking the maximum length of command line arguments... 32768 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 static flag works... yes 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 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 creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld) supports shared libraries... = yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... = yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes configure: creating ./config.status config.status: creating config.h configure: configuring in server configure: running /bin/sh './configure.gnu' --prefix=3D/usr=20 '--with-java=3D/usr/lib/j2se/1.4/' --cache-file=3D/dev/null --srcdir=3D. aclocal: configure.in: 20: macro `AM_PROG_GCJ' not found in library aclocal: configure.in: 40: macro `AM_CPPFLAGS' not found in library aclocal: configure.in: 42: macro `AM_CPPFLAGS' not found in library autoheader: error: AC_CONFIG_HEADERS not found in configure.in configure.in:15: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:16: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:20: error: possibly undefined macro: AM_PROG_GCJ configure.in:21: error: possibly undefined macro: AC_PROG_LIBTOOL configure.in:40: error: possibly undefined macro: AM_CPPFLAGS configure.in:132: error: possibly undefined macro: AM_CONDITIONAL You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.= m4'. automake: configure.in: `PACKAGE' not defined in `configure.in' automake: configure.in: `VERSION' not defined in `configure.in' automake: configure.in: installing `./install-sh' automake: configure.in: installing `./mkinstalldirs' automake: configure.in: installing `./missing' Makefile.am:8: COND_GCJ does not appear in AM_CONDITIONAL configure.in: 16: required file `./config.h.in' not found automake: configure.in: AC_ARG_PROGRAM must be used in `configure.in' automake: Makefile.am: not supported: source file `php/java/bridge/ConstructorCache.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/DynamicClassLoader.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/DynamicJavaBridgeClassLoader.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/GlobalRef.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/IDocHandler.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Invocable.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/ISession.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/ISocketFactory.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/JavaBridgeClassLoader.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/JavaBridge.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/JavaBridgeRunner.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/LocalServerSocket.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/LocalSocketInputStream.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/LocalSocket.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/LocalSocketOutputStream.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/MethodCache.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/NotImplementedException.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Options.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Parser.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/ParserString.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/ParserTag.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/PhpMap.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/PhpProcedure.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/PhpProcedureProxy.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Request.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Response.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/SessionFactory.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Session.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/TCPServerSocket.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/ThreadPool.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/Util.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/ContextFactory.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/Context.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/ContextRunner.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/ContextServer.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/HttpRequest.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/HttpResponse.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/HttpServer.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/IContextServer.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/PipeContextServer.java' is in subdirectory automake: Makefile.am: not supported: source file `php/java/bridge/http/SocketContextServer.java' is in subdirectory Makefile.am: RunJavaBridge_OBJECTS should not be defined Makefile.am: variable `LDADD' not defined Makefile.am:41: invalid variable `dist_data_DATA' Makefile.am:42: `EXTRA_DATA' should not be defined automake: configure.in: AC_PROG_INSTALL must be used in `configure.in' ./configure: line 1310: syntax error near unexpected token `1.6.3' ./configure: line 1310: `AM_INIT_AUTOMAKE(1.6.3)' configure: error: /bin/sh './configure.gnu' failed for server debian6:~/src/php-java-bridge-3.0.4# |