On Monday, January 22, 2018 at 1:19:29 PM UTC-6, Waldek Hebisch wrote:
>
> Nasser M. Abbasi wrote: 
> > 
> > I get 
> > 
> > eap exhausted during garbage collection: 0 bytes available, 16 
> requested. 
> >  Gen StaPg UbSta LaSta LUbSt Boxed Unboxed LB   LUB  !move  Alloc  Waste 
>   
> <snip> 
> > fatal error encountered in SBCL pid 12519(tid 140737353975552): 
> > Heap exhausted, game over. 
> > 
> > Welcome to LDB, a low-level debugger for the Lisp runtime environment. 
> > ldb> 
> > 
> > 
> > during the make phase. Trying to compile fricas-1.3.2. This is on Linux 
> > mint 
> > 18.3. The system has only 2 GB RAM. do I need more? This is on VBox, 
> > so I can increase the RAM. 
> > 
> > These are the steps I did: 
> > 
> > downloaded  from https://sourceforge.net/projects/fricas 
> > 
> > sudo apt-get install sbcl 
> > sudo apt-get install dvipng 
> > sudo apt-get install auctex 
> > bzip2 -dk fricas-1.3.2-full.tar.bz2 
> > tar -xf fricas-1.3.2-full.tar 
> > 
> > fricas-1.3.2>./configure 
> <snip> 
> > checking Lisp implementation... This is SBCL 1.3.1.debian, an 
> > implementation of ANSI Common Lisp. 
>
> This is a known problem: sbcl-1.3.1 has a bug (huge memory use 
> during compilation) so it can not build FriCAS.  Use either older 
> or newer (starting from sbcl-1.3.5) sbcl version. 
>
> Concerning memory use during compilation: I used to build FriCAS 
> on a laptop with 1G RAM and no swap.  On 32-bit machines FriCAS 
> probably will build in 256M, but I did not try recently.  Note 
> that recent sbcl limits memory use to 1G, so 2G can be used only 
> if you use parellel build. 
>
> BTW: The problem with sbcl-1.3.1 was discoverd after release of 
> FriCAS-1.3.2.  Development version of FriCAS would find out that 
> sbcl has bug, print error message during configure and refuse 
> to build. 
>
> -- 


>                               Waldek Hebisch 
>

Ok, I tried again,. I removed sbcl and installed clisp.  

sbcl is the version I get when I used apt-get install sbcl, so I have no 
control on which version it picks.

But I get same problem now with clisp

fricas-1.3.2>which clisp
/usr/bin/clisp

fricas-1.3.2>clisp --version
GNU CLISP 2.49 (2010-07-07) (built on toyol.buildd [127.0.1.1])
Software: GNU C 4.8.2 
gcc -falign-functions=4 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit 
-Wreturn-type -Wmissing-declarations -Wno-sign-compare 
-Wno-format-nonliteral -O -falign-functions=4 -DENABLE_UNICODE 
-DDYNAMIC_FFI -DDYNAMIC_MODULES -I.  -lreadline -lncurses -ldl 
/usr/lib/libavcall.so /usr/lib/libcallback.so  -lsigsegv libgnu_cl.a 
SAFETY=0 TYPECODES WIDE_HARD GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED 
TRIVIALMAP_MEMORY
libsigsegv 2.10
libreadline 5.2
libffcall 1.11
Features: 
(READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL 
COMMON-LISP LISP=CL INTERPRETER SOCKETS
 GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE 
BASE-CHAR=CHARACTER WORD-SIZE=64 PC386 UNIX)
C Modules: (clisp i18n syscalls regexp readline)
Installation directory: /usr/lib/clisp-2.49/
User language: ENGLISH
Machine: X86_64 (X86_64) me-VirtualBox [127.0.1.1]


And now I did 

./configure --with-lisp=/usr/bin/clisp

;                       BOOT::G190 (COND #) (BOOT::SEQ #)
;                       (BOOT::LETT BOOT::|i| # BOOT::|MODFACT;copy_slice2|)
;                       (GO BOOT::G190) BOOT::G191 (BOOT::EXIT NIL)))))
; 
; caught STYLE-WARNING:
;   The variable $ is defined but never used.
Heap exhausted during garbage collection: 0 bytes available, 16 requested.
 Gen StaPg UbSta LaSta LUbSt Boxed Unboxed LB   LUB  !move  Alloc  Waste  
 Trig    WP  GCs Mem-age
   0:     0     0     0     0     0     0     0     0     0        0     0 
10737418    0   0  0.0000
   1:     0     0     0     0     0     0     0     0     0        0     0 
10737418    0   0  0.0000
   2:     0     0     0     0     0     0     0     0     0        0     0 
10737418    0   0  0.0000
   3: 25776  4219     0     0 18467     2     0     0     5 605006416 
185776 373646730    0   1  1.3998
   4: 32767  3062     0     0 11133    79    14    15    21 367727568 
617520  2000000  426   0  0.0472
   5:     0     0     0     0     0     0     0     0     0        0     0  
2000000    0   0  0.0000
   6:     0     0     0     0  2773   285     0     0     0 100204544    
 0  2000000 2691   0  0.0000
   Total bytes allocated    = 1072938528
   Dynamic-space-size bytes = 1073741824
GC control variables:
   *GC-INHIBIT* = true
   *GC-PENDING* = true
   *STOP-FOR-GC-PENDING* = false
fatal error encountered in SBCL pid 5197(tid 140737353975552):
Heap exhausted, game over.

Welcome to LDB, a low-level debugger for the Lisp runtime environment.

Makefile:590: recipe for target 'stamp-fasls5' failed
make[3]: *** [stamp-fasls5] Error 1
make[3]: Leaving directory '/home/me/data/fricas/fricas-1.3.2/src/algebra'
Makefile:571: recipe for target 'all-ax' failed
make[2]: *** [all-ax] Error 2
make[2]: Leaving directory '/home/me/data/fricas/fricas-1.3.2/src/algebra'
Makefile:234: recipe for target 'all-algebra' failed
make[1]: *** [all-algebra] Error 2
make[1]: Leaving directory '/home/me/data/fricas/fricas-1.3.2/src'
Makefile:243: recipe for target 'all-src' failed
make: *** [all-src] Error 2
fricas-1.3.2>which clisp

--Nasser

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
  • [fricas-devel] how... 'Nasser M. Abbasi' via FriCAS - computer algebra system
    • Re: [fricas-d... Waldek Hebisch
      • Re: [fric... 'Nasser M. Abbasi' via FriCAS - computer algebra system
        • Re: [... 'Nasser M. Abbasi' via FriCAS - computer algebra system
        • Re: [... oldk1331
          • R... 'Nasser M. Abbasi' via FriCAS - computer algebra system

Reply via email to