mercurial: compiling problems

Jean Louis <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
Hello,

I need help on compiling from mercurial. In fact I wonder how did I do
it first time. But now, for some reason, syscalls and regexp
directories fail, as config.h and config.status are missing. I copy
them manually from the modules/syscalls and modules/regexp and 

My current version: I do not know any more, how I could make it.

clisp --version
GNU CLISP 2.49+ (2010-07-17) (built 3688723210) (memory 3688731027)
Software: GNU C 5.3.0 
gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES  libgnu.a  -lreadline -lncurses -ldl -lavcall -lcallback  -lsigsegv  
SAFETY=0 TYPECODES WIDE_HARD GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.10
libreadline 6.3
libffcall 1.11
Features: 
(READLINE REGEXP WILDCARD SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL
 INTERPRETER LOGICAL-PATHNAMES SOCKETS GENERIC-STREAMS SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER
 WORD-SIZE=64 PC386 UNIX)
C Modules: (clisp i18n syscalls regexp readline)
Installation directory: /package/prog/clisp-clisp/lib/clisp-2.49+/
User language: ENGLISH
Machine: X86_64 (X86_64) protected.rcdrun.com [92.241.148.57]


The version I am using is from current mercurial as of today.

After:

ulimit -s 16384 && ./configure --prefix=/package/prog/clisp
--with-module=asdf --with-module=berkeley-db
--with-module=bindings/glibc --with-module=clx/new-clx
--with-module=dbus --with-module=editor --with-module=fastcgi
--with-module=gdbm --with-module=gtk2 --with-module=pcre
--with-module=postgresql --with-module=rawsock --with-module=zlib

I get this problem:

WARNING: "/sources/gnu/clisp-clisp/modules/syscalls/calls.c":5704: fixed object case ":ERROR_ITERATED_DATA_EXCEEDS_64k"
WARNING: "/sources/gnu/clisp-clisp/modules/syscalls/calls.c":5704: fixed object case ":ERROR_AUTODATASEG_EXCEEDS_64k"
WARNING: truncated a very long tag (from 122,702 to 2,000) for
          ("(OR INTEGER (MEMBER" ("defined(ERROR_INVALID_FUNCTION)" . ":ERROR_INVALID_FUNCTION")
           ..)

WARNING: truncated a very long tag (from 5,562 to 2,000) for
          ("(OR INTEGER (MEMBER" ("defined(E2BIG)" . ":E2BIG") ("defined(EACCES)" . ":EACCES") ("defined(EADDRINUSE)" . ":EADDRINUSE")
           ("defined(EADDRNOTAVAIL)" . ":EADDRNOTAVAIL") ("defined(EAFNOSUPPORT)" . ":EAFNOSUPPORT") ("defined(EAGAIN)" . ":EAGAIN")
           ("defined(EALREADY)" . ":EALREADY") ("defined(EBADF)" . ":EBADF") ("defined(EBADMSG)" . ":EBADMSG")
           ("defined(EBUSY)" . ":EBUSY") ("defined(ECANCELED)" . ":ECANCELED") ("defined(ECHILD)" . ":ECHILD")
           ("defined(ECONNABORTED)" . ":ECONNABORTED") ("defined(ECONNREFUSED)" . ":ECONNREFUSED")
           ..)

;; MODPREP: 2,554 objects, 122 DEFUNs, 3 DEFVARs (3 inits)
;; packages: ("SYS" "OS" "POSIX")
MODPREP: wrote calls.m.c (1,737,151 bytes)
make[1]: *** No rule to make target 'config.status', needed by 'config.h'.  Stop.
make[1]: Leaving directory '/sources/gnu/clisp-clisp/src/syscalls'
make: *** [Makefile:2259: syscalls] Error 2

Then I copy the files from modules/syscalls/config.h and config.status
there and run make within src/syscalls:

admin [ /sources/gnu/clisp-clisp/src ]$ cd syscalls/
admin [ /sources/gnu/clisp-clisp/src/syscalls ]$ make
gcc -D__EXTENSIONS__ -D_REENTRANT -g -O2 -I/package/prog/clisp-clisp/lib/clisp-2.49+/linkkit \
        -c calls.m.c -o calls.o
gcc -c /sources/gnu/clisp-clisp/modules/syscalls/bogomips.c -o bogomips.o
/usr/bin/clisp -norc -q -c /sources/gnu/clisp-clisp/modules/syscalls/posix.lisp -o ./
;; Compiling file /sources/gnu/clisp-clisp/modules/syscalls/posix.lisp ...

cd ..
make (continuing...)

;; Compiling file /sources/gnu/clisp-clisp/modules/regexp/regexp.lisp ...
;; Wrote file /sources/gnu/clisp-clisp/src/regexp/regexp.fas
The following functions were used but not defined:
 REGEXP:REGEXP-COMPILE REGEXP:REGEXP-EXEC
0 errors, 0 warnings
/sources/gnu/clisp-clisp/src/clisp -K boot  -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -q -C /package/prog/clisp-clisp/lib/clisp-2.49+/linkkit/modprep /sources/gnu/clisp-clisp/modules/regexp/regexi.c ./
;; MODPREP: "/sources/gnu/clisp-clisp/modules/regexp/regexi.c" --> #P"regexi.m.c"
;; MODPREP: reading "/sources/gnu/clisp-clisp/modules/regexp/regexi.c": 5,332 bytes, 141 lines
;; MODPREP: 11 objects, 3 DEFUNs
;; packages: ("REGEXP")
MODPREP: wrote regexi.m.c (9,729 bytes)
make[1]: *** No rule to make target 'config.status', needed by 'config.h'.  Stop.
make[1]: Leaving directory '/sources/gnu/clisp-clisp/src/regexp'
make: *** [Makefile:2259: regexp] Error 2

then I copy config.h and config.status into src/regexp:

cd ..
make (continuing...)

then I get this error:

configure: updating cache ../config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating link.sh
config.status: creating config.h
configure: ** Readline (Done)
make[1]: Entering directory '/sources/gnu/clisp-clisp/src/readline'
/sources/gnu/clisp-clisp/src/clisp -K boot  -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -q -c /sources/gnu/clisp-clisp/modules/readline/readline.lisp -o ./
;; Compiling file /sources/gnu/clisp-clisp/modules/readline/readline.lisp ...
;; Wrote file /sources/gnu/clisp-clisp/src/readline/readline.fas
;; Wrote file /sources/gnu/clisp-clisp/src/readline/readline.c
0 errors, 0 warnings
gcc -I/sources/gnu/clisp-clisp/src/gllib -I/sources/gnu/clisp-clisp/src/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES  -fPIC -DPIC -I/sources/gnu/clisp-clisp/src/linkkit -c readline.c
make[1]: Leaving directory '/sources/gnu/clisp-clisp/src/readline'
rm -rf base
MAKE=make CLISP="/sources/gnu/clisp-clisp/src/clisp -K boot  -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc" with_dynamic_modules=no ./clisp-link add boot base i18n syscalls regexp readline || (rm -rf base ; exit 1)
./clisp-link: directory syscalls does not contain a CLISP module
make: *** [Makefile:2311: base] Error 1

So, while trying to repair it manually, I am failing.

Anybody knows what to do to get the development version compiled?

I really need glibc bindings, clx, gdbm, as I wish to use and learn
from it.

Jean Louis

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
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.