Re: help on building clisp

Sam Steingold <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Hi,

> * shashank <[email protected]> [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'

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.