Bug 468506
Summary: | file graphics.cma is missing in ocaml package | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Krauss <hippodriver> |
Component: | ocaml | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 11 | CC: | gemi, imain, rjones |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.11.0-3.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-07-19 10:18:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Krauss
2008-10-25 12:03:15 UTC
This was also reported on fedora-ocaml-list, although I couldn't manage to reproduce it: https://www.redhat.com/archives/fedora-ocaml-list/2008-September/msg00003.html To test ocaml package in rawhide, I installed Fedora 10 Snap3 on a ia32 machine. [mickraus@frodo ~]$ rpm -q ocaml ocaml-3.10.2-5.fc10.i386 [mickraus@frodo ~]$ rpm -ql ocaml | grep graphics /usr/lib/ocaml/graphics.a /usr/lib/ocaml/graphics.cmx /usr/lib/ocaml/graphics.cmxa /usr/lib/ocaml/graphics.mli /usr/lib/ocaml/libgraphics.a [mickraus@frodo ~]$ So graphics.cma is missing in rawhide too, resulting in the same error message as before. I'll have a look this morning. Nope, still can't reproduce this on Rawhide. The following works fine on both 32 bit and 64 bit Rawhide machines I have: $ ocaml Objective Caml version 3.10.2 # #load "graphics.cma";; # I think the problem may be that you need to install ocaml-runtime: $ rpm -ql ocaml | grep graphics /usr/lib64/ocaml/graphics.a /usr/lib64/ocaml/graphics.cmx /usr/lib64/ocaml/graphics.cmxa /usr/lib64/ocaml/graphics.mli /usr/lib64/ocaml/libgraphics.a $ locate /graphics.cma /usr/lib64/ocaml/graphics.cma $ rpm -qf /usr/lib64/ocaml/graphics.cma ocaml-runtime-3.10.2-5.fc10.x86_64 You are right, graphics.cma is in ocaml-runtime. But the problem still existed. So I compared Rawhide with a working Graphics module on an Arch installation. In the end I realized that the shared library /usr/lib/ocaml/stublibs/dllgraphics.so was missing on the Fedora installation. Google showed the library being part of the ocaml-x11 package. After installing this the Graphics module is working now. Thanks for your help. Reopening - this is actually a bug. I just hit this today and was able to resolve my troubles because I found this bug. Just wanted to give it a bump. :) ocaml-3.11.0-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/ocaml-3.11.0-3.fc11 ocaml-3.11.0-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ocaml'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5964 This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping ocaml-3.11.0-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |