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

Re: Hi, packaging mldonkey, rpath + other questions



Sven LUTHER <luther@dpt-info.u-strasbg.fr> writes:

> On Mon, Sep 09, 2002 at 11:57:01AM +0200, Goswin Brederlow wrote:
> > Christian Perrier <bubulle@debian.org> writes:
> Nice :)))
> 
> Saddly, not all ocaml package are that clean.

autoconf. :)

> > > IMHO, this allows minimal modification of original sources....and it
> > > properly deals with the presence/lack of optimised compilers. I could
> > > also "edit" Makefile.inc on the fly...
> > > 
> > > Of course, my package Build-Depends on ocaml-best-compilers as it was
> > > previously written...
> > > 
> > > All this works well, though I'm not really an ocaml specialist (I'm
> > > far more a genealogist...:-))
> > 
> > I want to make a binary-all package of the bytecompiled version. Unless
> > I misunderstood other replies here bytecompiled ocaml (with the proper
> > flags) should run on all archs without change.
> 
> :)))
> 
> If you agree, i will be nextly writing something about this in the
> ocaml_packaging_policy, and we can iron out any other problem you will
> be encountering about it.

Sure, write it up, I might actually come around to reading the thing.
 
> > For speed reasons I also want to provide a optimised version on archs
> > that support it. The above tests find the right (best) ocamlopt. But
> > how do I know that there is one at all? I don't want to build a deb on
> > archs that don't have ocamlopt. Using arch=i386,alpha,... in the
> > control field would need a change when more archs get a ocamlopt. i
> > would prefer a more automatic way.
> 
> Mmm, i thought some day about having a file shipped with the ocaml
> package that list all supported architectures, so you could simply add
> this to the control file (with a varsubst or something such).
> 
> But i am not entirely sure if it will work or not.
> 
> That said, if you build depend on ocaml-native-compilers, then the
> package will not be build on arches that don't support the native
> compilers, but i guess this is not a solution.

I think thats the right[tm] way. I need ocamlopt to build so I
Build-depend on it. Any arch that provides it will build the
deb. Archs that don't have it shouldn't get the packages assigned for
building by wanna-build. That should work out fine.

MfG
        Goswin



Reply to: