[MacPorts] #24945: php52 fails GD build test failed

MacPorts noreply at macports.org
Tue May 18 16:18:16 PDT 2010


#24945: php52 fails GD build test failed
---------------------------------+------------------------------------------
 Reporter:  tc2161@…             |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  assigned               
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.8.2                  
 Keywords:                       |        Port:  php52                  
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => ryandesign@…
  * status:  new => assigned
  * port:  => php52


Old description:

> I first had the issues on ticket 24934. I followed the fix of going back
> with Gettext to 17.  Now it seems that everything works till the end and
> GD
>
> {{{
> configure: error: GD build test failed. Please check the config.log for
> details
> }}}
> I'm just trying to put php 5.2 on a Snow Leopard Server. Using the Mac OS
> Apache.  I have uninstalled ports and reinstalled them as well.  This is
> from a new clean port installation after I updated the server.

New description:

 I first had the issues on ticket #24934. I followed the fix of going back
 with Gettext to 17.  Now it seems that everything works till the end and
 GD

 {{{
 configure: error: GD build test failed. Please check the config.log for
 details
 }}}
 I'm just trying to put php 5.2 on a Snow Leopard Server. Using the Mac OS
 Apache.  I have uninstalled ports and reinstalled them as well.  This is
 from a new clean port installation after I updated the server.

--

Comment:

 Replying to [ticket:24945 tc2161@…]:
 > I first had the issues on ticket #24934. I followed the fix of going
 back with Gettext to 17.  Now it seems that everything works till the end
 and GD
 >
 > configure: error: GD build test failed. Please check the config.log for
 details

 An error message earlier in your output may be relevant:

 {{{
 dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
   Referenced from: /opt/local/bin/gsed
   Reason: Incompatible library version: gsed requires version 10.0.0 or
 later, but libintl.8.dylib provides version 9.0.0
 }}}

 php's configure script uses gsed and other programs, but your gsed was
 built against the libintl that came with gettext 0.18 and cannot be used
 with the libintl from gettext 0.17 unless you rebuild gsed, which you
 could do as follows:

 {{{
 sudo port -n upgrade --force gsed
 }}}

 Then clean php and try again

 {{{
 sudo port clean php52
 }}}

 If you run into similar error messages with other programs (I ran into it
 with gawk on my system), rebuild those ports as well.

 > I'm just trying to put php 5.2 on a Snow Leopard Server. Using the Mac
 OS Apache.  I have uninstalled ports and reinstalled them as well.  This
 is from a new clean port installation after I updated the server.

 We never added the options to make it possible to use php with the Apache
 that comes with Leopard or Snow Leopard (#14001), and we never supported
 the Apache that comes with Mac OS X Server either. Your best bet is to use
 the apache2 that comes with MacPorts.

-- 
Ticket URL: <http://trac.macports.org/ticket/24945#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list