Kompilace PHP

Petr Èech cech na atrey.karlin.mff.cuni.cz
Sobota Prosinec 30 23:22:17 CET 2000


Frantisek Barancik napsal(a):
> Ahoj,
> snazim se zkompilovat PHP 4, ale neprovede mi to ani configure.
> Poradi mi nekdo, co tomu schazi?

prelozil jste uz nekdy nejaky program?

> Diky moc.
> 
> Tohle vypisuje:
> 
> [root na sta php-4.0.2]# ./configure --with-mysql --with-apxs

no a mozna by bylo dobre pouzit nove php 4.0.4

> 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
> checking for byacc... no
> configure: warning: You will need bison if you want to regenerate the PHP
> parsers.

tak tady si to treba rika o bison

> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable cc found in $PATH

ze by vam chybelo gcc? No a kdyz uz budete u toho, tak jeste neco jako
mysql-dev (libmysqlclient10-dev) a apache-dev (kvuli apxs)

				Petr Cech


Další informace o konferenci Linux