./configure - Specificér sti til libpng og libjpeg
jeg er i gang med at prøve at recompile php, således at jeg kan få GDlib understøttelse i min PHP installation.jeg bruger følgende parametre til ./configure:
./configure --build=i386-redhat-linux --host=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --with-gd --enable-force-cgi-redirect --disable-libxml
Jeg har lige installeret libpng, da den bad om det, men nu kommer følgende fejl:
configure: error: libpng.(a|so) not found.
Derfor kunne det tænkes, at jeg skulle specificere stien til libpng.so, men hvordan gøres dette?
