Can you install flex and bison?
On Sat, 20 Jan 2001, Trunkz Santai wrote:
> Hi Im trying to isntall PHP4 on my Raq 2 but Im not having much luck. I was
> wondering if someone here could assist me.
>
> I uploaded apache and configured it and it worked fine. Its running in
> /usr/local/apache-x.x.x
>
> I uploaded the php zipped binary by ftp to /home/sites/home
> then
> mv php-4.0.4.tar.gz /usr/local
> then I unpacked it
>
>
> gunzip php-4.0.4.tar.gz
> then
> tar vxf php-4.0.4.tar
>
> It unpacked fine. I changed firectories
>
> cd php-4.0.4
>
> I did the configure thing
>
> ./configure --with-mysql --with-apache=../apache_1.3.14 --enable-track-vars
>
>
> I pressed enter and it said loading config.cache and a long list of things
> came up. Then it ended and this was what I got.
>
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking host system type... mipsel-unknown-linux-gnu
> checking for gawk... gawk
> checking for bison... bison -y
> checking bison version... 1.25 (ok)
> 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
> ./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
> [root php-4.0.4]#
>
>
> If anyone can help me i would greatly appreciate it. Thanks.
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]