• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

PHP mit GD compilieren

Hi Leute,
ich versuche gerade PHP mit GD zu compilieren aber irgendwie klappt es nicht so wie ich will. Folgende Fehlermeldung bekomme ich:

Code:
./php_configure.sh: line 31: --with-gd=/usr/lib/gd-2.0.33: No such file or directory


und so sieht php_configure.sh aus:

Code:
#!/bin/sh                                                                                                                           
cd php                                                                                                                              
./configure \                                                                                                                       
        '--prefix=/opt/php5' \                                                                                                      
        '--datadir=/opt/php5/share' \                                                                                               
        '--mandir=/opt/php5/man' \                                                                                                  
        '--bindir=/opt/php5/bin' \                                                                                                  
        '--libdir=/opt/php5/share' \                                                                                                
        '--includedir=/opt/php5/include' \                                                                                          
        '--sysconfdir=/etc' \                                                                                                       
        '--with-_lib=lib64' \                                                                                                       
        '--with-config-file-path=/etc' \                                                                                            
        '--with-exec-dir=/opt/php5/libexec' \                                                                                       
        '--disable-debug' \                                                                                                         
        '--enable-inline-optimization' \                                                                                            
        '--enable-memory-limit' \                                                                                                   
        '--enable-magic-quotes' \                                                                                                   
        '--disable-safe-mode' \                                                                                                     
        '--enable-sigchild' \                                                                                                       
        '--disable-ctype' \                                                                                                         
        '--enable-session' \                                                                                                        
        '--enable-cli' \                                                                                                            
        '--without-pear' \                                                                                                          
        '--without-openssl' \                                                                                                       
        '--enable-force-cgi-redirect' \                                                                                             
        '--enable-discard-path' \                                                                                                   
        '--with-oci8=/home/oracle/client' \                                                                                         
        '--with-zlib' \                                                                                                             
        '--with-jpeg-dir=/usr' /                                                                                                    
        '--with-gd=/usr/lib/gd-2.0.33' \                                                                                            
        '--with-mysql=/opt/mysql' \                                                                                                 
        '--with-mysql-sock=/var/lib/mysql/mysql.sock' \                                                                             
        '--with-apxs2=/usr/sbin/apxs2-prefork'

Hat jemand eine Idee woran es liegen könnte?
Gruß und Danke für jede Hilfe!!
 
ANscheinend ein 64bit System:
Code:
--with-_lib=lib64
aber warum ist die GDlib in einem 32bit Verzeichnis?

Existiert /usr/lib/gd-2.0.33 und was ist da drin?

PHP kommt mit einer eigenen GDlib, --with-gd reicht normalerweise aus.
 
Jip, ein 64Bit-System Suse Linux!

Die Variante:

Code:
--with-gd

funktioniert nicht (folgender Fehler):

Code:
./php_configure.sh: line 30: --with-gd: command not found
./php_configure.sh: line 32: --with-mysql=/opt/mysql: No such file or directory

Ja, /usr/lib/gd-2.0.33 existiert und dort sind die Dateien von GD drin:

http://www.boutell.com/gd/

Eine Idee? Danke!
 
Hi, okay stimmt die waren falsch. Ich bekomme aber trotzdem diesen Fehler.

Code:
./php_configure.sh: line 31: --with-gd=/usr/lib64/gd-2.0.33: No such file or directory
[/code]
 
Oben