heimdal 1.2.1 fails to build using port 1.8.1

Nigel King nigel at nigelking.me.uk
Wed Dec 30 16:27:03 PST 2009


Hi,
I have been trying unsuccessfully to update my macports installation  
to 1.8.1 unfortunately nothing I try finishes off the process because  
heimdal fails to build. The trace is below. Any ideas will be welcome.

Thanks
---
Nigel King



nigel-kings-macbook-pro-15:~ nigelk$ sudo port -v install heimdal
--->  Computing dependencies for heimdal.
--->  Building heimdal
Making all in include
/usr/bin/make  all-recursive
Making all in kadm5
Making all in hcrypto
....snip....
/usr/bin/make  all-am
/bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0  - 
DHAVE_CONFIG_H -I. -I. -I../../include  -I../../lib/roken -I../../lib/ 
roken -I../asn1 -I./../asn1   -DHDB_DB_DIR=\"/var/heimdal\" -I/opt/ 
local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer- 
arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  - 
DINET6 -O2 -D_FORTIFY_SOURCE=0 -arch i386 -MT db3.lo -MD -MP -MF .deps/ 
db3.Tpo -c -o db3.lo db3.c
libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../ 
include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1 - 
DHDB_DB_DIR=\"/var/heimdal\" -I/opt/local/include -D_LARGE_FILES= - 
Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast - 
Wmissing-declarations -Wnested-externs -DINET6 -O2 -D_FORTIFY_SOURCE=0  
-arch i386 -MT db3.lo -MD -MP -MF .deps/db3.Tpo -c db3.c  -fno-common - 
DPIC -o .libs/db3.o
db3.c: In function 'DB_close':
db3.c:52: error: 'DBC' undeclared (first use in this function)
db3.c:52: error: (Each undeclared identifier is reported only once
db3.c:52: error: for each function it appears in.)
db3.c:52: error: 'dbcp' undeclared (first use in this function)
db3.c:52: error: syntax error before ')' token
db3.c:56: error: too many arguments to function 'd->close'
db3.c: In function 'DB_lock':
db3.c:76: error: too many arguments to function 'd->fd'
db3.c: In function 'DB_unlock':
db3.c:86: error: too many arguments to function 'd->fd'
db3.c: In function 'DB_seq':
db3.c:97: error: 'DBC' undeclared (first use in this function)
db3.c:97: error: 'dbcp' undeclared (first use in this function)
db3.c:107: error: 'DB_NOTFOUND' undeclared (first use in this function)
db3.c:118: error: 'DB_NEXT' undeclared (first use in this function)
db3.c: In function 'DB_firstkey':
db3.c:141: error: 'DB_FIRST' undeclared (first use in this function)
db3.c: In function 'DB_nextkey':
db3.c:148: error: 'DB_NEXT' undeclared (first use in this function)
db3.c: In function 'DB__get':
db3.c:181: error: 'DBT' has no member named 'flags'
db3.c:184: warning: passing argument 4 of 'd->get' makes integer from  
pointer without a cast
db3.c:184: error: too many arguments to function 'd->get'
.....snip.....
make[3]: *** [db3.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1" && /usr/ 
bin/make -j1 all " returned error 2
Command output: db3.c:184: error: too many arguments to function 'd- 
 >get'
db3.c:186: error: 'DB_NOTFOUND' undeclared (first use in this function)
db3.c: In function 'DB__put':




More information about the macports-users mailing list