From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA03909; Sun, 11 Jul 2004 21:46:53 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 VAA02450 for ; Sun, 11 Jul 2004 21:46:52 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i6BJkpEV011938 for ; Sun, 11 Jul 2004 21:46:51 +0200 Received: from dyn-83-155-161-92.ppp.tiscali.fr (83.155.161.92) by mail.libertysurf.net (6.5.036) id 40F0C43E00133DAD for caml-list@inria.fr; Sun, 11 Jul 2004 21:46:51 +0200 From: Florent Monnier Organization: l'Association Linux-Nantes To: ocaml Subject: [Caml-list] Magick wrap Date: Sun, 11 Jul 2004 21:54:11 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200407112150.25293.fmonnier@linux-nantes.fr.eu.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 40F1992B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; monnier:01 monnier:01 lacks:01 matthieu:01 dubuget:01 tiscali:99 libs:01 usr:01 .0.0.0:01 usr:01 .0.0.0:01 ocaml:01 ocaml:01 lib:01 lib:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk hi, I would like to write a simple image manipulation program, I have first made some experiments with php and image-magick http://grincheux.codelutin.org/~monnier/php/conjure/ But PHP lacks with the gtkDrawingArea stability, due to a memory leak. As OCaml is the nicest language of the world :) I would like to work with it. Matthieu Dubuget have show me how to use OCamlMakefile http://north.chez.tiscali.fr/IM/imagemagick-ocaml-wrap.tgz but the problem is that the binary does not work on my system. The error message is " Unable to open file () " and it seems this problem comes from that there are 2 different versions of the libMagick on my system [see at the end of the mail for details]. So my question is how can one deal with versions of the installed libs when wraping C and OCaml ? ++ cheers -- -------------------------------- /usr/lib/libMagick.so -> libMagick-5.5.4.so.0.0.0 /usr/lib/libMagick.so.5 -> /usr/lib/libMagick-5.5.4.so.0.0.0 /usr/lib/libMagick-5.5.4.so.0.0.0 /usr/local/lib/libMagick.so -> libMagick.so.6.0.1 /usr/local/lib/libMagick.so.6 -> libMagick.so.6.0.1 /usr/local/lib/libMagick.so.6.0.1 -------------------------------- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners