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

Daniel J. Luke dluke at geeklair.net
Wed Apr 13 08:19:03 PDT 2011


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.          |                          
+========================================================+





More information about the macports-users mailing list