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
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 :)