Re: Getting an error when compiling with "--with-threads=flavor"

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <1706918.Qlflqeu86B@omega>
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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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.