Compilar php
| From: | carlos cardenas | Date: | Mon, 03 Nov 2003 22:07:57 +0000 |
| Subject: | Compilar php | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-42204@lists.php.net to get a copy of this message | ||
Holas :P
Estaba queriendo instlar el php-4.3.0 :P, copie mi configure anterior el
de mi PHP Version 4.2.2. La razon por la que quiero compilarlo es que
quieroe que tenga la biblioteca Ming y tambien la de PDF ya que el otro
php Version 4.2.2, que trae por defecto mi REd hat 9.0 pues no lo tiene
:( soportado :(.
La idea tmabien es que las versiones como otras php-4.3.3 necesitan otro
apache el cual no tengo y prefiero todavia no instalarle ya que estoy
usando el server .
Pero creo que casi al finalizar al instalación me pasa un problema :( ,
aparte de los muchos que tuve:
checking for PDFlib support... yes
checking for the location of libtiff... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_create_info_struct in -lpng... no
configure: error: libpng not found!
Bueno y el configure que tengo esta asi:
./configure --host=i386-redhat-linux --build=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --cache-file=../config.cache
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath
--enable-inline-optimization --with-sybase --with-sybase_ct
--with-mime_magic --with-sysvmsg --with-mbstring --with-fdf --with-notes
--with-session --with-ingres_ii --with-overload --with-filepro
--with-dba --with-dbase --with-standard --with-db3 --with-pcntl
--with-hyperwave --with-pcre --with-ircg-config
--with-java=/opt/j2sdk_nb/j2sdk1.4.2 --with-xmlrpc --with-dotnet
--with-recode --with-domxml --with-skeleton --enable-posix --with-xslt
--with-yaz --with-ctype --with-readline --with-qtdom
--with-pdflib=/usr/lib --with-ming --with-com --with-zip --with-msql
--with-bz2 --with-curl --with-dom=/usr --with-exec-dir=/usr/bin
--with-freetype-dir=/usr --with-png-dir=/usr --with-gd
--enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-gmp
--with-iconv --with-jpeg-dir=/usr/lib --with-openssl --with-pspell
--with-regex=system --with-xml --with-expat-dir=/usr
--with-tiff-dir=/usr/lib --with-zlib-dir=/usr/lib --with-layout=GNU
--enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes
--enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-discard-path --enable-track-vars --enable-trans-sid --enable-yp
--enable-wddx --without-oci8 --with-pear=/usr/share/pear
--with-imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos
--with-ldap=shared --with-mysql=shared --with-pgsql=shared
--with-snmp=shared --with-snmp=shared --enable-ucd-snmp-hack
--with-unixODBC=shared --enable-memory-limit --enable-bcmath
--enable-shmop --enable-versioning --enable-calendar --enable-dbx
--enable-dio --with-apxs2=/usr/sbin/apxs
Donde he ubicado, pienso, adecuadamente las librerias donde estan libpng
y libjpeg . Sin embargo aun sigo teniendo problemas otro error que me
sale al cambiar algunas cosas del configure :) , si esque hay la
posibilidad de que se salte esa opcion , es que me dice que el PDFlib no
puede ser utilizaro si es que no tiene libtiff , libpng y otras lib de
archivos graficos ...
Y ahe probado todo al cambiar las
--with-png-dir=/usr a --with-png-dir=/usr/lib y tengo errores parecidos.
Alguien me puede sugerir algo :(..
Saludos
--
| .---. | http://www.unimauro.pe.kz |
| |º_º| | Carlo Mauro Cárdenas Fernández |
| |:_/| | irc.freenode.net: apesol tdlp-es |
| // \\ | irc.gnome.org: gnome-hispano |
|(| |) | telf: 051-001-4582877 |
|/'\_ _/'\ | Jr.Las Cidras 664, Lima Peru |
|\__) (__/ |Lo hacemos por diversion."Linus T"|
|__________|__________________________________|