[MacPorts] #18734: php5 install causes: configure: error: iconv support requested, but not found

MacPorts noreply at macports.org
Tue Mar 3 02:23:39 PST 2009


#18734: php5 install causes: configure: error: iconv support requested, but not
found
-----------------------------------+----------------------------------------
 Reporter:  jsafire@…              |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:  Port Bugs              
Component:  ports                  |     Version:  1.7.0                  
 Keywords:  php5 iconv 1.7.0       |        Port:  php5                   
-----------------------------------+----------------------------------------

Old description:

> 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?

New description:

 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?

--

Comment(by ryandesign@…):

 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.

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


More information about the macports-tickets mailing list