Closed protz closed 11 years ago
Hi,
Thank you for the 0.80 package. For the 0.81 package, I added the installation of the why3 library. For that I needed to patch the configure.in. That seems to be the problem: Is it correct that you are cross compiling? Is it correct that your version of autoconf doesn't like the macro of the why3 configure.in? I should have patched the configure file instead of the configure.in. I will correct that.
ps: It seems that the bug reports for particular opam package should be created in the opam-repository issue tracker instead of the opam one.
Thanks again,
François
Hi,
configure.in:338: warning: Cannot check for file existence when cross compiling
configure.in:357: warning: Cannot check for file existence when cross compiling
configure.in:391: warning: Cannot check for file existence when cross compiling
configure.in:449: warning: Cannot check for file existence when cross compiling
configure.in:546: warning: Cannot check for file existence when cross compiling
autoconf: Undefined macros:
configure.in:142: AC_MSG_RESULT(.exe <Cygwin>)
configure.in:148: AC_MSG_RESULT(.exe <MinGW>)
configure.in:153: AC_MSG_RESULT(<none>)
configure.in:187: AC_MSG_WARN(Cannot find ocamlopt; bytecode compilation only.)
configure.in:192: AC_MSG_RESULT(differs from ocamlc; ocamlopt discarded.)
configure.in:195: AC_MSG_RESULT(ok)
configure.in:213: AC_MSG_RESULT(differs from ocamlc; ocamlc.opt discarded.)
configure.in:215: AC_MSG_RESULT(ok)
configure.in:227: AC_MSG_RESULT(differs from ocamlc; ocamlopt.opt discarded.)
configure.in:229: AC_MSG_RESULT(ok)
configure.in:263: AC_MSG_WARN(Cannot find ocamldoc)
configure.in:303: AC_MSG_WARN([Cannot find rubber, documentation disabled.])
configure.in:315: AC_MSG_WARN([Cannot find hevea, HTML documentation disabled.])
configure.in:325: AC_MSG_WARN([Cannot find hacha, HTML documentation disabled.])
configure.in:340: AC_MSG_WARN([Lib lablgtk2 not found, IDE disabled.])
configure.in:359: AC_MSG_WARN([Lib lablgtksourceview2 not found, IDE disabled.])
configure.in:376:dnl AC_MSG_WARN(Lib sqlite3 not found, IDE disabled.)
configure.in:393: AC_MSG_WARN([Lib sqlite3 not found, why3bench disabled.])
configure.in:410: AC_MSG_WARN(coq support disabled)
configure.in:416: AC_MSG_WARN(Cannot find coqc.)
configure.in:427: AC_MSG_RESULT($COQVERSION)
configure.in:432: AC_MSG_RESULT($COQVERSION)
configure.in:436: AC_MSG_WARN(You need Coq 8.3 or later; Coq discarded)
configure.in:468: AC_MSG_WARN(Cannot find coqc.)
configure.in:479: [ AC_MSG_RESULT(yes) ],
configure.in:480: [ AC_MSG_RESULT(no)
configure.in:482: AC_MSG_WARN(Cannot find Flocq.)
configure.in:491: AC_MSG_WARN(PVS support disabled)
configure.in:497: AC_MSG_WARN(Cannot find pvs.)
configure.in:507: AC_MSG_RESULT($PVSVERSION)
configure.in:510: AC_MSG_RESULT($PVSVERSION)
configure.in:512: AC_MSG_WARN(You need PVS 6.0 or higher; PVS discarded)
configure.in:533: AC_MSG_RESULT($enable_pvs_nasa_libs)
configure.in:548: AC_MSG_WARN([Lib ocamlgraph not found, hypothesis selection disabled.])
configure.in:557: AC_MSG_WARN(Cannot find Frama-C.)
configure.in:562: FRAMAC_VERSION=`$FRAMAC -version | sed -n -e 's|Version: *\(.*\)$|\1|p'`
configure.in:563: AC_MSG_RESULT($FRAMAC_VERSION)
configure.in:564: case $FRAMAC_VERSION in
configure.in:566: *) AC_MSG_WARN(Version Oxygen-20120901 required.)
configure.in:571: FRAMAC_SHARE=`$FRAMAC -print-path`
configure.in:572: FRAMAC_LIBDIR=`$FRAMAC -print-libpath`
configure.in:661:AC_SUBST(FRAMAC_VERSION)
configure.in:662:AC_SUBST(FRAMAC_SHARE)
configure.in:663:AC_SUBST(FRAMAC_LIBDIR)
configure.in:676:AC_CONFIG_FILES(Makefile src/config.sh doc/version.tex)
configure.in:677:AC_CONFIG_FILES(share/provers-detection-data.conf lib/why3/META)
configure.in:678:AC_CONFIG_FILES(src/jessie/Makefile)
configure.in:679:AC_CONFIG_COMMANDS([chmod],
configure.in:726: echo " Version : $FRAMAC_VERSION"
configure.in:727: echo " Share path : $FRAMAC_SHARE"
configure.in:728: echo " Library path : $FRAMAC_LIBDIR"
I'll make sure I create the bug report in the opam-repository next time.
Thanks for the quick report, and let me know if you want me to test further changes to configure.in, I still have a build directory ready to try any further patches.
jonathan
PS: if you tell me which version of autoconf you need, I can try running it. For instance, running 'autoconf 2.50' gives me the empty output, i.e. autoconf seems happy :)
I'm using autoconf 2.69 (stable debian version is 2.67). But the why3 opam package shouldn't depend on autoconf.
Can you add temporarily my repository and test the new why3 package? opam remote add bobot git://github.com/bobot/opam-repository.git
PS: GitHub is great just by writing in the commit message OCamlPro/opam#577 an hyperlink is created to this issue and conversely!!! (if the issue was in the opam-repository #Num would have been sufficient ;) )
The new package works just fine, many thanks!
I recently uploaded a why3-0.80 package which compiled fine, but the 0.81 version doesn't work anymore.
CC @bobot @claudemarche