From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id BE8C9BB81 for ; Tue, 7 Dec 2004 18:15:08 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iB7HF8nT031556 for ; Tue, 7 Dec 2004 18:15:08 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA03745 for ; Tue, 7 Dec 2004 18:15:08 +0100 (MET) Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iB7HF7nZ011880 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 7 Dec 2004 18:15:07 +0100 Received: from [193.48.123.85] (d85.lama.univ-savoie.fr [193.48.123.85]) by post.bourget.univ-savoie.fr (8.12.3/jtpda-5.4) with ESMTP id iB7HF0AZ025401 ; Tue, 7 Dec 2004 18:15:00 +0100 Message-ID: <41B5E521.2020001@univ-savoie.fr> Date: Tue, 07 Dec 2004 18:15:13 +0100 From: Christophe Raffalli User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Cc: caml-list caml-list Subject: Re: [Caml-list] OS X and camlimages References: <200412062157.iB6LvtpX025619@post.bourget.univ-savoie.fr> <59134186-47DC-11D9-9DB0-000393DBC266@epfl.ch> In-Reply-To: <59134186-47DC-11D9-9DB0-000393DBC266@epfl.ch> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig45CF51CF6281A3154CB827EA" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Miltered: at concorde with ID 41B5E51C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41B5E51B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 caml-list:01 camlimages:01 wrote:01 camlimages:01 lib:01 compiler:01 cflags:01 compiler:01 flags:01 flags:01 X-Attachments: type="application/pgp-signature" name="signature.asc" name="signature.asc" X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig45CF51CF6281A3154CB827EA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Daniel Bünzli wrote: > > Le 6 déc. 04, ŕ 22:57, Christophe Raffalli a écrit : > > >> * I failed to compile cleanly camlimages on OS X (with fink) (I had to >> add -L/ >> sw/lib and -I/sw/include at the proper places ... > > > Maybe this should be documented in the INSTALL file : > > > ./configure --help > [...] > Some influential environment variables: > CC C compiler command > CFLAGS C compiler flags > LDFLAGS linker flags, e.g. -L if you have libraries in a > nonstandard directory > CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have > headers in a nonstandard directory > CPP C preprocessor > > Thanks. >> * By the way, do you know if and what part of camlimages can be >> compiled on >> OS X without any fink library. > > > Here, with X11 and ghostscript installed, configure ends with : > > External libraries: lablgl bmp ppm xpm freetype(2) ps So you say no way to have png, tiff jpeg in standrad apple SDK ? >> ld: warning multiple definitions of symbol _png_get_uint_31 >> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit(single >> module) definition of _png_get_uint_31 >> /sw/lib/libpng.dylib(pngrutil.pic.o) definition of _png_get_uint_31 > > > I don't think libpng is present on the system, it is not in /usr/lib. > And if you look at > the output of > > > otool -L /System/Library/Frameworks/AppKit.framework/AppKit > > you will see that the AppKit is not dynamically linked against any > libpng. If you grep for 'png' in the output of > > > nm /System/Library/Frameworks/AppKit.framework/AppKit I did all that, but still there seems to be a name collison between AppKit and libpng, while no png is listed in the header. > you'll see the symbols of png's api so it must be statically linked in > the Appkit. If true, that's a pity. > Greetings, > > Daniel > > P.S. More about that warning in man ld > You mean a way to choose which one you want to use ? I will have a look. Thanks. -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature. The public key is stored on www.keyserver.net --------------------------------------------- --------------enig45CF51CF6281A3154CB827EA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBteUhSQDyWB/+xBwRArVpAJ9cHNYDr322HumuI24B0f0PAbVaRwCcC3Xk AOxI+DInkpmhSseHagkG2E8= =FX4M -----END PGP SIGNATURE----- --------------enig45CF51CF6281A3154CB827EA--