Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18377 closed defect (invalid)

Missing db185_int.h

Reported by: robdbirch@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: ImageMagick Cc: jeremy.g.ross@…
Port: db46

Description (last modified by mf2k (Frank Schima))

>sudo port install ImageMagick

--->  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/optcd /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: xorg-libs xorg-libxcb xorg-xcb-proto python26 db46 gdbm openssl readline sqlite3 tk tcl xorg-libxkbfile xorg-libxkbui xorg-xcb-util
Error: Status 1 encountered during processing.

Change History (9)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: db46 removed
Owner: changed from macports-tickets@… to blair@…
Port: db46 added; ImageMagick removed

comment:2 Changed 16 years ago by blair (Blair Zajac)

Do you have any software installed /usr/local, that's where this problem occurs?

Make sure you keep your /usr/local clean of any other headers and libraries to avoid this problems.

comment:3 Changed 16 years ago by blair (Blair Zajac)

Resolution: invalid
Status: newclosed

Via direct email from Robert, closing the ticket.

comment:4 Changed 16 years ago by robdbirch@…

Thanks for your help. I did have some items in /usr/local. One of the items was the TeX distribution which had a Magick++ binary distribution.

At this time I gave up on the Macports. Not sure if this matters, but just as an FYI, I did do a find in the /opt/local for db185_int.h and it was no where to be found?

comment:5 Changed 16 years ago by blair (Blair Zajac)

It's not clear what is in there that causes the bad compile, but when there is, it can cause this issue. If /usr/local is empty, then db46 always build successfully.

comment:6 Changed 16 years ago by jeremy.g.ross@…

Cc: jeremy.g.ross@… added

Cc Me!

comment:7 Changed 16 years ago by jeremy.g.ross@…

I'm having the same problem:

../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

comment:8 Changed 16 years ago by jeremy.g.ross@…

I got passed this by doing:

sudo mv /usr/local /usr/local-off

comment:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.