Ik ben bezig met PHP aan het instaleren op me cobalt raq 4 bakkie.
Ik heb netjes de php bestanden in een php mapje staan en start dit:
> ./configure --prefix=/usr --with-exec-dir=/usr/bin --with-apxs=/usr/sbin/apxs --with-libdir=/usr/lib --with-config-file-path=/etc/httpd --with-gd --enable-safe-mode --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --enable-track-vars --enable-xml --disable-debug --with-ldap --with-imap --enable-ftp --with-imap-ssl --with-mysql=/usr
Dan doe ik
> make
Dan krijg ik na een tijd deze error:
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
/usr/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/sites/home/php-4.1.2'
make: *** [all-recursive] Error 1
Dit had ik ook eerst met crypt en ssl maar toen ik de .a files van ssl in de map /usr/lib had gezet waren de errors weg.
Wie kan dit probleem op lozen ?
Ik denk dat ik GD opnieuw moet compile
Zo ja hoe kan ik dat het beste doen ?
Ik heb netjes de php bestanden in een php mapje staan en start dit:
> ./configure --prefix=/usr --with-exec-dir=/usr/bin --with-apxs=/usr/sbin/apxs --with-libdir=/usr/lib --with-config-file-path=/etc/httpd --with-gd --enable-safe-mode --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --enable-track-vars --enable-xml --disable-debug --with-ldap --with-imap --enable-ftp --with-imap-ssl --with-mysql=/usr
Dan doe ik
> make
Dan krijg ik na een tijd deze error:
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
/usr/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/sites/home/php-4.1.2'
make: *** [all-recursive] Error 1
Dit had ik ook eerst met crypt en ssl maar toen ik de .a files van ssl in de map /usr/lib had gezet waren de errors weg.
Wie kan dit probleem op lozen ?
Ik denk dat ik GD opnieuw moet compile
Zo ja hoe kan ik dat het beste doen ?