php5 kompilieren

Apache, Lighttpd, nginx, Cherokee
Post Reply
r00ty
Posts: 747
Joined: 2003-03-17 15:32
 

php5 kompilieren

Post by r00ty »

Hi !
Ich wollte mir mal ein PHP5 kompilieren, scheitere aber:
./configure

Code: Select all

[...]

Configuring extensions

[...]

checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for FreeType 1 support... no - FreeType 2.x is to be used instead
checking for T1_StrError in -lt1... no
configure: error: Problem with libt1.(a|so). Please check config.log for more information.
config.log

Code: Select all

[...]

configure:31749: checking for T1_StrError in -lt1
configure:31768: gcc -o conftest -g -O2   -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lt1  -lfreetype -lX11 -lXpm -lpng -
lz -ljpeg -lndbm -lgdbm -lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm
1>&5
/tmp/ccGGHjBG.o(.text+0x9): In function `main':
/tmp/del/d/php-5.0.0RC1/configure:31764: undefined reference to `T1_StrError'
collect2: ld returned 1 exit status
configure: failed program was:
#line 31757 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char T1_StrError();

int main() {
T1_StrError()
; return 0; }
kennt jemand das Problem ? Weiss jemand welches Modul das t1lib braucht ?
meine configure auruf:

Code: Select all

'./configure' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--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' '--e
nable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-
vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--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-mhash' '--with-mysql=/usr' '--with-ndbm' '
--with-pgsql=/usr' '--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-
xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-qtdom=/usr/lib/qt3' '--with-gd' '--with-openssl' '--with-curl' '--with-swf=/usr/src/packages/BUIL
D/swf/dist/' '--with-imap-ssl' '--enable-xslt' '--with-xslt-sablot' '--with-iconv' '--with-mm' '--with-apxs=/usr/sbin/apxs' '--prefix=/usr/share/php5 ' '--with-config-file
-path=/etc/php5' 'i586-suse-linux'
r00ty
Posts: 747
Joined: 2003-03-17 15:32
 

Re: php5 kompilieren

Post by r00ty »

okay, es lag daran dass man t1lib >= 5.0 braucht...
keine Ahnung wo man die herbekommt - ich habs jetzt rausgeschmissen
Post Reply