Compile problems under Mac OS X 10.1 (Darwin)
| From: | Nicolas Ross | Date: | Wed, 12 Dec 2001 19:48:23 +0000 |
| Subject: | Compile problems under Mac OS X 10.1 (Darwin) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5282@lists.php.net to get a copy of this message | ||
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 ?