[MacPorts] #20415: doxygen fails, attempting to link against system libiconv

MacPorts noreply at macports.org
Mon Sep 14 04:14:53 PDT 2009


#20415: doxygen fails, attempting to link against system libiconv
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  css@…           
     Type:  defect              |      Status:  assigned        
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  1.8.0           
 Keywords:  snowleopard         |        Port:  doxygen         
--------------------------------+-------------------------------------------

Comment(by hans-bernd.duerr@…):

 Hello!

 I'm very new to this community, but nevertheless I figured out a way to
 correct this bug:

 0. Install doxygen and get the error-message

 1. Perform a search for the packages, that macports downloaded - the
 easiest way is to search for the file "libdoxycfg.a"

            find /opt/local/ | grep libdoxycfg.a

            (my package directory is in
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.9/"
 )

 2. Go into the directory ./src

 3. Change the Makefile.doxygen by adding ${prefix}/include to the line
 INCPATH
            e.g.
            INCPATH =       -I../qtools -I../libpng -I../libmd5 -I.
 -I/opt/local/include
    and by adding ${prefix}/lib to the line LIBS
            e.g.
            LIBS    =       -L../lib -L/opt/local/lib -ldoxygen -ldoxycfg
 -lqtools -lpng -lmd5 -liconv

 4. Perform again
            sudo port install doxygen

 I hope this helps and maybe there is someone who can write an appropriate
 patch or even change the package.

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


More information about the macports-tickets mailing list