[MacPorts] #19918: Berkeley DB failing to build
MacPorts
noreply at macports.org
Fri Jun 12 07:46:46 PDT 2009
#19918: Berkeley DB failing to build
---------------------------------+------------------------------------------
Reporter: guy.kogus@… | Owner: blair@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: build fail | Port: db46
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):
* keywords: db46 build fail => build fail
* owner: macports-tickets@… => blair@…
Old description:
> 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
New description:
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
}}}
--
Comment:
What version of Mac OS X are you running? What version of Xcode?
--
Ticket URL: <http://trac.macports.org/ticket/19918#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list