Kompilace PHP

Jan Klepal jan.klepal na wdf.cz
Sobota Prosinec 30 23:21:51 CET 2000


DD,

Frantisek Barancik wrote:

> Ahoj,
> snazim se zkompilovat PHP 4, ale neprovede mi to ani configure.
> Poradi mi nekdo, co tomu schazi?
> Diky moc.
>
> Tohle vypisuje:
>
> [root na sta php-4.0.2]# ./configure --with-mysql --with-apxs
> loading 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... 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

bison

>
> checking for byacc... no

byacc

>
> configure: warning: You will need bison if you want to regenerate the PHP
> parsers.
> checking for gcc... no

gcc

>
> checking for cc... no

cc

>
> configure: error: no acceptable cc found in $PATH
>

Co mate za system? Nejspis to bude RedHat, takze:
z instalacniho CD (mount /mnt/cdrom) si nainstalujte tyto RPMka (rpm -i):
bison
egcs
pravdepodobne Vam to zarve ze nemate nainstalovane nejake knihovny,
nepropadejte panice a nainstalujte si je :o)

Jan Klepal




Další informace o konferenci Linux