faltan dependecias.

seria bueno que instales desde los repositorios, ya sea via http o por CDs.
si estas trabajando en una distro basada en DEBs, puedes conseguirte el
Ubuntu 6.10 Server Edition; trabajando con distros basadas en RPM, con tener
los CDs valdria.

Si esta instalando desde los fuentes, los repositorios son útiles para
los paquetes de desarrollo y librerias, el paquete principal de php
y/o apache se instala por código fuentes,  ademas los rpms tambien
tienen mirrors en muchas distribuciones, no solo es potestad de ubuntu
y/o debian.


Para complementar este tema y aportar algo, para compilar PHP en un
principio las librerias que compilas en la primera compilada se
enlazan estáticamente, con lo que puedes al inicio enlazar solo las
librerías, las fundamentales, luego puedes ir agregando
extensiones adicionales con phpize.

Para una compilacion minima necesitas tener instalado los paquetes
gcc, flex, bison, automake, autoconf, zlib-dev

Conforme compilas y ves los errores haz una consulta rapida en google
para ver que dependencia te puede estar faltando. Hace un tiempo hice
una minidistribucion compilada de LAMP te paso el script para que
tengas una idea de los guiones de compilacion







2007/4/18, cesar luis molina <[EMAIL PROTECTED]>:


2007/4/18, Roberto Celis <[EMAIL PROTECTED]>:
> Estimados amigos, una consulta, estoy tratando de instalar el PHP

en que distro y que version

> y me sale
> este error, ayudas por favor...
>
> Saludos cordiales
>
> [EMAIL PROTECTED] php-5.2.1]# ./configure --prefix=/usr/local/php5
> --with-mysql=/usr/local/mysql \
> > make
> loading cache ./config.cache
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for egrep... grep -E
> checking for a sed that does not truncate output... /bin/sed
> checking host system type... Invalid configuration `make': machine `make'
> not recognized
>
> checking target system type... Invalid configuration `make': machine
`make'
> not recognized
>
> 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 icc... no
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking for AIX... no
> checking whether ln -s works... yes
> checking if compiler supports -R... no
> checking if compiler supports -Wl,-rpath,... yes
> checking for re2c... no
> configure: warning: You will need re2c 0.9.11 or later if you want to
> regenerate PHP parsers.
> checking for gawk... gawk
> checking for bison... no
> checking for byacc... no
> checking for bison version... invalid
> configure: warning: bison versions supported for regeneration of the
> Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
> checking for flex... lex
> checking for yywrap in -ll... no
> checking lex output file root... ./configure: line 3375: lex: command not
> found
> configure: error: cannot find output from lex; giving up

faltan dependecias.

seria bueno que instales desde los repositorios, ya sea via http o por CDs.
si estas trabajando en una distro basada en DEBs, puedes conseguirte el
Ubuntu 6.10 Server Edition; trabajando con distros basadas en RPM, con tener
los CDs valdria.



> _______________________________________________
> Lista de correo Linux-plug
> Temática: Discusión general sobre Linux
> Peruvian Linux User Group (http://www.linux.org.pe)
>
> Participa suscribiéndote y escribiendo a:  [email protected]
> Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
>
http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug
>
> IMPORTANTE: Reglas y recomendaciones
> http://www.linux.org.pe/listas/reglas.php
> http://www.linux.org.pe/listas/comportamiento.php
> http://www.linux.org.pe/listas/recomendaciones.php
>



--
Cesar Luis M.
dantrix2006(arroba)gmail.com
_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe)

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php



--
"No leas meneame"

Clever Flores
Email:   [EMAIL PROTECTED]
Blog:     http://cleverflores.blogspot.com

Attachment: lamp.sh
Description: Bourne shell script

Attachment: php.sh
Description: Bourne shell script

_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe)

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php

Responder a