caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Brown <caml-list@davidb.org>
To: Paul Snively <psnively@mac.com>
Cc: Lionel Sacks <lionelsacks@yahoo.co.uk>, caml-list@inria.fr
Subject: Re: [Caml-list] Shared library problem (newbi)
Date: Sun, 15 Aug 2004 14:57:00 -0700	[thread overview]
Message-ID: <20040815215700.GA16004@old.davidb.org> (raw)
In-Reply-To: <00406B8B-EED2-11D8-B061-000A27DEEC20@mac.com>

[-- Attachment #1: Type: text/plain, Size: 1383 bytes --]

On Sun, Aug 15, 2004 at 08:44:32AM -0700, Paul Snively wrote:

> Longer answer: apparently the version of O'Caml provided as a Fink 
> package was not compiled with the correct link options.
> 
> Slightly longer answer still: don't use Fink; it almost always ends up 
> costing you more than it buys you. You can build O'Caml, gtk, and 
> lablgtk from source. The trick when you build O'Caml, though, will be 
> to ensure that the LDFLAGS that the stub libraries get include "-bundle 
> -undefined suppress -flat_namespace". There's actually a good 
> discussion of the issues at 
> <http://fink.sourceforge.net/doc/porting/shared.php?phpLang=en>

"Fink is broken, don't use it" is a silly answer.  How about reporting a
bug?  Other than a strange bug that isn't reproduceable, no-one has ever
filed a bug against ocaml, so until this point, I've never had any reason
to think there was something wrong with the fink package.

Actually, the fink script just builds ocaml, and only specifies options
because of the prefix.  If it isn't building correctly on OSX, probably
most people who build it themselves would do it wrong as well.  In this
case, the bug would be against ocaml itself.

But, if it could be fixed, fink allows the package to include patches, at
which point it becomes significantly more helpful than trying to compile it
yourself.

Dave

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-08-15 21:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15 13:08 Lionel Sacks
2004-08-15 15:44 ` Paul Snively
2004-08-15 21:57   ` David Brown [this message]
2004-08-18  2:53 ` Jacques Garrigue

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=20040815215700.GA16004@old.davidb.org \
    --to=caml-list@davidb.org \
    --cc=caml-list@inria.fr \
    --cc=lionelsacks@yahoo.co.uk \
    --cc=psnively@mac.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 NNTP newsgroup(s).