I want to compile php 4.1.0 on Mac OS X 10.1, adn I get this when linking :

*** Warning: This library needs some functionality provided by -lgd.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lpng.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -ljpeg.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lFBCAccess.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

And then way too much errors to put here...

My configure line is :

./configure \
  --with-apxs=/usr/local/apache/bin/apxs \
  --with-mysql \
  --with-fbsql \
  --with-xml \
  --enable-versioning \
  --enable-ftp \
  --with-zlib \
  --with-zlib-dir=../zlib \
  --with-png \
  --with-png-dir=../libpng-1.2.0 \
  --with-jpeg \
  --with-jpeg-dir=../jpeg-6b \
  --with-gd=../gd-1.8.4 \
  --with-pdflib=../pdflib-4.0.1-Darwin/bind/ \
  --enable-track-vars \
  --enable-trans-id

I did compiled 4.0.6 with the exact same configure command...

Tricks I had to do to compile successfully 4.0.6 :

execute setenv CFLAGS -DEAPI
And put CC="cc -flat_namespace" in libtool...

Any hints ?


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to