Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)

James Benstead james.benstead at gmail.com
Wed Apr 13 08:36:12 PDT 2011


Thanks for the quick - and really helpful response. I've worked through this
but the final command,

sudo port -dv upgrade apr-util


Returned the following error message:

configure: error: iconv support requested, but not found
> 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.10"
> && ./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
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> DEBUG: Backtrace: configure failure: shell command failed (see log for
> details)
>     while executing
> "$procedure $targetname"
> Warning: the following items did not execute (for apr-util):
> org.macports.destroot org.macports.configure org.macports.build
> Log for apr-util is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/main.log
> DEBUG: couldn't open
> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
> no such file or directory
>     while executing
> "open [file join $dir tclIndex]"
> Error: Unable to upgrade port: 1


What should I try next?

On 13 April 2011 16:19, Daniel J. Luke <dluke at geeklair.net> wrote:

> On Apr 13, 2011, at 11:05 AM, James Benstead wrote:
> >
> > From your just-posted main.log, it looks like apr-util can't load the
> >  dylib that should be installed with db46
> >  (/opt/local/lib/db46/libdb-4.6.dylib)
>
> This is from the log you attached:
> :info:configure checking for Berkeley DB 4.6 in /opt/local/include and
> /opt/local/lib/db46...
> :info:configure checking db46/db.h usability... yes
> :info:configure checking db46/db.h presence... yes
> :info:configure checking for db46/db.h... yes
>
> So, perhaps something is wrong with your macports-installed db46?
>
> You could look and see if /opt/local/lib/db46/libdb-4.6.dylib exists and is
> the right architecture for your machine.
>
> Mine looks like this:
> % file /opt/local/lib/db46/libdb-4.6.dylib
> /opt/local/lib/db46/libdb-4.6.dylib: Mach-O universal binary with 2
> architectures
> /opt/local/lib/db46/libdb-4.6.dylib (for architecture i386):    Mach-O
> dynamically linked shared library i386
> /opt/local/lib/db46/libdb-4.6.dylib (for architecture x86_64):  Mach-O
> 64-bit dynamically linked shared library x86_64
>
> > The log is attached to this email. What is the best way to go about
> resolving this? I'm a relative newcomer to Macports.
>
> A quick fix might be to uninstall and reinstall db46:
>
> sudo port -f uninstall db46
> sudo port clean --all db46
> sudo port install db46
>
> and then try cleaning and upgrading apr-util again
>
> sudo port clean apr-util
> sudo port -dv upgrade apr-util
>
> --
> Daniel J. Luke
> +========================================================+
> | *---------------- dluke at geeklair.net ----------------* |
> | *-------------- http://www.geeklair.net -------------* |
> +========================================================+
> |   Opinions expressed are mine and do not necessarily   |
> |          reflect the opinions of my employer.          |
> +========================================================+
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110413/71071134/attachment.html>


More information about the macports-users mailing list