daly / axiom Goto Github PK
View Code? Open in Web Editor NEWAxiom is a free, open source computer algebra system
Home Page: http://axiom.axiom-developer.org
Axiom is a free, open source computer algebra system
Home Page: http://axiom.axiom-developer.org
Hello,
I already found some help in the thread "Problems compiling/linking on opensuse #6" - but still there are errors preventing me from finishing compilation. I execute "./configure" using following line:
./configure CFLAGS='-std=gnu90' --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib
It seems to fix many-many "first declared here"-kind type of errors, but still compilation gets interrupted and I got messages like these:
Loading ./gcl_cmpinit.lsp
Finished loading ./gcl_cmpinit.lsp
End of Pass 1.
End of Pass 2.
In file included from gcl_sharp.c:2:0:
/home/me/.Eterm/gcl/unixport/../h/cmpinclude.h:32:6: error: "<" is not a valid filename
^
/home/me/.Eterm/gcl/unixport/../h/cmpinclude.h:33:20: error: expected identifier or '(' before 'void'
((void *)0)
^
/home/me/.Eterm/gcl/unixport/../h/cmpinclude.h:33:27: error: expected ')' before numeric constant
((void *)0)
^
/home/me/.Eterm/gcl/unixport/../h/cmpinclude.h:35:6: error: "<" is not a valid filename
^
/home/me/.Eterm/gcl/unixport/../h/cmpinclude.h:42:6: error: "<" is not a valid filename
So I took a peek into the file cmpinclude.h and its contents looks like this (lines 31-35):
#define OBJNULL
((void *)0)
Replacing -std=gnu90 parameter with -std=gnu89 means no change. I'm using Slackware64 14.2 with gcc 5.5.0. TCL/Tk 8.4.20.
Perhaps somebody could point out, what more should I change/add to finish compilation?
Error: UNBOUND-VARIABLE :NAME |sIG{DODOITBUTTON}{STRING|
Fast links are on: do (si::use-fast-links nil) for debugging
Signalled by LOAD.
UNBOUND-VARIABLE :NAME |sIG{DODOITBUTTON}{STRING|
Broken at LOAD. Type :H for Help.
1 Return to top level.
BOOT>>make[3]: *** [/home/user/axiom/obj/mint/bin/depsys] Error 255
rm /home/user/axiom/int/interp/parsing.lisp /home/user/axiom/int/interp/nocompil.lisp /home/user/axiom/int/interp/sys-pkg.lisp /home/user/axiom/int/interp/util.lisp
make[3]: Leaving directory /home/user/axiom/src/interp' make[2]: *** [interpdir] Error 2 make[2]: Leaving directory
/home/user/axiom/src'
make[1]: *** [srcdir] Error 2
make[1]: Leaving directory `/home/user/axiom'
make: *** [all] Error 2
#6 suggests that apt-get install axiom
is a viable workaround to build problems, and that does not seem to be the case anymore.
https://bugs.launchpad.net/ubuntu/+source/axiom/+bug/1729601
When clicking in Basic Commands > Calculus > Find a limit, the windows become irresponsive
I am using the following version:
AXIOM Computer Algebra System
Version: Axiom (August 2014)
Timestamp: Friday October 30, 2015 at 02:12:38
Hi,
I tried to build axiom from github as per the instructions - any idea how to fix?
My guess is that I'm missing an rpc related package, but a quick google didn't reveal a good candidate.
Alternatively, can one disable the requirement for the library?
End of build log below..
Thanks,
Peter
in file included from funlink.c:607:
xdrfuns.c:30:10: fatal error: rpc/rpc.h: No such file or directory
30 | #include <rpc/rpc.h>
| ^~~~~~~~~~~
compilation terminated.
make[3]: *** [makefile:40: funlink.o] Error 1
rm read.c
make[3]: Leaving directory '/home/pab/Work/axiom/axiom/lsp/gcl-2.6.12/o'
make[2]: *** [makefile:74: unixport/saved_pre_gcl] Error 2
make[2]: Leaving directory '/home/pab/Work/axiom/axiom/lsp/gcl-2.6.12'
/bin/sh: 6: unixport/saved_gcl: not found
make[1]: *** [Makefile:23: gcldir] Error 127
make[1]: Leaving directory '/home/pab/Work/axiom/axiom/lsp'
make: *** [Makefile:201: lspdir] Error 2
There is one line missing:
--- tmp/axiom/books/bookvol4.pamphlet 2013-03-01 18:33:03.254730906 +0800
+++ bookvol4.pamphlet 2013-03-06 12:17:50.170565342 +0800
@@ -1189,6 +1189,7 @@
a x + b
Type: Fraction Polynomial Integer
+\end{verbatim}
\subsection{A simple integral}
Now we will show an integration with successive levels of expansion
I tried to compile the release version and a fresh git clone but both fail with mostly the same error.
gcc --version
gcc (SUSE Linux) 6.2.1 20161209 [gcc-6-branch revision 243481]
Do you know where the error could originate from? I very much would like to help fix it but do not know where to start.
gcc -Wl,-T ../unixport/gcl.script -o raw_pre_gcl /home/usr/axiom/obj/opensuse/lib/cfuns-c.o /home/usr/axiom/obj/opensuse/lib/sockio-c.o -L. -Wl,-Map raw_pre_gcl_map -lpre_gcl -lm -ldl -lgmp -lreadline -lc -lgclp /home/usr/axiom/obj/opensuse/lib/libspad.a
./libpre_gcl.a(alloc.o): In function m__gmpz_add': alloc.c:(.text+0x1130): multiple definition of
m__gmpz_add'
...
...
...
num_sfun.c:(.text+0xb150): undefined reference to number_zero_expt' ./libpre_gcl.a(num_sfun.o):num_sfun.c:(.text+0xb61e): more undefined references to
number_zero_expt' follow
collect2: error: ld returned 1 exit status
make[4]: *** [makefile:172: raw_pre_gcl_map] Error 1
make[4]: Leaving directory '/home/usr/axiom/lsp/gcl-2.6.12/unixport'
make[3]: *** [makefile:78: unixport/saved_pre_gcl] Error 2
rm h/mcompdefs.h
make[3]: Leaving directory '/home/usr/axiom/lsp/gcl-2.6.12'
/bin/sh: line 5: unixport/saved_gcl: No such file or directory
make[2]: *** [Makefile:18: gcldir] Error 127
make[2]: Leaving directory '/home/usr/axiom/lsp'
make[1]: *** [Makefile.opensuse:175: lspdir] Error 2
make[1]: Leaving directory '/home/usr/axiom'
make: *** [Makefile:148: all] Error 2
Noweb has its own implementation of getline but the system provides its own, which leads to a name conflict
I just tried building the master branch by hand on 64bit Gentoo Linux just to see if I could. There seems to be a problem with the Makefile: grep is called on "*.regress" files, but there are none in the folder.
Snippet of the build output:
$ export AXIOM=`pwd`/mnt/linux
$ export PATH=$AXIOM/bin:$PATH
$ make
...
make[4]: Entering directory '/tmp/axiom-master/int/input'
======================================
src/input RUNNING NO TESTS
======================================
make[4]: Leaving directory '/tmp/axiom-master/int/input'
1 finished /tmp/axiom-master/src/input
make[3]: Leaving directory '/tmp/axiom-master/src/input'
49 finished /tmp/axiom-master/src
make[2]: Leaving directory '/tmp/axiom-master/src'
45 Makefile.linux called
46 Environment : AWK=gawk BOOKS=/tmp/axiom-master/books BUILD=full BYE=bye CC=gcc CCF=-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -DLINUXplatform -I/usr/X11/include COMMAND=/usr/local/axiom/mnt/linux/bin/axiom DAASE=/tmp/axiom-master/src/share DES
TDIR=/usr/local/axiom DOCUMENT=/tmp/axiom-master/mnt/linux/bin/document EXTRACT=/tmp/axiom-master/books/extract GCLDIR=/tmp/axiom-master/lsp/gcl-2.6.8pre7 GCLOPTS=--enable-vssize=65536*2 --disable-xgcl --disable-tkconfig GCLVERSION=gcl-2.6.8pre7 IN
C=/tmp/axiom-master/src/include INT=/tmp/axiom-master/int LDF= -L/usr/X11R6/lib -L/usr/lib -lXpm LISP=lsp LSP=/tmp/axiom-master/lsp MNT=/tmp/axiom-master/mnt NOISE=-o /tmp/axiom-master/obj/tmp/trace O=o OBJ=/tmp/axiom-master/obj PART=cprogs PATCH=
patch PLF=LINUXplatform RANLIB=ranlib RUNTYPE=serial SPAD=/tmp/axiom-master/mnt/linux SPADBIN=/tmp/axiom-master/mnt/linux/bin SPD=/tmp/axiom-master SRC=/tmp/axiom-master/src SRCDIRS=interpdir sharedir algebradir etcdir docdir graphdir smandir hyper
dir browserdir inputdir SUBPART=everything SYS=linux TANGLE=tangle TAR=tar TESTSET=notests TMP=/tmp/axiom-master/obj/tmp TOUCH=touch UNCOMPRESS=gunzip VERSION=Axiom (August 2014) WEAVE=weave XLIB=/usr/X11R6/lib ZIPS=/tmp/axiom-master/zips
grep: int/input/*.regress: No such file or directory
Makefile.linux:131: recipe for target 'all' failed
make[1]: [all] Error 2 (ignored)
make[1]: Leaving directory '/tmp/axiom-master'
where trying to spin a container using the command provided in docs: sudo docker run -i -t daly/axiom axiom
i get:
personality change failure 1
docker version: Docker version 19.03.13, build 4484c46d9d
Hi!
When starting gitcloned axiom may 2017 ver I get:
clef trying to get the initial terminal settings: Inappropriate ioctl for device
fork_Axiom: Failed to reopen server: No such file or directory
with exit.
Writing as someone who has just started trying to use Axiom today and does a lot of googling for help, here's what immediately comes to mind: choosing the name "Axiom" for this software harms googleability.
It collides which Apache Axiom and RBH Axiom which are also programming systems, and it also collides with the common noun "axiom" that is tightly related to mathematics. This makes it extremely difficult to craft a google search query that is relevant to any specific beginner's difficulty with axiom but not more relevant (in Google's eyes) to either of the above mentioned software systems, or abstract mathematical logic.
Since https://axiom-developer.org/ is down, seems reasonable place to download
Can I install Axiom under Windows/Cygwin?
I am trying to build axiom on Debian 9. I have used the following steps:
$ sudo apt-get update
$ sudo apt-get install sudo git make build-essential libx11-dev m4 gawk gcl
$ cd /home/debian/axiom
$ export AXIOM=/home/debian/axiom/mnt/debian
$ export PATH=$AXIOM/bin:$PATH
$ make
The build fails with the following error messages:
./libgclp.a(user_match.o): In function `fixnum_dpf':
user_match.c:(.text+0x3100): multiple definition of `fixnum_dpf'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4260): first defined here
./libgclp.a(user_match.o): In function `immnum_dpf':
user_match.c:(.text+0x3130): multiple definition of `immnum_dpf'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4290): first defined here
./libgclp.a(user_match.o): In function `immnum_max':
user_match.c:(.text+0x31e0): multiple definition of `immnum_max'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4340): first defined here
./libgclp.a(user_match.o): In function `immnum_min':
user_match.c:(.text+0x3220): multiple definition of `immnum_min'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4380): first defined here
./libgclp.a(user_match.o): In function `immnum_logt':
user_match.c:(.text+0x3260): multiple definition of `immnum_logt'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x43c0): first defined here
./libgclp.a(user_match.o): In function `fixnum_gcd':
user_match.c:(.text+0x32b0): multiple definition of `fixnum_gcd'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4410): first defined here
./libgclp.a(user_match.o): In function `immnum_gcd':
user_match.c:(.text+0x3330): multiple definition of `immnum_gcd'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4490): first defined here
./libgclp.a(user_match.o): In function `fixnum_lcm':
user_match.c:(.text+0x3400): multiple definition of `fixnum_lcm'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x4560): first defined here
./libgclp.a(user_match.o): In function `immnum_lcm':
user_match.c:(.text+0x3540): multiple definition of `immnum_lcm'
./libpre_gcl.a(alloc.o):alloc.c:(.text+0x46a0): first defined here
./libpre_gcl.a(alloc.o): In function `alloc_object':
alloc.c:(.text+0x74c3): undefined reference to `alloc_after_turning_off_sgc'
alloc.c:(.text+0x8341): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0x8fc5): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0x96bb): undefined reference to `maybe_reallocate_page'
./libpre_gcl.a(alloc.o): In function `alloc_contblock':
alloc.c:(.text+0xa871): undefined reference to `alloc_after_turning_off_sgc'
alloc.c:(.text+0xb05e): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0xbb31): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0xc086): undefined reference to `maybe_reallocate_page'
./libpre_gcl.a(alloc.o): In function `alloc_relblock':
alloc.c:(.text+0xdd33): undefined reference to `alloc_after_turning_off_sgc'
alloc.c:(.text+0xe4c0): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0xf072): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0xfb5e): undefined reference to `maybe_reallocate_page'
./libpre_gcl.a(alloc.o): In function `make_cons':
alloc.c:(.text+0x10a73): undefined reference to `alloc_after_turning_off_sgc'
alloc.c:(.text+0x11793): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0x127db): undefined reference to `maybe_reallocate_page'
alloc.c:(.text+0x12ed3): undefined reference to `maybe_reallocate_page'
./libpre_gcl.a(gbc.o): In function `sgc_start':
gbc.c:(.text+0x740b): undefined reference to `add_page_to_freelist'
gbc.c:(.text+0x74d9): undefined reference to `set_tm_maxpage'
gbc.c:(.text+0x768d): undefined reference to `add_pages'
gbc.c:(.text+0x81a0): undefined reference to `set_tm_maxpage'
./libpre_gcl.a(gbc.o): In function `GBC':
gbc.c:(.text+0x94c9): undefined reference to `opt_maxpage'
./libpre_gcl.a(main.o): In function `minimize_image':
main.c:(.text+0xa26): undefined reference to `set_tm_maxpage'
main.c:(.text+0xdc6): undefined reference to `mbrk'
main.c:(.text+0xdd6): undefined reference to `mbrk'
main.c:(.text+0x11e4): undefined reference to `mbrk'
main.c:(.text+0x11f4): undefined reference to `mbrk'
main.c:(.text+0x1512): undefined reference to `mbrk'
./libpre_gcl.a(main.o):main.c:(.text+0x15fd): more undefined references to `mbrk' follow
./libpre_gcl.a(main.o): In function `update_real_maxpage':
main.c:(.text+0x47cf): undefined reference to `set_tm_maxpage'
main.c:(.text+0x53a2): undefined reference to `mbrk'
main.c:(.text+0x53b2): undefined reference to `mbrk'
main.c:(.text+0x53c2): undefined reference to `mbrk'
main.c:(.text+0x6724): undefined reference to `mbrk'
main.c:(.text+0x6739): undefined reference to `mbrk'
./libpre_gcl.a(main.o):main.c:(.text+0x67fe): more undefined references to `mbrk' follow
./libpre_gcl.a(num_sfun.o): In function `number_expt':
num_sfun.c:(.text+0x5536): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x5b33): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x5ea7): undefined reference to `number_big_iexpt'
num_sfun.c:(.text+0x6149): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x633e): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x6820): undefined reference to `number_big_iexpt'
num_sfun.c:(.text+0x759c): undefined reference to `number_big_iexpt'
num_sfun.c:(.text+0x785e): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x79f3): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x7d1f): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x7e7c): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8002): undefined reference to `number_fix_iexpt'
./libpre_gcl.a(num_sfun.o):num_sfun.c:(.text+0x8171): more undefined references to `number_fix_iexpt' follow
./libpre_gcl.a(num_sfun.o): In function `number_expt':
num_sfun.c:(.text+0x84d5): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x84e5): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x85a5): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8625): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8635): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x86f5): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8789): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8799): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8859): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x88d9): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x88e9): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x89a9): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8a28): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8a38): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8af8): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8b77): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8b87): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8c47): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8cc6): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8cd6): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8d96): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x8e15): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8e25): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x8ee5): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x936a): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x937b): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x9486): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x94ce): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x94df): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x95b2): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x99e3): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x99f8): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x9aa0): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x9ab5): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0x9ba6): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0x9cc5): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0xa264): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa275): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa31b): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa32c): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa418): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0xa51f): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0xa811): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa826): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa8d4): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa8e9): undefined reference to `number_ui_expt'
num_sfun.c:(.text+0xa9f0): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0xab7a): undefined reference to `number_fix_iexpt'
num_sfun.c:(.text+0xb5fa): undefined reference to `number_zero_expt'
num_sfun.c:(.text+0xb678): undefined reference to `number_zero_expt'
num_sfun.c:(.text+0xba3a): undefined reference to `number_zero_expt'
num_sfun.c:(.text+0xbb06): undefined reference to `number_zero_expt'
num_sfun.c:(.text+0xbc24): undefined reference to `number_zero_expt'
./libpre_gcl.a(num_sfun.o):num_sfun.c:(.text+0xbca9): more undefined references to `number_zero_expt' follow
collect2: error: ld returned 1 exit status
makefile:171: recipe for target 'raw_pre_gcl_map' failed
make[3]: *** [raw_pre_gcl_map] Error 1
make[3]: Leaving directory '/home/debian/axiom/lsp/gcl-2.6.12/unixport'
makefile:71: recipe for target 'unixport/saved_pre_gcl' failed
make[2]: *** [unixport/saved_pre_gcl] Error 2
make[2]: Leaving directory '/home/debian/axiom/lsp/gcl-2.6.12'
/bin/sh: 6: unixport/saved_gcl: not found
Makefile:8: recipe for target 'gcldir' failed
make[1]: *** [gcldir] Error 127
make[1]: Leaving directory '/home/debian/axiom/lsp'
Makefile:195: recipe for target 'lspdir' failed
make: *** [lspdir] Error 2
The GCC version used is:
$ gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
I think #6 is related. Any idea on how to proceed?
So eliminate the maintenance and downtime issues
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.