From: Sam S. <sd...@gn...> - 2014-03-11 20:31:58
|
Hi, > * shashank <fun...@tz...> [2014-03-12 01:20:56 +0500]: > > I am Shashank (a gsoc aspirant) and I have been trying to build clisp > however I can't seem to progress. > I have cloned the mercuial repository from here - > http://sourceforge.net/p/clisp/clisp/ci/default/tree/doc/ > > In an earlier exchange of email, Sam Steingold asked me to: >> Clone the clisp mercurial repo and build from it with threads. >> Observe the crashes in the tests. >> Investigate how you would replace the CLISP hash table implementation >> with the lock-free one. > > However as soon as I do : > > > 1. $ make -f Makefile.devel CFLAGS=MULTITHREAD > > > I get this error : (The complete stacktrace is > here<http://pastebin.com/PpHsT1vU> > ) > > > 1. find: `@srcdir@\\..\\modules\\': No such file or directory What made you think that this command does anything useful? :-) > So I tried build using configure > > 1. $ ./configure --with-threads=POSIX_THREADS > > the command runs successfully and in the end, I get the following > > > 1. Configure findings: > 2. FFI: no (user requested: default) ISTR that you also expressed interest in libffcall - you might want to start with building and installing it. > 3. readline: no (user requested: default) what is your platform that it lacks readline? > 4. libsigsegv: yes > 5. ./makemake --with-threads=POSIX_THREADS > Makefile > 6. make: `config.lisp` is up to date. > 7. > 8. To continue building CLISP, the following commands are recommended > 9. (cf. unix/INSTALL step 4 ff): > 10. cd src > 11. vi config.lisp > 12. make > 13. make check you could also wrap the whole thing in one command, by passing "--cbc" (config/build/check) to configure. > However, I can't possibly seem to locate errors while building with > threads, although I may be wrong in execution or looking at the wrong "make check" either prints "tests passed" or instructions on where to find the failures (see tests/*.erg) > place. Can you guide me as to how I shall proceed in this > regard. Also, how and where the CLISP hash table implementation is > used, which in turn should be replaced by a lock-free implementation. See clisp/src/hashtbl.d for the hash table implementation. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265 http://www.childpsy.net/ http://pmw.org.il http://openvotingconsortium.org http://jihadwatch.org http://islamexposedonline.com Feynman: 'Philosophy of science is as useful to scientists as ornithology is to birds' |