Description of problem:
ocaml-curl-devel should depend on libcurl-devel, but it does not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
With ocaml-curl-devel installed but not libcurl-devel:
1. touch foo.ml
2. ocamlfind ocamlc -o foo -package curl -linkpkg foo.ml
/usr/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status
File "foo.ml", line 1, characters 0-1:
Error: Error while building custom runtime system
Generate a runnable program 'foo'.
I have committed a change which adds curl-devel as a Requires: for both the ocaml-curl and ocaml-curl-devel packages. Since ocaml-curl uses -custom rather than ocamlmklib for building the cma file, the curl-devel package is required to use it in the toplevel (and ocamlmktop is required for toplevel use).
Therefore, I propose this hard-wired dependency as a temporary solution until upstream starts using ocamlmklib (bug 712635). If this is an acceptable solution, let me know & I can start a rawhide build and merge it to f15 as well.
Seems good to me ...
ocaml-curl-0.5.3-3.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ocaml-curl-0.5.3-3.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
ocaml-curl-0.5.3-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.