[linux] instalace GD + PHP

Jan Krnavek krnavek na seznam.cz
Pondělí Červenec 23 03:45:49 CEST 2001


Zdravim,
nemohu zkompilovat PHP s podporou knihovny
GD (FREETYPE2,PNG,JPEG..)
Freetype2,zlib,jpeg,png  a gd knihovny jsem nainstaloval..
Pri kompilaci php zkonci na ...
------
Configuring libtool
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.

checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
loading cache ./config.cache within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
./compilace_new.sh: --with-jpeg-dir=/usr/local/lib/: No such file or
directory
./compilace_new.sh: --with-png-dir=/usr/local/lib: No such file or directory
./compilace_new.sh: --with-freetype-dir=/usr/local/lib: No such file or
directory
 -----

pritom patricne knihovny v /us/local/lib jsou....
php 4.0.6
gd 1.8.4


NASTAVENI PHP
./configure \
--with-mysql=/mysql \
--with-apache=../apache_1.3.20 \
--with-config-file-path=/apache/conf \
--with-imap=../imap-2001 \
--enable-ftp \
--enable-bcmath \
--enable-memory-limit \
--enable-track-vars \
--with-gnu-ld \
--with-openssl=/usr/local/ssl \
--with-iodbc=/usr/local \
--with-zlib-dir=/usr/local/lib/ \
--with-zlib \
--with-gd-dir=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local/lib/ \
--with-png-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib

Poradi mi nekdo?
S pozdravem HanZ







Další informace o konferenci linux