Php setup wil niet compileren

Pagina: 1
Acties:

  • Sebastiaan|IA2
  • Registratie: Februari 2001
  • Laatst online: 07-09-2025
Ik ben aan het proberen om een webserver te maken. Hiervoor wil ik gebruiken: mysql, modssl, openssl, apache, php en phpmyadmin.

nu is het wel al gelukt om mysql, openssl, modssl en apache te installeren. dit draait ook allemaal al. Toen ik php wilde gaan installeren, kreeg ik deze error:

[log]

server:/usr/src/php-4.0.6 #
server:/usr/src/php-4.0.6 # ./configure --with-apxs=/usr/local/apache/bin/apxs--
with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql-with-
system-regex
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... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
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 gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parser
s.
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... 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
server:/usr/src/php-4.0.6 #
[\log]

Wie weet wat er mis is ? er staat iets van lex, maar wat is dat ?

Voor als het nodig is, ik geef het volgende ./configure :

./configure --with-apache=/usr/src/apache_1.3.9
--with-ssl=/usr/src/openssl-0.9.4
--prefix=/usr/local/apache
--enable-module=most
--enable-shared=max
--disable-rule=WANTHSREGEX

AMD XP2000+, 756MB, GF4 4600, 120GB, 17" TFT + klassieke 8 speed brander. Tevens eigenaar van een IRiver 'The craft' 256 MB mp3 speler :)


  • Apache
  • Registratie: Juli 2000
  • Laatst online: 17-08 14:28

Apache

amateur software devver

flex installeren

If it ain't broken it doesn't have enough features


  • Sebastiaan|IA2
  • Registratie: Februari 2001
  • Laatst online: 07-09-2025
Als ik dan flex probeer te installeren krijg ik de volgende foutmelding:

[log]

server:/home/sebas/flex-2.5.4 # make
cp ./initscan.c scan.c
touch .bootstrap
gcc -c -I. -I. -g -O ccl.c
gcc -c -I. -I. -g -O dfa.c
gcc -c -I. -I. -g -O ecs.c
gcc -c -I. -I. -g -O gen.c
gcc -c -I. -I. -g -O main.c
gcc -c -I. -I. -g -O misc.c
gcc -c -I. -I. -g -O nfa.c
yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127

[/log]

Wie weet wat ik hieraan kan doen ?

AMD XP2000+, 756MB, GF4 4600, 120GB, 17" TFT + klassieke 8 speed brander. Tevens eigenaar van een IRiver 'The craft' 256 MB mp3 speler :)


  • Apache
  • Registratie: Juli 2000
  • Laatst online: 17-08 14:28

Apache

amateur software devver

welke distro?

bij debian kan je het gewoon apt'en 8-)

If it ain't broken it doesn't have enough features


  • Sebastiaan|IA2
  • Registratie: Februari 2001
  • Laatst online: 07-09-2025
Suse 7.0

AMD XP2000+, 756MB, GF4 4600, 120GB, 17" TFT + klassieke 8 speed brander. Tevens eigenaar van een IRiver 'The craft' 256 MB mp3 speler :)