Paul Burney wrote: > I'm not able to compile a static apache/php, using the built in GD library > and enabling GD with jpeg support. I have no problems make/make install'ing > PHP, nor making it as a DSO, but the apache build fails when I try to make > it with a static PHP module. > > PHP 4.3.4 > Apache 1.3.29 > > PHP Configure Command: > > './configure' '--with-mysql' '--with-apache=../apache-1.3.29' > '--enable-magic-quotes' '--disable-short-tags' '--with-mcrypt' > '--with-mhash' '--with-zlib' '--with-zlib-dir=/usr/include' '--with-dom' > '--with-dom-xslt' '--with-dom-exslt' '--with-curl' '--with-curlwrappers' > '--with-pdflib' '--with-jpeg-dir=/usr/lib' '--with-tiff-dir=/usr/lib'
Try "--with-jpeg-dir=/usr" (for the others as well), so the compiler can find the header files in /usr/include and the libraries in /usr/lib. Regards... Michael