From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id CF38C7EE20 for ; Tue, 13 Nov 2012 12:28:35 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.80,765,1344204000"; d="scan'208";a="162293825" Received: from rhodamine.loria.fr ([152.81.2.177]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 13 Nov 2012 12:28:34 +0100 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1283) From: Samuel Hornus In-Reply-To: <63455026-B336-4506-A3C2-E3A87AE9052D@gmail.com> Date: Tue, 13 Nov 2012 12:28:33 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3A52788A-5B74-490E-9678-5C5C1578C524@inria.fr> <63455026-B336-4506-A3C2-E3A87AE9052D@gmail.com> To: O Caml X-Mailer: Apple Mail (2.1283) Subject: Re: [Caml-list] camlimages problems on mac Merci Pierre-=C9tienne ! With your patch, I was able to compile camlimages = with full support for all file formats. I also noticed that MacPorts actual= ly applies the same patch, yet the MacPorts version does not work. I suspec= t that's because the MacPorts' patch fails to add -I/opt/local/include and = -L/opt/local/lib to the OMakefile before compiling. --=20 Sam On Nov7, 2012, at 15:43 , Pierre-Etienne Meunier wrote: > A while ago, I sent Pierre Weis a patch to make camlimages compatible wit= h 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 o= make, which prevents the libraries from being detected properly. The "dummy= " version of the files get used instead of the correct ones. A friend of mi= ne, Florian Hatat, sent a correction for ubuntu. We did not test it on mac. >=20 > Maybe some ocamlbuild expert could write some tags to make camlimages com= pile with ocamlbuild ? This library is really useful, only the build system= is hard to use. >=20 > Cheers, > Pierre >=20 >