caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Samuel Hornus <samuel.hornus@inria.fr>
To: O Caml <caml-list@inria.fr>
Subject: Re: [Caml-list] camlimages problems on mac
Date: Tue, 13 Nov 2012 12:28:33 +0100	[thread overview]
Message-ID: <F0430E97-F87A-4987-9AE2-41C741219558@inria.fr> (raw)
In-Reply-To: <63455026-B336-4506-A3C2-E3A87AE9052D@gmail.com>


Merci Pierre-Étienne ! With your patch, I was able to compile camlimages with full support for all file formats. I also noticed that MacPorts actually applies the same patch, yet the MacPorts version does not work. I suspect that's because the MacPorts' patch fails to add -I/opt/local/include and -L/opt/local/lib to the OMakefile before compiling.
-- 
Sam

On Nov7, 2012, at 15:43 , Pierre-Etienne Meunier wrote:

> A while ago, I sent Pierre Weis a patch to make camlimages compatible with the new versions of libpng. I do not know if he used it, but please find it attached. This should solve the first problem. Next, there is a bug in omake, which prevents the libraries from being detected properly. The "dummy" version of the files get used instead of the correct ones. A friend of mine, Florian Hatat, sent a correction for ubuntu. We did not test it on mac.
> 
> Maybe some ocamlbuild expert could write some tags to make camlimages compile with ocamlbuild ? This library is really useful, only the build system is hard to use.
> 
> Cheers,
> Pierre
> 
> <png.diff>

      reply	other threads:[~2012-11-13 11:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 12:52 Samuel Hornus
2012-11-07 13:20 ` Alan Schmitt
2012-11-07 14:04   ` Samuel Hornus
2012-11-07 14:22     ` AW: " Gerd Stolpmann
2012-11-07 14:30     ` Alan Schmitt
2012-11-07 14:43 ` Pierre-Etienne Meunier
2012-11-13 11:28   ` Samuel Hornus [this message]

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=F0430E97-F87A-4987-9AE2-41C741219558@inria.fr \
    --to=samuel.hornus@inria.fr \
    --cc=caml-list@inria.fr \
    /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).