Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #323
Closed
Open
Issue created Apr 28, 2014 by mantis-gitlab-migration@mantis-gitlab-migration

Configure step fails on bytecode architectures

ID0001763: This issue was created automatically from Mantis Issue 1763. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001763 Frama-C Kernel > configure public 2014-04-28 2017-08-12
Reporter mehdi Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Neon-20140301 Target Version - Fixed in Version -

Description :

The configure step fails on pure bytecode architectures with the following message:

checking for /usr/lib/ocaml/ocamlgraph/graph.cmo... yes configure: OcamlGraph 1.8.5 > 1.8.4 found: should be compatible, but no warranty. Use it at your own risk! configure: OcamlGraph 1.8.5 is incompatible with Frama-C. configure: switching to OcamlGraph provided by Frama-C checking for ocamlgraph... no checking for ocamlgraph.tar.gz... no configure: error: cannot find OcamlGraph in the current directory. Quite strange: would your Frama-C distribution be corrupted? Anyway:

  1. download the latest version from http://ocamlgraph.lri.fr/download
  2. install it by './configure && make && make install'
  3. rerun ./configure here make[1]: *** [override_dh_auto_configure] Error 1

It is due to the fact that the script tries to compile a test program linking against the OCamlgraph library in the native case and calls ocamlgraph_error in the bytecode case instead of trying to compile the test program.

In order to make Frama-C build on bytecode architecture, I've disabled that call to ocamlgraph_error.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking