PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP komplierungsfehler



Radium2k
15.11.02, 12:44
wenn ich mein PHP kompilieren will kommt immer dieser fehler unten und ich hab kein plan warum.
zu 1 : Perl ist installiert
zu 2 : Apache wurde mit --enable-module=so komiliert
zu 3: apxs ist in diesem pfad



charly:~/downloads/php-4.2.3 # ./configure --with-mysql --with-apxs=/www/bin/apxs
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... (cached) none needed
checking whether compiler supports -R... (cached) no
checking whether compiler supports -Wl,-rpath,... (cached) yes
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking for mawk... (cached) gawk
checking for bison... (cached) bison -y
checking bison version... 1.35 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS. Possible reasons:

1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /www/bin/apxs follows
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting

genever
31.12.02, 09:41
hi,

ich hab genau den selben fehler, habe aber auch noch keine antwort gefunden.

wenn ich apxs selber starte bekomme ich die gleiche ausgabe, ich sehe da auch keinen fehler....

Berufspenner
31.12.02, 12:06
Hi@all
--with-apxs=/www/bin/apxsIst das wirklich der Abselute Pfad zur apxs? Check das bitte noch einmal.

Cu