[elephant-devel] Re: Elephant 0.2

Ben ben at medianstrip.net
Tue Oct 5 04:47:08 UTC 2004


the relevant files are in

http://common-lisp.net/project/elephant/win32/

create a DLL project / solution.  add the two files (one is a modified
libsleepycat.c, the other a .def file for dll export.)  point the
project / solution at the berkeley db headers.  tell the project to
link with libdb42.lib (should be in the releases dir.)  build.

if that works, now point sleepycat.lisp at the appropriate files (you
may only need the libsleepycat.dll since we statically linked vs
libdb42.lib.)

thanks for the help and take care, B

On Mon, 4 Oct 2004, Bill Clementson wrote:

> Wow, that was quick.
>
> If you like, you can send me the instructions. If I
> get the opportunity, I'll try it over the next couple
> of days. As I mentioned, I'm out of town this week
> but, if I can, I'll try compiling/testing in the
> evenings if I can.
>
> - Bill
>
> --- Ben <ben at medianstrip.net> wrote:
>
>> i've managed to get the libsleepycat.dll to compile.
>>  however i can't
>> test it with allegro / lispworks b/c i'm not allowed
>> to install
>> software on the windows boxes i have access to.
>>
>> i can either send you instructions / patched files
>> which let you test
>> this, and you can test it, or you can wait for me to
>> find a windows
>> box i can install allegro on.
>>
>> B
>>
>> On Sun, 3 Oct 2004, Bill Clementson wrote:
>>
>>> That will be neat if you can get it working on
>> win32.
>>>
>>> - Bill
>>>
>>> --- Ben <ben at medianstrip.net> wrote:
>>>
>>>> over the next few days i'll try to get my hands
>> on a
>>>> computer with
>>>> vc++, and try to get it to run.  i don't know
>> where,
>>>> exactly.....
>>>>
>>>> B
>>>>
>>>> On Sun, 3 Oct 2004, Bill Clementson wrote:
>>>>
>>>>> Hi Ben,
>>>>>
>>>>>> thanks for the blog post about the tutorial.
>>>>>
>>>>> thank you for creating elephant and making it
>>>>> available to others!
>>>>>
>>>>>> if you
>>>>>> have time i'd
>>>>>> like to try to help you work out your win32
>>>>>> problems.  i see no reason
>>>>>> why it shouldn't work, though i'm no win32
>>>> expert.
>>>>>>
>>>>>> what lisp and C compiler are you using?  where
>>>> does
>>>>>> the failure occur?
>>>>>
>>>>> I have the win32 versions of acl, lw and clisp
>> on
>>>> my
>>>>> pc. I don't use gcc on win32, I use MS VC++. I
>>>> used
>>>>> the MS VC++ compiler to compile the Berkeley DB
>>>>> without any problems. I tried to compile
>>>>> src/libsleepycat.c specifying the
>>>>> C:\bin\db-4.2.52.NC\build_win32\Release
>> directory
>>>> as
>>>>> the library directory (there wasn't a /lib/
>>>> directory
>>>>> as seemed to be indicated in your makefile) and
>>>>> C:\bin\db-4.2.52.NC\dbinc as the include
>> directory
>>>>> (there wasn't a /include/ directory either). The
>>>>> compile produced a lot of missing dependencies
>> so
>>>> I
>>>>> just gave up as I didn't have time to search
>>>> around
>>>>> for the missing things. I also didn't know how
>> to
>>>>> translate the gcc compile & link options for the
>>>> MSVC
>>>>> compiler.
>>>>>
>>>>> I'm going to be at a conference and in training
>>>> most
>>>>> of the next 2 weeks, so won't have much time to
>>>> try
>>>>> alternative compile options; however, if you
>> have
>>>> any
>>>>> ideas fire them at me and I'll try them when I
>> get
>>>> the
>>>>> opportunity.
>>>>>
>>>>> Cheers,
>>>>> Bill
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> __________________________________
>>>>> Do you Yahoo!?
>>>>> New and Improved Yahoo! Mail - 100MB free
>> storage!
>>>>> http://promotions.yahoo.com/new_mail
>>>>>
>>>>
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around
>>> http://mail.yahoo.com
>>>
>>
>
>
>
>
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
>




More information about the elephant-devel mailing list