PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit configure...


Escorte
16.05.01, 10:23
Hallo zusammen, ich versuche hier PHP mit MySQL-Unterstützung zu realisieren.
Ich mache sowas zum ersten Mal, also nicht schimpfen wenn was nicht stimmt.

Vorab ein paar Daten:
Distri: RH6.2
Sources:
php-4.0.4pl1
mysql-3.23.33
apache_1.3.17

Nach folgendem Aufruf geschieht folgendes:

./configure --with-mysql --with-apache=../apache_1.3.17 --enable-track-vars

<BLOCKQUOTE><font size="1" face="Arial,Helvetica,Geneva">Zitat:</font><HR>
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -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... missing
Updated php_version.h
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for cc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether cc understands -c and -o together... yes
checking whether ln -s works... yes
checking for flex... no
checking for lex... no
./configure: flex: command not found
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
[/quote]

Klingt nicht sehr gesund. Wer kann mir was dazu sagen?

Noch was: Bin der Anleitung unter http://www.php.net/manual/de/install-unix.php gefolgt...

MfG,
ESC

[ 16. Mai 2001: Beitrag editiert von: Escorte ]

micha
16.05.01, 12:33
Hallole,

Bispn oder Yacc fehlen zwar:
----------------------------------------
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
-----------------------------------------
Der Grund warum Configure aufgegeben hat, war aber wegen Flex: http://www.rpmfind.net/linux/RPM/redhat/6.2/i386////flex-2.5.4a-9.i386.html

Gruß micha

christophwth
16.05.01, 23:03
Hi

genau die gleiche fehlermeldung hatte ich
beim komplieren des kernel 2.4.4 auch.
es fehlten die packete yacc oder bison
bei suse liegt es in der serie d = devellop
bei redhat weiss ich es nicht aber bei rpm.org  http://www.rpmfind.net/linux/rpm2html/search.php?query=bison
findest du auch die packete für die version 6.2


gruss
christoph