From: Jason L. <JL...@me...> - 2004-02-24 14:33:53
|
Let's see... here's what it looks like the php configure arguments do: --disable-php this effects whether to build the PHP client found in src/clients/php. Since that client doesn't get compiled or installed anyway, this flag currently has no real effect. --with-php-config this switch specifies the location of php-config in case the configure script can't find it on its own. Apparently there is no way to disable building the PHP wrappers. This is a bug. The following steps should let you build without PHP: 1. Edit configure.in. Comment out the line containing cfg_PHP_CFLAGS. I.e. make it like this: # cfg_PHP_CFLAGS 2. Edit src/wrappers/Makefile.am. Remove php from the SUBDIRS = line. I.e. make it like this: SUBDIRS = perl5 3. Rerun ./autogen.sh. Jason >>> c.g...@tu... 2/21/04 6:43:18 AM >>> Hello, trying to compile the cvs version configure stopped. I think I could find most dependecies even xerces in stock suse 9.0. Since I did not want the php module I attempted to disable it. I could get rid of the command not found warning by comenting out all php checks, but the syntax error remained. Christian This is the output: ~/cfg/config4gnu> ./autogen.sh --with-xerces-c-root="/usr" --disable-php --without-php-config Adding libtool. Building macros. Building makefiles. configure.in: installing `./install-sh' configure.in: installing `./mkinstalldirs' configure.in: installing `./missing' Makefile.am: installing `./COPYING' src/clients/cfgconsole/Makefile.am: installing `./depcomp' Building configure. Running configure. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... i686-suse-linux checking host system type... i686-suse-linux checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/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... 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 how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fl32... no checking for af77... no checking for fort77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for lf95... no checking for g95... 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... 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/i586-suse-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-suse-linux/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/i586-suse-linux/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking for Xerces-C++ library... found checking for perl... /usr/bin/perl checking for Perl version >= 5.004... yes checking for Perl include files... -I/usr/lib/perl5/5.8.1/ i586-linux-thread-multi/CORE checking for PHP include files... ./configure: line 1: no: command not found checking for PHP extension directory... ./configure: line 1: no: command not found configure: WARNING: Cannot write to ../configure: line 18508: syntax error near unexpected token `LIBCFGDOM,' ../configure: line 18508: `PKG_CHECK_MODULES(LIBCFGDOM, libxml-2.0 glib-2.0 gobject-2.0)' ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Config4gnu-developer mailing list Con...@li... https://lists.sourceforge.net/lists/listinfo/config4gnu-developer |