Jim, Thanks for the response. I actually found that using a more recent version of htdig resolved the problem (I forgot the exact version, but it's definitely 3.2.something). I figured I'd respond to the list with this possible fix in case anyone else has had similar problems.
Thanks, Jen On 11/27/06, Jim <[EMAIL PROTECTED]> wrote: > On Mon, 30 Oct 2006, Jen Gallardo wrote: > > > I've been trying to install version 3.1.6 on a new Intel iMac and am > > having a strange problem. I can configure, but when I try to do the > > "make" step, I get the following error: > > > > gcc -c -O -I. -I./../include ../btree/bt_compare.c > > In file included from ../btree/bt_compare.c:54: > > /usr/include/sys/types.h:139: error: two or more data types in > > declaration specifiers > ... > > I've installed the Developer Tools on this Mac so I have make, gcc and > > etc. I'm not exactly sure why this is happening and I've googled the > > problem to no avail. Has anyone seen this before and can suggest a > > fix? > > I see the same issue with a MacBook. The problem is that the config > script for the Berkeley DB component doesn't recognize the platform. If > you look through the output generated when you run ./configure, you will > most likely see the following. > > --- > configuring in db/dist > running /bin/sh ./configure --cache-file=../.././config.cache > --srcdir=. > loading cache ../.././config.cache > checking if building in the top-level directory... checking for a BSD > compatible install... (cached) /usr/bin/install -c > checking host system type... Invalid configuration > `i386-apple-darwin8.8.1': system `darwin8.8.1' not recognized > --- > > The result is that some inappropriate defaults are set in the config.h > file included in many of the db files. > > I was able to work around the problem by doing the following. > > 1. Run the main 'configure' script as you normally would. > 2. Open htdig-3.1.6/db/dist/config.h. > 3. Remove (or comment out) the following five lines. > #define mode_t int > #define off_t long > #define pid_t int > #define size_t unsigned > #define ssize_t int > 4. Change /* #undef HAVE_DIRENT_H */ to #define HAVE_DIRENT_H 1 > 5. Run make. > > I don't actually use ht://Dig on this platform so I haven't done any > real testing. But the build did complete successfully and the programs > don't immediately crash when executed. > > Jim > -- Jennifer Gallardo [EMAIL PROTECTED] www.jengallardo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

