Newbie: PHP.4.3.4 kompilieren

Bash, Shell, PHP, Python, Perl, CGI
highlander74
Posts: 42
Joined: 2004-01-02 15:34

Newbie: PHP.4.3.4 kompilieren

Post by highlander74 »

Leider muss ich mein PHP kompilieren (wegen MySQL Update) - auch wieder laut Howto:
'./configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' '--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-gd=shared' '--with-openssl' '--with-curl' '--with-swf==/usr/include/swf' '--with-imap-ssl' '--enable-xslt''--with-xslt-sablot=/usr/src/php-4.3.4/ext/xslt' '--with-mm' '--with-apxs=/usr/sbin/apxs' 'i586-suse-linux'
lief soweit durch ...

make install:
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
jeder compile schritt bekommt diese warnung
/bin/sh /usr/src/php-4.3.4/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/include -Iext/odbc/ -I/usr/src/php-4.3.4/ext/odbc/ -DPHP_ATOM_INC -I/usr/src/php-4.3.4/include -I/usr/src/php-4.3.4/main -I/usr/src/php-4.3.4 -I/usr/local/include -I/usr/src/php-4.3.4/Zend -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/usr/src/php-4.3.4/ext/mbstring/mbregex -I/usr/src/php-4.3.4/ext/mbstring/libmbfl -I/usr/src/php-4.3.4/ext/mbstring/libmbfl/mbfl -I/usr/include/mcal -I/usr/include/mysql -I/usr/include/pgsql -I/usr/src/php-4.3.4/ext/xml/expat -I/usr/src/php-4.3.4/TSRM -g -O2 -prefer-pic -c /usr/src/php-4.3.4/ext/odbc/php_odbc.c -o ext/odbc/php_odbc.lo
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from /usr/src/php-4.3.4/ext/odbc/php_odbc.c:37:
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:94:18: isql.h: No such file or directory
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:95:21: isqlext.h: No such file or directory
In file included from /usr/src/php-4.3.4/ext/odbc/php_odbc.c:37:
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:208: parse error before "HENV"
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:208: warning: no semicolon at end of struct or union
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:209: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:211: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:214: parse error before '}' token
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:214: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:220: parse error before "SDWORD"
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:220: warning: no semicolon at end of struct or union
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:221: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:224: parse error before "HSTMT"
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:224: warning: no semicolon at end of struct or union
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:226: parse error before '*' token
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:226: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:227: parse error before "numcols"
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:227: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:228: parse error before "numparams"
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:228: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:235: parse error before '*' token
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:235: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:236: parse error before '}' token
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:236: warning: data definition has no type or storage class
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:252: `SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/usr/src/php-4.3.4/ext/odbc/php_odbc_includes.h:255: confused by earlier errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
p15110922:/usr/src/php-4.3.4 #
finally :([/quote]
highlander74
Posts: 42
Joined: 2004-01-02 15:34

Re: Newbie: PHP.4.3.4 kompilieren

Post by highlander74 »

Sorry Sourcen haben gefehlt, habs selber gefunden.