Version française
Home     About     Download     Resources     Contact us    
Browse thread
Build error w/ Findlib on Mandrake 10.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Bobillot <damien.bobillot@m...>
Subject: Re: [Caml-list] Build error w/ Findlib on Mandrake 10.1

--Apple-Mail-2--365889958
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	delsp=yes;
	format=flowed


Le 31 mai 05 =E0 00:50, Matt Gushee a =E9crit :


> Hello, all--
>
> A user of my Bantam file manager has reported a very strange =20
> compilation error:
>
>   ocamlfind ocamlopt -package "unix str labltk" -c common.ml
>   ocamlfind ocamlopt -package "unix str labltk" -c util.ml
>   ocamlfind ocamlopt -package "unix str labltk" -c config.ml
>   ocamlfind ocamlopt -package "unix str labltk" -c images.ml
>   ocamlfind ocamlopt -package "unix str labltk" -c bantam.ml
>   ocamlfind ocamlopt -package "unix str labltk" -linkpkg -o =20
> bantam.bin \
>     common.cmx util.cmx config.cmx images.cmx bantam.cmx
>   Cannot find file /usr/lib/ocaml//labltk/labltk.so.cmxa
>   make: *** [opt] Error 2
>
> This user is not very familiar with OCaml; he is using the Mandrake =20=

> 10.1 RPM(s).
>
> Although I suspect there was an error on the part of whoever =20
> packaged OCaml (or Findlib) for Mandrake, perhaps there is an error =20=

> on my part. Just in case, I have included my Makefiles below.
>

Does the file /usr/lib/ocaml/labltk/labltk.so.cmxa exists ? Or the =20
file /usr/lib/ocaml//labltk/labltk.cmxa without ".so" ?

In my ocaml version, I don't have any .so in caml library names. Try =20
to create a symlink from labltk.so.cmxa to labltk.cmxa

Good luck

--=20
Damien Bobillot



--Apple-Mail-2--365889958
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQE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