From: Compro P. <com...@gm...> - 2017-03-18 18:16:44
|
As I mentioned that non MT build was going well. So, I had already installed libsigsegv, libffcall, libreadline and libiconv at the first place. But when I compiled with MT support using ../configure --with-threads=FLAVOUR (This time I made the build directory) I got the output posted at http://paste.lisp.org/display/341721 which I think is error free. The problem arises when I use make. It gives a long output hosted at two locations http://paste.lisp.org/display/341722 and http://paste.lisp.org/display/341723 . According to me it was missing libpthread, so the next time I ran make CFLAGS+="-lpthread" which did work for most of the part when it suddenly broke with the message: *** - SYSTEM::%FIND-PACKAGE: There is no package with name "FFI" Since, it was too long so it took three pages: http://paste.lisp.org/display/341724 http://paste.lisp.org/display/341725 http://paste.lisp.org/display/341726 My system: uname -rom: 4.10.2-1-ARCH x86_64 GNU/Linux gcc --version: gcc (GCC) 6.3.1 20170306 make --version: GNU Make 4.2.1 libffcall 1.10 libreadline 7.0 libiconv 1.15 libsigsegv 2.10 On Sat, Mar 18, 2017 at 7:38 PM, Bruno Haible <br...@cl...> wrote: > Hi Prasad, > > > But when using "./configure --with-threads=flavour" > > Parts of commands that need to be substituted by actual values are > highlighted > in a particular way: > - in HTML documentation: through italics, > - in "configure --help" output: through uppercase. > > > It complains about not > > having package FFI. For further information I have given the output of > > `make CFLAGS+="-lpthread"` below which I have ran from the project root: > > > > cd src && /usr/bin/make all > > make[1]: Entering directory > > '/run/media/compro/eb7b593c-d20e-4393-be34-3b108921f50e/ > home/compro/Dropbox/programs/hg/clisp/src' > > ./lisp.run -B . -N locale -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -m 2MW > > -M halfcompiled.mem -q -c foreign1.lisp -o ./ > > ;; Compiling file > > /run/media/compro/eb7b593c-d20e-4393-be34-3b108921f50e/ > home/compro/Dropbox/programs/hg/clisp/src/foreign1.lisp > > ... > > *** - SYSTEM::%FIND-PACKAGE: There is no package with name "FFI" > > Most probably you have reused a build directory for re-configuring with > different configure options. This does not work. Always run "../configure > ...." > in a fresh (empty) subdirectory of the clisp top directory. > > If you actually want to build with FFI, you need to first install > libffcall. > https://www.gnu.org/software/libffcall/ > > Bruno > > |