Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: ocaml-3.07beta2 on Cygwin #8259

Closed
vicuna opened this issue Aug 29, 2003 · 1 comment
Closed

Re: ocaml-3.07beta2 on Cygwin #8259

vicuna opened this issue Aug 29, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 29, 2003

Original bug ID: 1808
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hello,

just realized that GDBM also was not found because Cygwin has the latest
version with libgdbm_compat.a but not with gdbm-ndbm.h, there are only
gdbm.h and ndbm.h headers, and the test looks onkly in libgdbm.a for
dbm_open where it seems to be no longer, therefore the change needed for
Cygwin to get a full build out of the tarball is:

diff -Nurd ocaml-3.07beta2~/configure ocaml-3.07beta2/configure
--- ocaml-3.07beta2~/configure 2003-08-20 17:10:58.000000000 +0200
+++ ocaml-3.07beta2/configure 2003-08-29 16:10:30.000000000 +0200
@@ -1194,6 +1194,7 @@
do
if test -f $dir/libX11.a ||
test -f $dir/libX11.so || \

  • test -f $dir/libX11.dll.a || \
    test -f $dir/libX11.sa; then
    
    if test $dir = /usr/lib; then
    x11_link="-lX11"
    @@ -1240,6 +1241,8 @@
    dbm_link="-ldb1"
    elif sh ./hasgot -lgdbm dbm_open; then
    dbm_link="-lgdbm"
  • elif sh ./hasgot -lgdbm_compat -lgdbm dbm_open; then
  •  dbm_link="-lgdbm_compat -lgdbm"
    
    fi
    break
    fi

END

Previous mail:

diff -Nurd ocaml-3.07beta2~/configure ocaml-3.07beta2/configure
--- ocaml-3.07beta2~/configure 2003-08-20 17:10:58.000000000 +0200
+++ ocaml-3.07beta2/configure 2003-08-29 15:23:24.000000000 +0200
@@ -1194,6 +1194,7 @@
do
if test -f $dir/libX11.a ||
test -f $dir/libX11.so || \

  • test -f $dir/libX11.dll.a || \
    test -f $dir/libX11.sa; then
    
    if test $dir = /usr/lib; then
    x11_link="-lX11"

#END

Gerrit

=^..^=

@vicuna
Copy link
Author

vicuna commented Aug 29, 2003

Comment author: administrator

Fixed 2003-08-29 by XL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant