php5 installtionsprobleme

Apache, Lighttpd, nginx, Cherokee
Post Reply
oli1
Posts: 12
Joined: 2004-05-05 21:31
 

php5 installtionsprobleme

Post by oli1 »

Hallo zusammen!

hmm... ich habe so php5 configuriert:
- ./configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'

'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'

'--localstatedir=/var/lib' '--without-readline' '--with-apxs2=/usr/sbin/apxs'

'--with-db3=/usr' '--with-mcrypt=/usr' '--with-mhash=/usr' '--with-mcal=/usr'

'--without-pgsql' '--with-xpm-dir=/usr/X11R6' '--without-gd' '--with-png'

'--with-png-dir=/usr' '--with-jpeg' '--with-jpeg-dir=/usr' '--enable-exif'

'--with-tiff' '--with-tiff-dir=/usr' '--with-mysql=/usr'

'--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-freetype-dir=/usr'

'--with-ttf=/usr' '--with-t1lib=/usr' '--with-gettext' '--with-pspell=/usr'

'--with-openssl=/usr' '--with-imap=/usr' '--with-ldap=/usr' '--without-kerberos'

'--with-pear=/usr/lib/pear' '--with-pam' '--disable-memory-limit'

'--disable-ipv6' '--without-curl' '--with-imap-ssl' '--with-zlib'

'--with-zlib-dir=/usr' '--with-sablot=/usr' '--with-xslt-sablot' '--with-xmlrpc'

'--enable-wddx' '--with-xml' '--enable-mbstring=all' '--enable-mbregex'

'--with-bz2=/usr' '--enable-bcmath' '--enable-calendar' '--enable-filepro'

'--enable-ftp' '--with-mime-magic' '--enable-sockets' '--enable-sysvsem'

'--enable-sysvshm' '--enable-sysvipc' '--with-iconv' '--enable-shmop'

'--enable-dio' '--enable-inline-optimization' '--enable-track-vars'

'--enable-trans-sid' '--enable-versioning'

'--with-config-file-ath=/etc/php/apache2-php5'
das problem, wenn ich mit "make" kompiliere bekomme ich diese Fehlermaledung und weiss nicht mehr weiter....
O2 -prefer-pic -c /usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c -o ext/xmlrpc/libxmlrpc/xml_element.lo
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:113:19: expat.h: No such file or directory
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c: In function `xml_elem_free_non_recurse':
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:192: warning: use of cast expressions as lvalues is deprecated
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c: In function `xml_elem_parse_buf':
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:678: error: `XML_Parser' undeclared (first use in this function)
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:678: error: (Each undeclared identifier is reported only once
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:678: error: for each function it appears in.)
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:678: error: parse error before "parser"
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:681: error: `parser' undeclared (first use in this function)
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:700: error: variable `err_code' has initializer but incomplete type
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:700: error: storage size of `err_code' isn't known
/usr/local/src/php-5.0.1/ext/xmlrpc/libxmlrpc/xml_element.c:705: warning: initialization makes pointer from integer without a cast
make: *** [ext/xmlrpc/libxmlrpc/xml_element.lo] Error 1
hatte jemand auch solche ähnliche Probleme und eine Lösung dafür??

thx
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: php5 installtionsprobleme

Post by stefanpropehan »

Hast du XMLRPC-EPI (http://xmlrpc-epi.sourceforge.net/) installiert? Dann gebe mal bei der Option --with-xmlrpc="/pfad zum verzeichnis wo xmlrpc-epi installiert ist" an....

Wenn du xmlrpc nicht brauchst, einfach die Option raus nehmen.

Stefan
oli1
Posts: 12
Joined: 2004-05-05 21:31
 

Re: php5 installtionsprobleme

Post by oli1 »

php4 könnte ich ohne Probleme mit "--with-xmlrpc" installieren.

gibst für XMLRPC-EPI eine passendes Paket für Debain, die man bequem mit apt-get install installieren kann??
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: php5 installtionsprobleme

Post by superuser1 »

Hi...

Code: Select all

apt-cache search xmlrpc
libxmlrpc-c0 - A lightweight RPC library based on XML and HTTP for C and C++
libxmlrpc-c0-dev - A lightweight RPC library based on XML and HTTP for C and C++
:roll:
Last edited by superuser1 on 2004-08-31 14:36, edited 2 times in total.
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: php5 installtionsprobleme

Post by stefanpropehan »

Also es muß nicht unbedingt sein das diese fehtl... schaue mal ob du eine xmlrpc.so findest (/usr/lib/? /usr/local/lib/?)

Es kann auch sein das dir das Packet libxml2-dev fehlt... da ja geschimpft wird das er die expat.h nicht findet...
oli1
Posts: 12
Joined: 2004-05-05 21:31
 

Re: php5 installtionsprobleme

Post by oli1 »

habe die Paket libxml2 und libxml2-dev lange schon installiert
die datei xmlrpc.so habe ich nicht gefunden.

muss die xmlrpc.so vorhanden sein, wenn man libxml2 und libxml2-dev schon installiert hat??
stefanpropehan
Posts: 335
Joined: 2002-12-17 22:25
Location: Berlin
 

Re: php5 installtionsprobleme

Post by stefanpropehan »

laut http://us4.php.net/manual/de/ref.xmlrpc.php benötigst du diese nicht...
Diese Erweiterung benötigt keine externen Bibliotheken.
Es erklärt sich auch warum du bei deinem alten php nicht brauchtest da XMLRPC ab Vers. 4.1 im PHP enthalten war..... stutzig macht mich aber immer noch das er wegen der expat.h meckert.... expat sollte eigentlich mit der libxml2 installiert werden?!

Noch eine andere Frage - wenn du Debian benutzt - warum benutzt du nicht die PHP5 Packete von dotdeb.org?
Post Reply