Opened 15 years ago

Closed 15 years ago

#24945 closed defect (duplicate)

php52 fails GD build test failed

Reported by: tc2161@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: php52

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

php52_bug.txt (14.4 KB) - added by tc2161@… 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by tc2161@…

Attachment: php52_bug.txt added

comment:1 in reply to:  description Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: php52 added
Status: newassigned

Replying to 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.

comment:2 in reply to:  description Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

Replying to tc2161@…:

configure: error: GD build test failed. Please check the config.log for details

This has been debugged here.

Note: See TracTickets for help on using tickets.