Vai al contenuto

Lib GD Con php


_k8_

Messaggi raccomandati

Salve a tutti,

ho installato le gd con i port

il problema ora è il seguente:

php 5.2.4 non è configurato per il supporto alle librerie gd, quindi anche avendole installate e abilitate nel php.ini , non vengono riconosciute.

Come risolvere? :ghghgh:

Ciao a tutti e grazie anticipatamente per le risposte.

Link al commento
Condividi su altri siti

Ricompilando da 0 php? :/

O dai port?

Riscontro i seguenti errori:

sh-3.2# port install php5 
--->  Configuring php5
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.5" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info --with-config-file-path=/opt/local/etc --enable-calendar --with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with-zlib=/opt/local --with-bz2=/opt/local --without-mysql --without-sqlite --without-pdo-sqlite --with-libxml-dir=/opt/local --with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with-xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans-sid --enable-mbstring --enable-dbx --enable-dba --with-openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local --with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/local --with-gd --with-jpeg-dir=/opt/local --with-png-dir=/opt/local --enable-gd-native-ttf --without-pear --with-freetype-dir=/opt/local --with-apxs=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr " returned error 1
Command output: checking for icc... no
checking whether /usr/bin/gcc-4.0 and cc understand -c and -o together... yes
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for AIX... no
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... 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.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 2.3 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for flex version... invalid
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4  (found: 2.5.33)
checking whether /usr/bin/gcc-4.0 supports -no-cpp-precomp... yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... 
checking for pthreads_lib... 

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2.  Please use the appropiate switch --with-apxs2

Error: Status 1 encountered during processing.

:confused:

Saluti

Link al commento
Condividi su altri siti

Archiviato

Questa discussione è archiviata e chiusa a future risposte.

×
×
  • Crea Nuovo...