* Any cygwin ports of Berkeley DB libraries?
@ 1999-03-09 11:11 Kevin Wright
[not found] ` < 004001be6a60$1b423100$8f88f726@holstein.ASPECTDV.COM >
1999-03-31 19:45 ` Kevin Wright
0 siblings, 2 replies; 6+ messages in thread
From: Kevin Wright @ 1999-03-09 11:11 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: < 004001be6a60$1b423100$8f88f726@holstein.ASPECTDV.COM >]
* Re: Any cygwin ports of Berkeley DB libraries?
[not found] ` < 004001be6a60$1b423100$8f88f726@holstein.ASPECTDV.COM >
@ 1999-03-10 15:27 ` Sebastien Barre
1999-03-31 19:45 ` Sebastien Barre
0 siblings, 1 reply; 6+ messages in thread
From: Sebastien Barre @ 1999-03-10 15:27 UTC (permalink / raw)
To: Kevin Wright; +Cc: cygwin
At 11:07 09/03/99 -0800, Kevin Wright wrote:
>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.
Well, seems to me that I'm finally gonna be able to help someone in this
list :)
I successfully built/tested/installed 2.7.3, and here is the patch, which
was not that obivous :( I also made a bug report to the author :
vvvvv CUT HERE vvvvv
diff -urN db-2.7.3-orig/mutex/mutex.c db-2.7.3/mutex/mutex.c
--- db-2.7.3-orig/mutex/mutex.c Tue Nov 10 17:52:03 1998
+++ db-2.7.3/mutex/mutex.c Sat Mar 06 13:06:09 1999
@@ -117,7 +117,7 @@
#define TSL_UNSET(tsl) (*(tsl) = 0)
#endif
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(HAVE_ASSEM_X86_GCC)
/*
* XXX
* DBDB this needs to be byte-aligned!!
diff -urN db-2.7.3-orig/os/os_fsync.c db-2.7.3/os/os_fsync.c
--- db-2.7.3-orig/os/os_fsync.c Mon Oct 12 15:33:53 1998
+++ db-2.7.3/os/os_fsync.c Sat Mar 06 13:08:01 1999
@@ -38,7 +38,7 @@
#ifdef __hp3000s900
#define fsync(fd) __mpe_fsync(fd);
#endif
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
#define fsync(fd) _commit(fd);
#endif
^^^^ CUT HERE ^^^^^
cd db-2.7.3
patch -p1 < the_path
______________________________________________________________
Sebastien Barre http://www.hds.utc.fr/~barre/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any cygwin ports of Berkeley DB libraries?
1999-03-10 15:27 ` Sebastien Barre
@ 1999-03-31 19:45 ` Sebastien Barre
0 siblings, 0 replies; 6+ messages in thread
From: Sebastien Barre @ 1999-03-31 19:45 UTC (permalink / raw)
To: Kevin Wright; +Cc: cygwin
At 11:07 09/03/99 -0800, Kevin Wright wrote:
>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.
Well, seems to me that I'm finally gonna be able to help someone in this
list :)
I successfully built/tested/installed 2.7.3, and here is the patch, which
was not that obivous :( I also made a bug report to the author :
vvvvv CUT HERE vvvvv
diff -urN db-2.7.3-orig/mutex/mutex.c db-2.7.3/mutex/mutex.c
--- db-2.7.3-orig/mutex/mutex.c Tue Nov 10 17:52:03 1998
+++ db-2.7.3/mutex/mutex.c Sat Mar 06 13:06:09 1999
@@ -117,7 +117,7 @@
#define TSL_UNSET(tsl) (*(tsl) = 0)
#endif
-#if defined(_WIN32)
+#if defined(_WIN32) && !defined(HAVE_ASSEM_X86_GCC)
/*
* XXX
* DBDB this needs to be byte-aligned!!
diff -urN db-2.7.3-orig/os/os_fsync.c db-2.7.3/os/os_fsync.c
--- db-2.7.3-orig/os/os_fsync.c Mon Oct 12 15:33:53 1998
+++ db-2.7.3/os/os_fsync.c Sat Mar 06 13:08:01 1999
@@ -38,7 +38,7 @@
#ifdef __hp3000s900
#define fsync(fd) __mpe_fsync(fd);
#endif
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
#define fsync(fd) _commit(fd);
#endif
^^^^ CUT HERE ^^^^^
cd db-2.7.3
patch -p1 < the_path
______________________________________________________________
Sebastien Barre http://www.hds.utc.fr/~barre/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Any cygwin ports of Berkeley DB libraries?
1999-03-09 11:11 Any cygwin ports of Berkeley DB libraries? Kevin Wright
[not found] ` < 004001be6a60$1b423100$8f88f726@holstein.ASPECTDV.COM >
@ 1999-03-31 19:45 ` Kevin Wright
1 sibling, 0 replies; 6+ messages in thread
From: Kevin Wright @ 1999-03-31 19:45 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any cygwin ports of Berkeley DB libraries?
@ 1999-03-09 12:40 Craig Nelson
1999-03-31 19:45 ` Craig Nelson
0 siblings, 1 reply; 6+ messages in thread
From: Craig Nelson @ 1999-03-09 12:40 UTC (permalink / raw)
To: cygwin, kwright
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any cygwin ports of Berkeley DB libraries?
1999-03-09 12:40 Craig Nelson
@ 1999-03-31 19:45 ` Craig Nelson
0 siblings, 0 replies; 6+ messages in thread
From: Craig Nelson @ 1999-03-31 19:45 UTC (permalink / raw)
To: cygwin, kwright
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-03-31 19:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-09 11:11 Any cygwin ports of Berkeley DB libraries? 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
1999-03-09 12:40 Craig Nelson
1999-03-31 19:45 ` Craig Nelson
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).