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

Re: /usr/include/caml && /usr/include/ocaml



On Tue, Feb 19, 2002 at 03:57:59PM +0100, Stefano Zacchiroli wrote:
> On Tue, Feb 19, 2002 at 03:50:35PM +0100, Sven wrote:
> > That said, the ocaml package includes :
> > 
> > ./usr/include/caml -> ocaml
> 
> This cause problems with camlidl. Currently camlidl contains
> /usr/include/caml/camlidlruntime.h but currently does not "depends" on
> ocaml package but only recommends it, this is because camlidl may be
> used even without ocaml to generate stubs IIRC.

Mmm, i see ...

> So if camlidl is installed before ocaml, /usr/include/caml will be
> created by the installation of camlidl, next ocaml package try to make
> /usr/include/caml a symlink at obviously it fails.

The obvious solution would be to modify camlidl to install in
/usr/include/ocaml also.

> So, IMO, is better to have /usr/include/caml the "real" directory and
> /usr/include/ocaml the symlink.

But, you are right, i will backup this thingy, and only keep the symlink from
/usr/include/caml to /usr/lib/ocaml/caml (well the opposite actually).

Friendly,

Sven Luther



Reply to: