apache2 fails to install

Geert De Deckere geertdd at gmail.com
Sat Jan 24 08:19:24 PST 2009


Hi folks

I'm completely stuck installing apache2. No idea what exactly is going
wrong. It's a clean macports install (1.700). I even ran a manual
selfupdate. Installing git-core went flawless, it's just apache2 that is
causing problems. Thanks for helping me out.

$ sudo port install apache2
Password:
--->  Building db46
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/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:211: warning: assignment makes pointer
from integer without a cast
../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer
from integer without a cast
../dist/../db_dump185/db_dump185.c:228: error: 'struct __db' has no member
named 'seq'
../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first
use in this function)
../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared identifier
is reported only once
../dist/../db_dump185/db_dump185.c:228: error: for each function it appears
in.)
../dist/../db_dump185/db_dump185.c:233: error: 'struct __db' has no member
named 'seq'
../dist/../db_dump185/db_dump185.c: In function 'db_hash':
../dist/../db_dump185/db_dump185.c:261: error: 'struct __db' has no member
named 'internal'
../dist/../db_dump185/db_dump185.c:263: error: 'struct __db' has no member
named 'internal'
../dist/../db_dump185/db_dump185.c: In function 'db_btree':
../dist/../db_dump185/db_dump185.c:288: error: 'struct __db' has no member
named 'internal'
make: *** [db_dump185.lo] Error 1

Error: The following dependencies failed to build: apr-util db46 sqlite3
readline pcre
Error: Status 1 encountered during processing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090124/d00d1243/attachment.html>


More information about the macports-users mailing list