On 25/03/2016 06:08, Nathan Kurz wrote:
compiler/perl had an initial issue with an error telling me to
recompile with PIC. I think this was cross contamination from
compile/c with a different compiler. It worked the second try after a
'perl Build clean'. Not sure if this is a problem or not, but was
easy to work around.
Yes, you should always run "make clean" or "./Build clean" before switching
host languages.
compiler/python failed to build with lots of C compiler errors. I
don't use Python much, so it's possible I missed some initial step.
There's no INSTALL file in the directory, so I fumbled my way to
"python setup.py build" based on the error messages with other
variations. Also possible something is wonky with my Python install.
Error message is attached.
The Python bindings are work in progress and not relevant for the 0.5 release.
The error message might be helpful, though.
compiler/go gave me an error message about "GOPATH environment
variable not set". I presume this is something obvious and basic that
anyone who has used Go knows about, but maybe worth adding a sentence
to the INSTALL file for beginners. The current instructions (which I
didn't follow correctly) presumed that GOPATH was already set, and I
wasn't sure what to set it to if it wasn't. Again, probably not a
real issue.
See devel/bin/travis-test.sh or lucy/devel/bin/test_all.sh for some guidance.
I'll vote as +1 since the C part works well and is the only part I
feel competent on, but mention the other issues in case they are not
known.
Thanks, especially for testing with icc. If you haven't already done so, can
you test the Clownfish runtime and Lucy as well? It's really easy with the
test_all.sh script. See my previous mail to lucy-dev, or simply run:
$ curl
https://dist.apache.org/repos/dist/dev/lucy/clownfish/apache-clownfish-0.5.0-rc3/apache-clownfish-0.5.0.tar.gz
|tar xz
$ curl
https://dist.apache.org/repos/dist/dev/lucy/apache-lucy-0.5.0-rc3/apache-lucy-0.5.0.tar.gz
|tar xz
$ mv apache-clownfish-0.5.0 clownfish
$ mv apache-lucy-0.5.0 lucy
$ lucy/devel/bin/test_all.sh
Or, if you only want to test the C bindings:
$ lucy/devel/bin/test_all.sh c
Nick