How to build eql on Linux?

22 views
Skip to first unread message

Almipa

unread,
Jul 2, 2010, 2:13:44 PM7/2/10
to eql-user
I try to make eql on Ubuntu linux 9.10:

ecl -shell make-eql-lib.lisp

.....
;;; Compiling (DEFUN QTPL ...).
;;; Compiling (DEFUN QTPL-READ ...).
;;; Error:
;;; in file ini.lisp, position 8939
;;; at (DEFUN QTPL-READ ...)
;;; * 0 is not a legal function name.An error occurred during
initialization:
Cannot find out entry point for binary file lisp/ini.o.

Any idea?

Alex.

Polos Ruetz

unread,
Jul 2, 2010, 3:41:16 PM7/2/10
to eql-...@googlegroups.com
2010/7/2 Almipa <alex....@gmail.com>:

> I try to make eql on Ubuntu linux 9.10:
>
> ecl -shell make-eql-lib.lisp

no problem, this is a known issue with the current ECL from CVS.
Please install ECL 10.4.1 instead (the latest release version), and
don't forget to enable unicode:

./configure --enable-unicode

Paul

Almipa

unread,
Jul 5, 2010, 2:59:59 AM7/5/10
to eql-user
> no problem, this is a known issue with the current ECL from CVS.
> Please install ECL 10.4.1 instead (the latest release version), and
> don't forget to enable unicode:

Thank a lot!

Almipa

unread,
Aug 10, 2010, 5:27:34 AM8/10/10
to eql-user
$make

g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DEQL_LIBRARY -DQT_NO_DEBUG -
DQT_NO_KEYWORDS -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/
usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtUiTools -I/
usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/
QtXml -I/usr/include/qt4 -Itmp -o tmp/main.o main.cpp
In file included from /usr/local/include/ecl/config.h:56,
from /usr/local/include/ecl/ecl.h:35,
from main.cpp:6:
/usr/local/include/ecl/gmp.h:533: error: ‘std::FILE’ has not been
declared

I fixed this by adding #include <stdio.h> to some sourse and header
files.
Is there the best idea about this?

Alex.

Polos Ruetz

unread,
Aug 10, 2010, 7:50:03 AM8/10/10
to eql-...@googlegroups.com
2010/8/10 Almipa <alex....@gmail.com>:

> I fixed this by adding #include <stdio.h> to some sourse and header
> files.

This seems to be the standard way of solving this problem.

Paul

Almipa

unread,
Aug 11, 2010, 7:25:42 AM8/11/10
to eql-user
$eql

ECL (Embeddable Common-Lisp) 10.4.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process SI:TOP-LEVEL 09b58fc0>.
> (in-package cl-user)

#<"COMMON-LISP-USER" package>
> (require 'cmp)

;;; Loading #P"/usr/local/lib/ecl-10.4.1/cmp.fas"

The variable |-0.0D0| is unbound.
Available restarts:

1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (REQUIRE 'COMMON-LISP-
USER::CMP)] In: #<process SI:TOP-LEVEL 09b58fc0>.
C>>

No errors if I do this in ecl.

Polos Ruetz

unread,
Aug 11, 2010, 8:41:46 AM8/11/10
to eql-...@googlegroups.com
2010/8/11 Almipa <alex....@gmail.com>:
> $eql
>> (in-package cl-user)
>> (require 'cmp)

> The variable |-0.0D0| is unbound.

This happened to me too: I was using Gnome + language Italian.
Obviously decimal numbers are not interpreted correctly here.

I "resolved" this by switching my system language to English...

Paul

Almipa

unread,
Aug 12, 2010, 4:54:23 PM8/12/10
to eql-user
> This happened to me too: I was using Gnome + language Italian.
> Obviously decimal numbers are not interpreted correctly here.

Thanks, Paul!!!

I was using Gnome + language Russian.
I switched my system language too. :-)

Alex.
Reply all
Reply to author
Forward
0 new messages