Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/02/2010, 16:08
AloneInTheAss
 
Fecha de Ingreso: mayo-2008
Mensajes: 39
Antigüedad: 16 años
Puntos: 1
Compilar PHP independiente

Hola!


Llevo un buen rato intentado compilar PHP sobre Apache en Debian para conseguir hacer un paquete cómo XAMPP (todo dentro de /opt/lampp y ya esta), pero nose que demonios no hago bien que me da un error de librerias... la cosa esque lo he compilado con muchas opciones... ya que la idea es hacerlo para el desarrollo de software y que sea portable.. osea.. que si ahora lo instalo en un CentOS o OpenSUSE me funcione igual.
Realmente.. nose por donde tirar ya que no hay mucha gente con el mismo problema.. he probado cientos de cosas.. he vuelto a compilar como unas 15 veces, quitando opciones y empezando desde cero.

El error que me muestra bash es el siguiente:
webserver: Syntax error on line 119 of /opt/soft/etc/webserver.conf: Cannot load /opt/soft/modules/libphp5.so into server: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /opt/soft/lib/libjpeg.so.8)
Pero la libreria si existe.. y tambien libtool... realmente nose lo que hago mal... estoy perdido.

¿alquien puede decirme como compilarlo como portable (cómo XAMPP)?
¿algunos consejos?

Aqui os dejo la compilacion:
./configure --prefix=/opt/soft --exec-prefix=/opt/soft --with-apxs2=/opt/soft/bin/apxs --with-config-file-path=/opt/soft/etc/php.ini -enable-inline-optimization --enable-shared=yes --disable-debug --enable-bcmath --enable-sqlite-utf8 --enable-calendar --with-sqlite=shared --with-pdo-sqlite --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --enable-magic-quotes --enable-memory-limit --enable-shmop --disable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-wddx --enable-yp --with-gdbm=/opt/soft --with-jpeg-dir=/opt/soft --with-png-dir=/opt/soft --with-freetype-dir=/opt/soft --without-xpm --with-zlib=yes --with-zlib-dir=/opt/soft --with-openssl=/opt/soft --with-expat-dir=/opt/soft --enable-xslt=/opt/soft --with-xsl=/opt/soft --with-dom=/opt/soft --with-ncurses=/opt/soft --with-gd --with-gettext=/opt/soft --with-mcrypt=/opt/soft --with-mhash=/opt/soft --enable-sockets --enable-mbstring=all --with-curl=/opt/soft --enable-mbregex --enable-zend-multibyte --enable-exif --with-bz2=/opt/soft --with-libxml-dir=/opt/soft --enable-soap --enable-pcntl --with-mime-magic --with-pgsql=/opt/soft/share/pgsql --with-iconv --enable-dio --enable-intl --with-icu-dir=/opt/soft --enable-fileinfo --enable-phar --with-libpng-dir=/opt/soft

Mil gracias de antemano!