ID:               41555
 Updated by:       [EMAIL PROTECTED]
 Reported By:      genetiq at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: MacOS X 10.4.9
 PHP Version:      5.2.3
 New Comment:

>--with-png-dir=/usr/src/libpng  
This doesn't look like installation prefix.


Previous Comments:
------------------------------------------------------------------------

[2007-06-01 01:54:15] genetiq at gmail dot com

Description:
------------
Unable to compile with bundled GD library - configure script fails with

an error.

Reproduce code:
---------------
trying to compile with the following options:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--mandir=/usr/share/man/ --with-apxs2=/usr/sbin/apxs --with-curl
--with-gd --enable-exif --enable-fastcgi --with-pgsql --with-zip
--with-jpeg-dir=/usr/src/libjpeg --with-png-dir=/usr/src/libpng  

it fails with this error:
configure: error: GD build test failed. Please check the config.log for
details.

in config.log there are following info:
configure:42434: gcc -o conftest -g -O2  -no-cpp-precomp  conftest.c 
-L   -lpng -lz -lcurl -lm  -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto
-lz -lxml2 -lz -liconv -lm 1>&5
/usr/bin/ld: -L: directory name missing
collect2: ld returned 1 exit status
configure: failed program was:
#line 42423 "configure"
#include "confdefs.h"

    char foobar () {}
    char foobar();
    int main() {
      foobar();
      return 0;
    }


Expected result:
----------------
php is always expected to build normally :)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41555&edit=1

Reply via email to