Opened 14 years ago

Closed 14 years ago

#28415 closed defect (fixed)

apr-util @1.3.10 - Configure failure

Reported by: ebbinghaus@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: apr-util

Description

Installing apr-util fails in the configuration stage on an iMac9,1 running OS X 10.5.8 and Xcode 3.1.4. db46 and db51 are installed.

Here is the last part of the log located at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/main.log

:info:configure checking for Berkeley DB 1.0.0 in /opt/local/include and /opt/local/lib/db46... 
:info:configure checking db1/db.h usability... no
:info:configure checking db1/db.h presence... no
:info:configure checking for db1/db.h... no
:info:configure checking db.h usability... yes
:info:configure checking db.h presence... yes
:info:configure checking for db.h... yes
:info:configure checking for dbopen in -ldb1... no
:info:configure checking for Berkeley DB 1 in /opt/local/include and /opt/local/lib/db46... 
:info:configure checking db_185.h usability... no
:info:configure checking db_185.h presence... no
:info:configure checking for db_185.h... no
:info:configure checking for Berkeley DB... not found
:info:configure configure: error: Berkeley DB not found.
:info:configure 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:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for apr-util): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure 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

Attachments (1)

config.log (370.9 KB) - added by ebbinghaus@… 14 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dluke@…
Port: apr-util added

Please remember to fill in the Port field and cc the maintainer. The config.log in the build dir would have more info.

Changed 14 years ago by ebbinghaus@…

Attachment: config.log added

comment:2 in reply to:  1 Changed 14 years ago by ebbinghaus@…

Replying to jmr@…:

Please remember to fill in the Port field and cc the maintainer. The config.log in the build dir would have more info.

Sorry for forgetting to fill out the appropriate fields. I attached the config.log which is a bit lengthy.

comment:3 Changed 14 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed
dyld: Library not loaded: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/destroot/opt/local/lib/db46/libdb-4.6.dylib
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/work/apr-util-1.3.10/./conftest
  Reason: image not found

Your db46 is broken.

Probably the easiest thing to do would be to uninstall/clean and reinstall it.

sudo port uninstall db46 sudo port clean --al db46 sudo port install db46

Then clean and re-build apr-util

sudo port clean apr-util sudo port install apr-util

comment:4 Changed 14 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: closedreopened

... actually I think I mis-read that (I'm not sure why it was looking in the $destroot for the library)

comment:5 Changed 14 years ago by danielluke (Daniel J. Luke)

Can you run

otool -L /opt/local/lib/db46/libdb-4.6.dylib

and paste the output?

comment:6 in reply to:  4 Changed 14 years ago by ebbinghaus@…

Replying to dluke@…:

... actually I think I mis-read that (I'm not sure why it was looking in the $destroot for the library)

But reinstalling db46 fixed the issue anyway. apr-util installed nicely without any problems afterwards. Thanks for your help.

For completeness, here is the output of otool:

opt/local/lib/db46/libdb-4.6.dylib:
	/opt/local/lib/db46/libdb-4.6.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)

comment:7 Changed 14 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: reopenedclosed

Ok, there was possibly something funny with the install_name of db46 before. I'm glad it's working for you now.

Note: See TracTickets for help on using tickets.