On Fri, Mar 24, 2023 at 11:41:14AM +0100, Prof. Dr. Johannes Grabmeier wrote:
> Dear all,
> 
> thanks  to Qian, I did what you suggested, but I do not know whether it
> works as I encountered new problems.
> 
> checking for in-tree build on case insensitive file system... configure:
> error: in tree build on case insensitive file system is not supported. Use
> out-of-source-tree build instead.
> 
> how do I use "out-of-source-tree build" instead?
> 
> Then I get the error message:
> 
> checking Lisp implementation... mmap: Cannot allocate memory
> ensure_space: failed to validate 1073741824 bytes at 0x1000000000
> (hint: Try "ulimit -a"; maybe you should increase memory limits.)
> sed: config_cl.out: No such file or directory
> configure: error: Unable to determine Lisp flavor
> 
> Next attempt was to update SBCL to actual version 2.3.2, same error

Just quick remark: do not try sbcl-2.3.2 with FriCAS-1.3.8, it is
expected to fail.  Instead, use sbcl-2.3.1 or earlier (or latest
FriCAS from git repo).

> ~/sbcl$ sh make.sh
> mmap: Cannot allocate memory
> ensure_space: failed to validate 1073741824 bytes at 0x1000000000
> (hint: Try "ulimit -a"; maybe you should increase memory limits.)
> No working host Common Lisp implementation.
> See ./INSTALL, the "SOURCE DISTRIBUTION" section
> 
> and this memory error also occurs, when I wanted to run my old FriCAS
> version, which I once compiled on my old Macbook.
> 
> 
> Principle thaughts: x86 is Intel, but Apple now has its own M2 chip, so
> allone for that reasons an x86 binary probably does not work. So I have to
> use and fix the compile problem with case insensitive file system (it is
> case sensitive!) and the SBCL memory problem.
> 
> 
> Any ideas an help is really appreciated. Thanks a lot.

Apple includes x86 emulation, so x86 binary has non zero chance of
working.  But native version would probably avoid some troubles.

The messages suggest that already sbcl has problem, FriCAS needs
working Lisp, so this must be resolved first.  For native sbcl
normal way is to compile it using earler version of sbcl.
sbcl folks provide binary of sbcl-2.1.2 for Darwin on ARM64, which
theortically should work.

-- 
                              Waldek Hebisch

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/20230324140807.4k53ebo3wrb6m62i%40fricas.math.uni.wroc.pl.

Reply via email to