[MacPorts] #33650: compiling libxml2 fails due to missing libiconv

MacPorts noreply at macports.org
Fri Mar 16 13:32:12 PDT 2012


#33650: compiling libxml2 fails due to missing libiconv
------------------------------+---------------------------------------------
 Reporter:  thrabe@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.4                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

  * priority:  High => Normal


Old description:

> hi everyone,
>
> i just bought a new mac book and am currently installing all required
> libraries for my project.
> i have the newest setup possible to date,
>
> osx 10.7.3, xcode 4.3, macports 2.0.4
>
> compiling libxml2 always worked flawlessly before,
> now, however, fails:
>
> $sudo port install libxml2
> --->  Computing dependencies for libxml2
> Error: Dependency 'libiconv' not found.
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.ticke
>

> the only port file i find here is:
> $port search libiconv
> php5-iconv @5.3.10 (php, textproc)
>     a PHP interface to the libiconv character encoding conversion
> functions
>
> i can not find libiconv on the machine. is it due to a broken ports file
> or the new setup of Xcode that libiconv could be missing? i assume if
> libiconv comes from osX/Xcode by default, it should be in the standard
> directories... ?
>
> thank you in advance for your help!

New description:

 hi everyone,

 i just bought a new mac book and am currently installing all required
 libraries for my project.
 i have the newest setup possible to date,

 osx 10.7.3, xcode 4.3, macports 2.0.4

 compiling libxml2 always worked flawlessly before,
 now, however, fails:

 {{{
 $sudo port install libxml2
 --->  Computing dependencies for libxml2
 Error: Dependency 'libiconv' not found.
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.ticke
 }}}

 the only port file i find here is:
 {{{
 $port search libiconv
 php5-iconv @5.3.10 (php, textproc)
     a PHP interface to the libiconv character encoding conversion
 functions
 }}}

 i can not find libiconv on the machine. is it due to a broken ports file
 or the new setup of Xcode that libiconv could be missing? i assume if
 libiconv comes from osX/Xcode by default, it should be in the standard
 directories... ?

 thank you in advance for your help!

--

Comment:

 Sounds like your portindex is messed up. Try "sudo port -v selfupdate".

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


More information about the macports-tickets mailing list