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 C6AFD7F256 for ; Wed, 7 Nov 2012 14:20:40 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.80,730,1344204000"; d="scan'208";a="161681374" Received: from top.irisa.fr ([131.254.16.41]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 07 Nov 2012 14:20:40 +0100 From: Alan Schmitt To: Samuel Hornus Cc: O Caml References: <3A52788A-5B74-490E-9678-5C5C1578C524@inria.fr> Date: Wed, 07 Nov 2012 14:20:37 +0100 In-Reply-To: <3A52788A-5B74-490E-9678-5C5C1578C524@inria.fr> (Samuel Hornus's message of "Wed, 7 Nov 2012 13:52:18 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] camlimages problems on mac Samuel Hornus writes: > Hello, > > When installing camlimages 4.0.1 with MacPort (Mac OS X 10.7.5, Latest Ma= cPorts), > the resulting camlimages has no support for JPEG, PNG, PPM, XPM, etc=E2= =80=A6 > which makes it sort of useless. > > When compiling the source using omake, the same happens. It can find > the header files, but can't find specific functions inside. > > The source code for camlimages seems perhaps outdated w.r.t. changes > in the API of libpng, libjpg, giflib, tifflib, etc=E2=80=A6 > > Could anyone confirms this dire state of affairs? Is there a > "modernizer" patch floating around? or some work in progress? Is it > the same on Linux? I just tried to configure it using godi, and this is what is supported on my system: External libraries: lablgtk2 bmp ppm png jpeg tiff freetype(2) ps Most of my image libraries are installed through homebrew (I see for instance "jpeg" or "libpng", I don't know where the ppm support comes from). To get support for gifs, I installed giflib (still through homebrew). After doing this, camlimages seems to compile fine. Alan