Re: OCaml and static linking (was old thread: Re: Issues with Ocaml and Static Linking)

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

 



On 5/28/07, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
Toshio Kuratomi wrote:
> Thanks!  To my un-OCaml eyes, that looks pretty good.  I have one
> question:
> '''
> There are two scripts in the base ocaml package which automatically
> calculate the right Requires and Provides for a library. To use them,
> just add the following to the spec file:
>
> %define _use_internal_dependency_generator 0
> %define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
> %define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
> '''
>
> The version of ocaml-find-* scripts that were posted to the list only
> appeared to find ocaml requires and provides.  But OCaml can link to C
> code as well.  Do we want to turn off the internal_dependency_generator
> or do we want to supplement it?

I've attached the latest versions to this bug:

   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239004

These versions call the ordinary find-requires and find-provides first,
before going on to look at OCaml-specific files.  And they appear to
find C dependencies (.so files and the like).  For example, here is my
ocaml-pcre package[1], which is a library which links to the C PCRE lib:


Thanks, those scripts look good.

-Toshio
-Toshio

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux