Ticket #18377 (closed defect: invalid)
Missing db185_int.h
| Reported by: | robdbirch@… | Owned by: | blair@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | ImageMagick | Cc: | jeremy.g.ross@… |
| Port: | db46 |
Description (last modified by macsforever2000@…) (diff)
>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
comment:1 Changed 4 years ago by macsforever2000@…
- Keywords db46 removed
- Owner changed from macports-tickets@… to blair@…
- Port changed from ImageMagick to db46
- Description modified (diff)
comment:2 Changed 4 years ago by blair@…
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 4 years ago by blair@…
- Status changed from new to closed
- Resolution set to invalid
Via direct email from Robert, closing the ticket.
comment:4 Changed 4 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 4 years ago by blair@…
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:7 Changed 4 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
Note: See
TracTickets for help on using
tickets.

