Cannot switch to local version if OCamlgraph is already installed
ID0001770: This issue was created automatically from Mantis Issue 1770. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0001770 | Frama-C | Kernel > configure | public | 2014-05-01 | 2015-03-17 |
Reporter | rbonichon | 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 | Frama-C Sodium |
Description :
I have OCamlgraph 1.8.5 on my machine, which is apparently incompatible with Frama-C Neon. However, I cannot force a switch to the local version with
./configure --enable-local-ocamlgraph
I am not sure if this option was intended to force the use of the local version.
Additional Information :
The attached patch forces the use of the local ocamlgraph library when --enable-local-ocamlgraph has been given.
Basically, it encapsulates the search for an external library into a conditional which test the presence of then --enable-local switch.
Steps To Reproduce :
Install external ocamlgraph library (1.8.5. for example, through opam) Run ./configure --enable-local-ocamlgraph
VERBOSEMAKE=yes make
should show that the external ocamlgraph library is in the include path whereas the local one is not.