STR-739: --with-aterm and --with-sdf were needed even without --prefix. strategoxt-manual-stable-latest/manual/installation.html didnt work.
The instructions in 2.2.1. Using Source Distributions http://nix.cs.uu.nl/dist/stratego/strategoxt-manual-stable-latest/manual/installation.html failed on a current Fedora 8.
It was necessary to add –with-aterm=/usr/local and –with-sdf=/usr/local . The first for sdf, and both for strategoxt.
Using the documented ./configure with no arguments failed with
checking for ATERM… configure: error: Package requirements (aterm) were not met:
No package ‘aterm’ found
strategoxt-packages-338908Submitted on 29 February 2008 at 18:06
I’m not sure if the installation instructions should be updated for this?
It might be good to add a note like “if aterm is not found, specify its location or add /usr/local/lib/pkgconfig” to your PKG_CONFIG_PATH."
I’ve added –with-aterm=/usr/local and –with-sdf=/usr/local where relevant (sdf2-bundle and strategoxt).
This should avoid the problem reported in this bug. Of course, we should do an extra check that our autodetect works as we want it to. If the sdf2-bundle or strategoxt –prefix is /foo/bar, we should probably also check for aterm and sdf2-bundle in /foo/bar.
Log in to post comments