Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] bug in ocamlmklib ? pb to make a camlimages Godi package?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <Christophe.Raffalli@u...>
Subject: [Caml-list] bug in ocamlmklib ? pb to make a camlimages Godi package?

I tried to use godiva to make a camlimages packages and I think I found 
a bug in ocamlmklib, but I am not sure ...

Using godi and my package, the following compilation line is generated 
and fails:

 >     ocamlmklib -linkall -o ci_jpeg \
 >        jpeg.cmx oJpeg.cmx -cclib "-Wl,-R/usr/local/godi/lib 
-L/usr/local/godi/lib" -ljpeg; \
 >   fi
 > /usr/local/godi/bin/ocamlopt: unknown option `-L/usr/local/godi/lib'.
 > Usage: ocamlopt <options> <files>

It seems that the option -cclib "-Wl,-R/usr/local/godi/lib 
-L/usr/local/godi/lib" is not well transmitted by ocamlmklib to
ocamlopt ...

I tried to patch the configure file from camlimages, but it seems I 
can't figure our who is generating the option
-cclib "-Wl,-R/usr/local/godi/lib -L/usr/local/godi/lib"
I think adding a comma should work ... but I do not know where to put it.

-- 
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
---------------------------------------------