Opened 15 years ago

Last modified 15 years ago

#18734 closed defect

php5 install causes: configure: error: iconv support requested, but not found — at Version 2

Reported by: jsafire@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: php5 iconv 1.7.0 Cc: jwa@…
Port: apr-util

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

When trying to install php5 or apache2, I get this error: "configure: error: iconv support requested, but not found".

MacOSX 10.5.6 on new Macbook.

I am trying to get mysql running, but having trouble, so decided to reinstall AMP using MacPorts.

In my /usr/lib are:

libiconv.2.4.0.dylib
libiconv.2.dylib
libiconv.dylib
libiconv.la

What does this mean and how can I fix it?

Change History (3)

comment:1 Changed 15 years ago by blb@…

Cc: jwa@… added; jsafire@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

What's in your /usr/lib is immaterial. MacPorts won't use it. It will use its own libiconv port.

What version of Xcode do you have?

What is the "port" command you ran that caused the error? Was it "sudo port install php5"? Or maybe "sudo port install apache2"? And what port did it say failed to build? Was it php5 or apache2 or maybe instead one of its dependencies?

Whatever port failed, can you please clean it and then try again, this time with the debug switch, and send us all the output? For example if apache2 was the port that failed, then:

sudo port clean apache2
sudo port -d install apache2 2>&1 | tee ~/Desktop/output.txt

Then, assuming that fails again, attach output.txt from your desktop to this ticket.

Changed 15 years ago by jsafire@…

Attachment: output.txt added

Debug error output file for: sudo port install apache2

Note: See TracTickets for help on using tickets.