[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ocamlfind problem



On Wed, Mar 22, 2006 at 04:30:04PM +0800, Paul Wise wrote:
> Hi all,
> 
> Sorry if this is the wrong list to ask this on...
> 
> My package (mtasc) is written in ocaml and FTBFS on some platforms[1]
> with this message:
> 
> ocamlfind: Not supported in your configuration: ocamlopt
> 
> How should I deal with this?
> 
>      1. http://buildd.debian.org/~vorlon/packagesumm.php?packages=mtasc

Those plateforms are m68, mips, mispel, s390 and possibly hppa if this is
etch/sid.

You should read the ocaml packaging policy (/usr/share/doc/ocaml_packaging.txt
or something such, don't remember out of my head), and more to the point, the
part where it mentions you have to not assume that the native code compiler
(ocamlopt) is present, but check for its existence before building the native
code compiler.

I don't know about mtasc, but chances are good you can take either of ledit
(only bytecode), spamoracle (bytecode and nativecode) or advi (bytecode or
nativecode) as examples.

Friendly,

Sven Luther





Reply to: