Opened 15 years ago
Closed 15 years ago
#19918 closed defect (wontfix)
Berkeley DB failing to build
Reported by: | guy.kogus@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | build fail | Cc: | |
Port: | db46 |
Description (last modified by mf2k (Frank Schima))
I have db47 installed, but it seems that a lot of ports depend on db46. Every time I try to install it I get the below error message. I have tried cleaning all, but it keeps coming back with the same error.
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 -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers ../dist/../db_dump185/db_dump185.c /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers ../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
Change History (3)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | db46 removed |
Owner: | changed from macports-tickets@… to blair@… |
comment:2 Changed 15 years ago by blair (Blair Zajac)
This seems to occur if you have a Berkeley DB in /usr/local somewhere.
Try moving /usr/local away and then building it.
comment:3 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Inability to ignore /usr/local is a limitation in GCC with no apparent workaround.
Note: See
TracTickets for help on using
tickets.
What version of Mac OS X are you running? What version of Xcode?