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

Re: ocaml-source sources location



On Sun, Apr 07, 2002 at 01:08:47PM +0200, Remi VANICAT wrote:
> Sven <luther@dpt-info.u-strasbg.fr> writes:
> 
> > On Fri, Apr 05, 2002 at 04:28:53PM +0200, Remi VANICAT wrote:
> > > Sven <luther@dpt-info.u-strasbg.fr> writes:
> > > 
> > > 
> > > > Mmm, i guess that shiping the config/Makefile file should be
> > > > enough ? I just need to enable its inclusion i think, (that is add
> > > > it to the debian/ocaml-source.files file).
> > > > 
> > > > That said, utils/config.ml could also be nice to include (actually
> > > > only utils/config.mli and utils/config.mlp are included).
> > > 
> > > Yes I believe that this is the two file that can be useful.
> > > 
> > > It's seem that configure generate 3 file :
> > > 
> > > config/Makefile
> > > config/m.h
> > > config/s.h
> > > 
> > > so this is the file we need (config.ml can be automatically generate if
> > > those file exist)
> > > 
> > > > Err, because i do :
> > > > 
> > > >         # And finally the ocaml-source package.
> > > >         for i in `cat debian/ocaml-source.files`; do                    \
> > > >                 install -m 644 -D $$i                                   \
> > > >                         debian/ocaml-source/usr/lib/ocaml/source/$$i;   \
> > > >         done
> > > > 
> > > > For installing them.
> > > > 
> > > > If needed i would need a special case for the script, or simply drop the -m
> > > > 644 option ?
> > > 
> > > The possibility to execute the script is needed to rebuild
> > > camlp4. I don't know which of the two solution are the best, be we
> > > need one or the other
> > 
> > Huh ? what for do you need to rebuild camlp4 ? 
> 
> in fact I've done some test, and the problem is that make world
> rebuild camlp4... So if one want to rebuild some part of the compiler
> to link with it (say the typing system) he have to find in the
> Makefile the precise goal which is needed, and it is not really simple
> (and this can change in future ocaml release).

Mmm, i don't know, if you need to rebuilt whole part of ocaml, i guess you are
better off starting from the source package, not ocaml-source.

I think the ocaml-source package was more for people wanting to extract some
parts of the ocaml source, copy them over or use some symlinks or such, and
use your own makefile, or an adaptation of the makefile in the ocaml sources,
to build the part you need.

I go from the principle, that if you are doing this kind of things, you know
what you are doing anyway.

Also the source files can anyway not be compiled in place or such, since they
are owned by root, and should _not_ be played with (for security reasons and
other such).

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to debian-ocaml-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: