From: Arthur N. <ac...@ca...> - 2014-05-13 19:21:41
|
On Tue, 13 May 2014, Kostas Oikonomou wrote: > Thank you, that's a welcome contribution. > > I just tried to build the CSL version from svn. Even after checking out > a copy in an entirely new directory, I am having problems building: > > configure --prefix=/opt/reduce --with-csl --without-gui > ... > Please at least for now do not try to specify "--prefix" there. I know of course that that is a standard feature of autoconf etc but "make install" is not well set up at present and especially while you are still having trouble building things at all please keep things simple. Once you have stuff built by all means look into seeing how --prefix interacts and what might be done to make "make install" behave, but at the very least it is an untested and not guaranteed reliable area which may at some stage receive attention but is not going to be fixed right now. After you have built if you wish to place things in /opt/reduce you can do that by hand! > configure: doconfig = /bin/sh > "/usr/home/ko/build/reduce-svn/csl/cslbase/crlibm/configure" > '--prefix=/opt/reduce' '--with-csl' '--without-gui' 'CPPFLAGS=' > 'CFLAGS=' 'CXXFLAGS=' 'LDFLAGS=' 'LIBS=' > '--with-build=x86_64-unknown-freebsd10.0-nogui' > '--with-pslbuild=' --host=amd64-unknown-freebsd10.0 CPPFLAGS="" > CFLAGS=" " CXXFLAGS=" " LDFLAGS="" > --prefix="/usr/home/ko/build/reduce-svn/cslbuild/x86_64-unknown-freebsd10.0-nogui" > *configure: WARNING: unrecognized options: --with-csl, --without-gui, > --with-build, --with-pslbuild* > checking for a BSD-compatible install... /usr/bin/install -c > ... > > > Now when I do "make", > > ... > configure.ac:55: installing './compile' > parallel-tests: installing './test-driver' There is a script that tries to get datestamps in the right order, in the fact that subversion checks things out but does not preserve the order of datestamps on things can cause some pain. Indeed it expects there to be a Posix style "find" utility. It tries going (as you will have seen) find DIR \( -name configure.ac -o -name configure.in \) -print which was not intended to be Linux or GNU specific but maybe I have botched something that bites you but is OK with the GNU version? Aha I just checked that again and an attempt as of just the last few days to tidy that up had introduced a typo where the identity of the direfctory to me scanned was omitted in several places. I have just put that back. I had not noticed because the GNU find utility is generous so find -name configure acts as find . -name configure I have just checked in what I hope is a fix. I must alert you to the fact that I REALLY want you to have the GNU version of Make available and in some places I REALLY want "bash" for scripting. Well in a bunch of places I have avoided bash-isms but my stamina has not been up to doing that everywhere. > Now reset all date-stamps... > Step 1 of 5: configure.ac, configure.in and Makefile.am: > Step 2 of 5: aclocal.m4: > find: illegal option -- n > usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression] > find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression] > Step 3 of 5: configure: > find: illegal option -- n > usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression] > find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression] > Step 4 of 5: config.h.in: > ... > > The problem with "find" may be that something expects to find (!) GNU find? > >> From that point on, the make seems to go in an endless loop of repeating > the steps 1 to 5 above, with lots of intermediate activity, but never > actually getting to compiling anything. I am downloading a freebsd 10 ISO now so I can see how much progress I can make testing there. I previuously had a freebsd 8.2 (quite a while back) i a virtual machine but I never managed to get myself X11 up on that and so while I got Reduce built a bit I had not kep testing updates. > > Kostas Arthur |