[elephant-devel] Start of 0.6.1 Beta Cycle

Edi Weitz edi at agharta.de
Fri Mar 23 12:47:13 UTC 2007


On Fri, 23 Mar 2007 07:30:38 -0400, Ian Eslick <eslick at csail.mit.edu> wrote:

> I believe you can download a pre-built BDB Windows DLL distribution
> from Oracle.

Yeah, I had that installed, but I wasn't aware that I could expect an
automatic build because I originally saw lots of errors flying by.  I
tried to track that down now and the problem was that you're using
"/C" for the C: drive in Cygwin.  I had to create this mount point
manually, AFAIK this is not the default in Cygwin.  I'd propose to use
"/cygdrive/c" instead to be on the safe side - this mount point should
always exist.

> The rest of the libraries should be built automatically using cygwin
> during the ASDF loads of elephant and ele-bdb if you select the
> :cygwin compiler option and provide paths to the BDB distribution.
> We've verified both Allegro 8 and Lispworks 5 using this
> configuration and the downloaded BDB.

Doesn't work for me.  The compilation attempt breaks like this:

  edi at Groucho:~/lisp/elephant/src/db-bdb$ gcc -L'/C/Program Files/Oracle/Berkeley DB 4.5.20/bin/' -I'/C/Program Files/Oracle/Berkeley DB 4.5.20/include/' -ldb45 -mno-cygwin -mwindows -Wall -c -std=c99 "c:\home\lisp\elephant\src\db-bdb\libberkeley-db.c"
  In file included from c:\home\lisp\elephant\src\db-bdb\libberkeley-db.c:165:
  /C/Program Files/Oracle/Berkeley DB 4.5.20/include/db.h:99: error: conflicting types for 'ssize_t'
  /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/sys/types.h:104: error: previous declaration of 'ssize_t' was here
  c:\home\lisp\elephant\src\db-bdb\libberkeley-db.c: In function `case_cmp':
  c:\home\lisp\elephant\src\db-bdb\libberkeley-db.c:1236: warning: implicit declaration of function `_strnicmp'

This is on Windows XP pro SP2 with BerkeleyDB 4.5.20 and LWW 5.0.1,
Cygwin updated from the Internet half an hour ago.

BTW, I'd suggest to use another LispWorks command for the compilation
steps, so the user can actually see error messages like this one -
patch attached.

Cheers,
Edi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: elephant.diff
Type: text/x-patch
Size: 2071 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20070323/aae5c8c6/attachment.bin>


More information about the elephant-devel mailing list