[MacPorts] #20318: apr-util configuration fail due to iconv
#20318: apr-util configuration fail due to iconv ------------------------------------+--------------------------------------- Reporter: Ink_Blot2001@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------------+--------------------------------------- Unable to build apr-util 1.3.7. All deps are up to date and I tried uninstalling the previous version and installing fresh after the first fail. {{{ ---> Configuring apr-util Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_apr-util/work/apr-util-1.3.7" && ./configure --prefix=/opt/local --with-apr=/opt/local/bin/apr-1-config --with- expat=/opt/local --with-iconv=/opt/local --with-berkeley- db=/opt/local/include:/opt/local/lib/db46 --without-mysql --without-pgsql --with-sqlite3=/opt/local " returned error 1 Command output: checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes adding "-I/opt/local/include" to APRUTIL_PRIV_INCLUDES checking sqlite.h usability... no checking sqlite.h presence... no checking for sqlite.h... no checking sybdb.h usability... no checking sybdb.h presence... no checking for sybdb.h... no checking freetds/sybdb.h usability... no checking freetds/sybdb.h presence... no checking for freetds/sybdb.h... no checking for odbc_config... no checking sql.h usability... yes checking sql.h presence... yes checking for sql.h... yes checking for SQLAllocHandle in -lodbc... no checking odbc/sql.h usability... no checking odbc/sql.h presence... no checking for odbc/sql.h... no adding "-L/opt/local/lib" to APRUTIL_LDFLAGS checking Expat 1.95.x... yes setting APRUTIL_EXPORT_LIBS to "-lexpat" setting APRUTIL_LIBS to "-lexpat" checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes setting LIBS to "-liconv" nulling LIBS configure: error: iconv support requested, but not found Error: Status 1 encountered during processing. }}} Also, I am running under Darwin Kernel 8.11.0 with MacPorts base 1.710. -- Ticket URL: <http://trac.macports.org/ticket/20318> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20318: apr-util configuration fail due to iconv ------------------------------------+--------------------------------------- Reporter: Ink_Blot2001@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------------+--------------------------------------- Changes (by dluke@…): * owner: macports-tickets@… => dluke@… * status: new => assigned Comment: Do you have /opt/local/lib/libiconv.dylib ? the configure is finding your iconv.h but not the dylib (and apr-util has a dependency on the libiconv port). -- Ticket URL: <http://trac.macports.org/ticket/20318#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20318: apr-util configuration fail due to iconv ------------------------------------+--------------------------------------- Reporter: Ink_Blot2001@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by Ink_Blot2001@…): I'm starting to think this could be a libiconv 1.13_0 issue. I just tried building glib2 and got errors pertaining to libiconv as well. -- Ticket URL: <http://trac.macports.org/ticket/20318#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20318: apr-util configuration fail due to iconv ------------------------------------+--------------------------------------- Reporter: Ink_Blot2001@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by Ink_Blot2001@…): Replying to [comment:1 dluke@…]:
Do you have /opt/local/lib/libiconv.dylib ?
the configure is finding your iconv.h but not the dylib (and apr-util has a dependency on the libiconv port).
Yes, /opt/local/lib/libiconv.dylib is present. -- Ticket URL: <http://trac.macports.org/ticket/20318#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20318: apr-util configuration fail due to iconv ------------------------------------+--------------------------------------- Reporter: Ink_Blot2001@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by dluke@…): I have libiconv 1.13 installed and apr-util builds fine for me. Maybe try removing and re-installing libiconv? sudo port -f uninstall libiconv && sudo port clean --all libiconv && sudo port install libiconv -- Ticket URL: <http://trac.macports.org/ticket/20318#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20318: apr-util configuration fail due to iconv ------------------------------------+--------------------------------------- Reporter: Ink_Blot2001@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ------------------------------------+--------------------------------------- Comment(by Ink_Blot2001@…): OK, that worked. Thanks dluke. -- Ticket URL: <http://trac.macports.org/ticket/20318#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20318: apr-util configuration fail due to iconv -------------------------------------+-------------------------------------- Reporter: Ink_Blot2001@… | Owner: dluke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: | -------------------------------------+-------------------------------------- Changes (by dluke@…): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/20318#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts