MacPorts db44 build fails under OS X 10.5 Tiger

November 30, 2007 on 5:22 am | In Uncategorized |

Was scratching my head over this one for a while. When I try a port install db44, I get the failure:

../dist/../db_dump185/db_dump185.c: In function 'main':../dist/../db_dump185/db_dump185.c:212: warning: assignment makes pointer from integer without a cast../dist/../db_dump185/db_dump185.c:214: warning: assignment makes pointer from integer without a cast

../dist/../db_dump185/db_dump185.c:229: error: 'struct __db' has no member named 'seq'

../dist/../db_dump185/db_dump185.c:229: error: 'R_NEXT' undeclared (first use in this function)

../dist/../db_dump185/db_dump185.c:229: error: (Each undeclared identifier is reported only once

../dist/../db_dump185/db_dump185.c:229: error: for each function it appears in.)

../dist/../db_dump185/db_dump185.c:234: error: 'struct __db' has no member named 'seq'

../dist/../db_dump185/db_dump185.c: In function 'db_hash':

../dist/../db_dump185/db_dump185.c:262: error: 'struct __db' has no member named 'internal'

../dist/../db_dump185/db_dump185.c:264: error: 'struct __db' has no member named 'internal'

../dist/../db_dump185/db_dump185.c: In function 'db_btree':

../dist/../db_dump185/db_dump185.c:289: error: 'struct __db' has no member named 'internal'

make: *** [db_dump185.lo] Error 1

It turns out that this is a known bug, and the workaround solution is to rename /usr/local to /usr/local-offline, run the port install, then rename /usr/local back again.  Now, back to building Apache2 and PHP5.

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.


Geo Visitors Map

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^