php neukompilieren - gdlib

Apache, Lighttpd, nginx, Cherokee
Post Reply
jojo8897
Posts: 79
Joined: 2004-01-19 14:08
 

php neukompilieren - gdlib

Post by jojo8897 »

ich versuche das nach folgender Anleitung:

http://www.typo3server.com/fileadmin/do ... german.pdf

ich hänge jetzt bei Step 29
kann mir da jemand weiterhelfen
DANKE
jojo
9 PHP4
PHP4 ist zwar schon installiert, es muss aber neu übersetzt werden, da die bei SuSE verwendete GDLib kein
GIF unterstützt. Da die GDLib statisch in PHP gelinkt ist, ist es nicht möglich die Lib durch kopieren einzubin−
den. Eine Erweiterung von PHP ist nur durch Neukompilierung möglich.
PHP benötigt eine MySQL Library. Bei der Library libmysqlclient.so scheint SuSE einen Link vergessen zu ha−
ben. Den Link manuell anlegen:
#
#
28 Step

cd /usr/lib
ln −s libmysqlclient.so.10 libmysqlclient.so

29 Step
Sourcen auspacken:
#
#
cd /usr/src/packages
rpm −bp SPECS/mod_php4.spec
also ich hab jetzt mal die sourcen von dem 4.2.2 was ich auch habe genommen, ist glaube besser.

wenn ich jetzt nach anleitung folgendes eingebe:

Code: Select all

 
 ./configure --bindir=/usr/bin --datadir=/usr/share/php --enable.discard.path --enable.force.cgi.redirect --enable.ftp --enable.magic.quotes --enable.sockets --enable.sysvsem --enable.sysvshm --enable.track.vars=yes --enable.trans.sid --enable.versioning --enable.wddx --enable.yp --with.apxs=/usr/sbin/apxs --with.config.file.path=/etc --with.exec.dir=/usr/local/typo3sh/bin --with.gd=/usr/local/typo3sh --with.gettext --with.jpeg.dir --with.mysql=/usr --with.png.dir --with.tiff.dir --with.ttf=/usr/local/typo3sh --with.xml --with.zlib=yes --enable.gd.native.ttf 

erhalte ich folgende fehlermeldung

Code: Select all

 
configure: error: --enable.discard.path: invalid option; use --help to show usage 
was kann ich dagenen tun :?
DANKE jojo
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: php neukompilieren - gdlib

Post by Joe User »

Code: Select all

./configure --help
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply