Der Versuch, PHP4 mit
./configure --with-oracle=/home/oracle --with-apxs
zu konfigurieren, wird leider erfolglos abgebrochen. Habe ich vergessen, ein
notwendiges Packet zu installieren??
<screen output>
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for bison... no
checking for byacc... no
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... no
checking for lex... no
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
Customer Service schrieb am 28.06.2000 um 22:01:46 +0200: Hallo Customer,
Der Versuch, PHP4 mit
./configure --with-oracle=/home/oracle --with-apxs
zu konfigurieren, wird leider erfolglos abgebrochen. Habe ich vergessen, ein notwendiges Packet zu installieren??
[...]
checking for flex... no checking for lex... no
das fehlt Dir. Installiere das paket "flex" nach. Bis denne, Michael -- Stop in the name of all that which does not suck. (Butthead) --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Nach der Installation von flex funktioniert ./configure deutlich besser, aber jetzt bereitet beim Ausführen von make die gd Schwierigkeiten. Wenn make in die Directory php-4.0.0/ext/gd steigt, werden einige Dateien nicht gefunden, z.b. gd.h, gdfontt.h etc. Und jetzt das merkwürdige: Wenn ich ./configure --with-gd=/usr/lib eingebe, wird configure mit dem Statement abgebrochen: checking whether to include GD support... configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib dabei steht libgd.a +r in /usr/lib drinnen! Welcher Zauberspruch fehlt mir noch?? Andreas
-----Messaggio originale----- Da: Michael Schulz [mailto:micha28@gmx.de] Inviato: mercoledì 28 giugno 2000 22.19 A: suse-linux@suse.de Oggetto: Re: Probleme mit PHP4
Customer Service schrieb am 28.06.2000 um 22:01:46 +0200:
Hallo Customer,
Der Versuch, PHP4 mit
./configure --with-oracle=/home/oracle --with-apxs
zu konfigurieren, wird leider erfolglos abgebrochen. Habe ich vergessen, ein notwendiges Packet zu installieren??
[...]
checking for flex... no checking for lex... no
das fehlt Dir. Installiere das paket "flex" nach. Bis denne,
Michael
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Am Wed, 28 Jun 2000, schrieb Andreas Keller:
Nach der Installation von flex funktioniert ./configure deutlich besser, aber jetzt bereitet beim Ausführen von make die gd Schwierigkeiten. Wenn make in die Directory php-4.0.0/ext/gd steigt, werden einige Dateien nicht gefunden, z.b. gd.h, gdfontt.h etc.
Und jetzt das merkwürdige:
Wenn ich
./configure --with-gd=/usr/lib
eingebe, wird configure mit dem Statement abgebrochen:
checking whether to include GD support... configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib
dabei steht libgd.a +r in /usr/lib drinnen! Schmeiss das rpm raus und besorg dir von freshmeat.net die aktuelleste gd (muesste 1.8.3 sein) Uebersetz das ganze und gibt configure dann das mit dem Dir mit wo Du die neue hin hast wenn er sie nicht automatisch findet. (Syntax siehe ./configure --help, ich hab leider nie die Sourcen zur Hand wenn einer nach fragt :(( )
Cu, Sven BTW: Ich wurd heute auf dem LinuxTag mehrfach auf Installprobleme von Apache+php unter WINTENDO angesprochen.. Linuxtag?!? --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Danke Sven! Nach dem Ersetzen von gd aus der SuSE 6.4 mit der 1.8.3er arbeitet make problemlos bis zur ext/standard directory. Dann bricht make mit der Fehlermeldung ab: ... pack.c: In function `php_if_packŽ: pack.c:367: In function `inŽ undeclared (first use in this function) pack.c:367: (Each undecleared identifier is reported only once pack.c:367: for each function it appears in.) pack.c:367: `mapŽ undeclared (first use in this function) make[3]: *** [pack.lo] Error 1 make[3] Leaving directory `/user/src/packages/SOURCES/php-4.0.0/ext/standardŽ make[2]: *** [all-recursive] Error 1 ... Bin für jeden Tip dankbar, um PHP4 zum Laufen zu bringen...
Schmeiss das rpm raus und besorg dir von freshmeat.net die aktuelleste gd (muesste 1.8.3 sein) Uebersetz das ganze und gibt configure dann das mit dem Dir mit wo Du die neue hin hast wenn er sie nicht automatisch findet. (Syntax siehe ./configure --help, ich hab leider nie die Sourcen zur Hand wenn einer nach fragt :(( )
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
On Wed, 28 Jun 2000, Customer Service wrote: Hallo! Dieser Fehler ist auch bei mir aufgetreten. Ich habe das Paket flex nachinstalliert. Danach lief die Installation problemlos! Gruss Stephan Gringard
Der Versuch, PHP4 mit
./configure --with-oracle=/home/oracle --with-apxs
zu konfigurieren, wird leider erfolglos abgebrochen. Habe ich vergessen, ein notwendiges Packet zu installieren??
<screen output> loading cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i586-pc-linux-gnu checking for bison... no checking for byacc... no checking for gcc... 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... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... no checking for lex... no checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
configure:1215: checking for a BSD compatible install configure:1268: checking whether build environment is sane configure:1325: checking whether make sets ${MAKE} configure:1371: checking for working aclocal configure:1384: checking for working autoconf configure:1397: checking for working automake configure:1410: checking for working autoheader configure:1423: checking for working makeinfo configure:1453: checking whether to enable maintainer-specific portions of Makefiles configure:1482: checking host system type configure:1510: checking for bison configure:1510: checking for byacc configure:1557: checking for gcc configure:1670: checking whether the C compiler (gcc ) works configure:1686: gcc -o conftest conftest.c 1>&5 configure:1712: checking whether the C compiler (gcc ) is a cross-compiler configure:1717: checking whether we are using GNU C configure:1726: gcc -E conftest.c configure:1745: checking whether gcc accepts -g configure:1777: checking how to run the C preprocessor configure:1798: gcc -E conftest.c >/dev/null 2>conftest.out configure:1857: checking for AIX configure:1885: checking for gcc option to accept ANSI C configure:1938: gcc -c -g -O2 conftest.c 1>&5 configure:1965: checking for ranlib configure:1994: checking whether gcc and cc understand -c and -o together configure:2009: gcc -c conftest.c -o conftest.o 1>&5 configure:2010: gcc -c conftest.c -o conftest.o 1>&5 configure:2015: cc -c conftest.c 1>&5 configure:2017: cc -c conftest.c -o conftest.o 1>&5 configure:2018: cc -c conftest.c -o conftest.o 1>&5 configure:2045: checking whether ln -s works configure:2072: checking for flex configure:2072: checking for lex configure:2105: checking for flex configure:2139: checking for yywrap in -ll configure:2158: gcc -o conftest -g -O2 conftest.c -ll 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -ll collect2: ld returned 1 exit status configure: failed program was: #line 2147 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char yywrap();
int main() { yywrap() ; return 0; } configure:2181: checking lex output file root
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (4)
-
andreas@comvir.it
-
hoexter@orgaprog.de
-
micha28@gmx.de
-
stephan@hera.osk.uni-bielefeld.de