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

Compro Prasad <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CAF5vbP=hi_kX-SaHRM6HskzScfZ2F3s8WwXtdmKt2+gSw7+bww@mail.gmail.com>
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 <[email protected]> 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
>
>

------------------------------------------------------------------------------
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.