public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Craig Nelson <craig@reversion.ca>
To: cygwin@sourceware.cygnus.com, kwright@aspectdv.com
Subject: Re: Any cygwin ports of Berkeley DB libraries?
Date: Tue, 09 Mar 1999 12:40:00 -0000	[thread overview]
Message-ID: <199903092036.NAA04448@dogear.reversion.ca> (raw)

you just have to get db to compile with cygwin thinking its on a unix machine,
(as opposed to db realizing its on an intel box) and then link your code to the resulting libdb.a

Check the cygwin mail archives for the db code and your source code 
modifications you will need.  Specifically, I'm refering to the Message from 
Micheal Czapski dated Thu, 27, Aug, 1998.  (subject: gcc ... -U_WIN32.. may cause problems)

A correction to the code snippet listed there is:

	change the line: '#include' to '#include <unistd.h>'

It's a simple fix, and it beats compiling db with msvc++ and porting the .lib 
file over.

I would have included the snippet here, but do not have it online at the moment.

Craig Nelson, Cameo Systems Inc.
craig@reversion.ca

> From cygwin-return-1238-craig=reversion.ca@sourceware.cygnus.com Tue Mar  9 12:10 MST 1999
> Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
> Delivered-To: mailing list cygwin@sourceware.cygnus.com
> From: "Kevin Wright" <kwright@aspectdv.com>
> To: <cygwin@sourceware.cygnus.com>
> Subject: Any cygwin ports of Berkeley DB libraries?
> Date: Tue, 9 Mar 1999 11:07:39 -0800
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
> Importance: Normal
> 
> Hello,
> 
> I have searched the archives but didn't find any ports of the Berkeley DB
> libraries to cygwin. I'm trying to build some software which requires the
> libdb.a library.
> 
> I have tried to build this myself from the source code and always run into
> trouble. So far, I have tried to build versions 1.86, 2.3.16, & 2.7.3 with
> no luck.
> 
> Any help would be appreciated.
> 
> Kevin Wright
> Mountain View, CA
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: Craig Nelson <craig@reversion.ca>
To: cygwin@sourceware.cygnus.com, kwright@aspectdv.com
Subject: Re: Any cygwin ports of Berkeley DB libraries?
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <199903092036.NAA04448@dogear.reversion.ca> (raw)
Message-ID: <19990331194500.zCldpg30IOFReZsQxBHdSnGhCHlttcSaQjhndoHYzio@z> (raw)

you just have to get db to compile with cygwin thinking its on a unix machine,
(as opposed to db realizing its on an intel box) and then link your code to the resulting libdb.a

Check the cygwin mail archives for the db code and your source code 
modifications you will need.  Specifically, I'm refering to the Message from 
Micheal Czapski dated Thu, 27, Aug, 1998.  (subject: gcc ... -U_WIN32.. may cause problems)

A correction to the code snippet listed there is:

	change the line: '#include' to '#include <unistd.h>'

It's a simple fix, and it beats compiling db with msvc++ and porting the .lib 
file over.

I would have included the snippet here, but do not have it online at the moment.

Craig Nelson, Cameo Systems Inc.
craig@reversion.ca

> From cygwin-return-1238-craig=reversion.ca@sourceware.cygnus.com Tue Mar  9 12:10 MST 1999
> Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
> Delivered-To: mailing list cygwin@sourceware.cygnus.com
> From: "Kevin Wright" <kwright@aspectdv.com>
> To: <cygwin@sourceware.cygnus.com>
> Subject: Any cygwin ports of Berkeley DB libraries?
> Date: Tue, 9 Mar 1999 11:07:39 -0800
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
> Importance: Normal
> 
> Hello,
> 
> I have searched the archives but didn't find any ports of the Berkeley DB
> libraries to cygwin. I'm trying to build some software which requires the
> libdb.a library.
> 
> I have tried to build this myself from the source code and always run into
> trouble. So far, I have tried to build versions 1.86, 2.3.16, & 2.7.3 with
> no luck.
> 
> Any help would be appreciated.
> 
> Kevin Wright
> Mountain View, CA
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


             reply	other threads:[~1999-03-09 12:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-09 12:40 Craig Nelson [this message]
1999-03-31 19:45 ` Craig Nelson
  -- strict thread matches above, loose matches on Subject: below --
1999-03-09 11:11 Kevin Wright
     [not found] ` < 004001be6a60$1b423100$8f88f726@holstein.ASPECTDV.COM >
1999-03-10 15:27   ` Sebastien Barre
1999-03-31 19:45     ` Sebastien Barre
1999-03-31 19:45 ` Kevin Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199903092036.NAA04448@dogear.reversion.ca \
    --to=craig@reversion.ca \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=kwright@aspectdv.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).