$ sudo port uninstall readline ---> Unable to uninstall readline 5.2.007_0, the following ports depend on it: ---> bash ---> gnupg Error: port uninstall failed: Please uninstall the ports that depend on readline first. $ sudo port -f uninstall readline ---> Unable to uninstall readline 5.2.007_0, the following ports depend on it: ---> bash ---> gnupg Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating readline 5.2.007_0 ---> Uninstalling readline 5.2.007_0 $ sudo port install apache2 ---> Building db44 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databas es_db44/work/db-4.4.20/build_unix" && make all " returned error 2 Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c - O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../ dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:212: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:214: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:229: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c:229: error: 'R_NEXT' undeclared (first use in this function) ../dist/../db_dump185/db_dump185.c:229: error: (Each undeclared identifier is reported only once ../dist/../db_dump185/db_dump185.c:229: error: for each function it appears in.) ../dist/../db_dump185/db_dump185.c:234: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c: In function 'db_hash': ../dist/../db_dump185/db_dump185.c:262: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c:264: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c: In function 'db_btree': ../dist/../db_dump185/db_dump185.c:289: error: 'struct __db' has no member named 'internal' make: *** [db_dump185.lo] Error 1 Error: The following dependencies failed to build: apr-util db44 sqlite3 gawk readline Error: Status 1 encountered during processing. $ On Dec 14, 2007, at 2:16 PM, Daniel J. Luke wrote:
On Dec 14, 2007, at 12:40 PM, Chris Janton wrote:
On 2007-12-13 , at 21:08 , Daniel J. Luke wrote:
Error: The following dependencies failed to build: apr-util db44 sqlite3 gawk openssl Error: Status 1 encountered during processing.
This is probably related to:
I have the dreaded "readline in /usr/local" problem. The resolution to the problem says re-install MacPorts from the disk image and selfupdate to the latest version.
That's the resolution if you are having problems building MacPorts, not if db44 is having problems.
I would recommend removing your readline from /usr/local (perhaps just temporarily) so that db44 can be installed.
What happens to the long list of ports that I have active when I re-install from the disk image?
mac:/opt system$ sudo du -d 1 -h . 689M ./local 689M .
Nothing should happen to them if you were to reinstall MacPorts (unless you remove /opt/local or files from within /opt/local), but it doesn't look like you need to reinstall MacPorts. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users