|
From: | Tim Daly |
Subject: | Re: [Axiom-developer] Axiom and Ubuntu18.04 |
Date: | Sun, 12 Aug 2018 10:17:27 -0400 |
Tim, many thanks for your attention.
Sadly, I have issues also with these binaries using functions which worked (and still work) on older versions of axiom.
As an example, consider this simple function which converts an integer in choosen given basis:
toBase: (NNI,PI)-> List NNI
toBase(n,b) ==
q := n
l := [] :: List NNI
while q>0 repeat
r := divide(q,b).remainder
l := append([r],l)
q := divide(q,b).quotient
l
If I save it in a file (say, r.input) and run it in axiom, I get the following
------------------------------------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------
[dom 12 ago 14:40:04 ~]$ axiom
AXIOM Computer Algebra System
Version: Axiom (May 2017)
Timestamp: Wednesday May 17, 2017 at 19:17:38
------------------------------------------------------------ -----------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave AXIOM and return to shell.
Visit http://axiom-developer.org for more information
------------------------------------------------------------ -----------------
Re-reading interp.daase
Re-reading operation.daase
Re-reading category.daase
Re-reading browse.daase
(1) ->
(1) -> )read r
toBase: (NNI,PI)-> List NNI
Type: Void
Time: 0 sec
toBase(n,b) ==
q := n
l := [] :: List NNI
while q>0 repeat
r := divide(q,b).remainder
l := append([r],l)
q := divide(q,b).quotient
l
Type: Void
Time: 0 sec
(3) -> toBase(423142423432,20)
Compiling function toBase with type (NonNegativeInteger,PositiveInteger) -> List(NonNegativeInteger)
Unrelocated non-local symbol: _GLOBAL_OFFSET_TABLE_
(3) ->
Correctable error: Console interrupt.
Fast links are on: do (si::use-fast-links nil) for debugging
Signalled by SYSTEM::GCL-TOP-LEVEL.
If continued: Type :r to resume execution, or :q to quit to top level.
Console interrupt.
Broken at SYSTEM::GCL-TOP-LEVEL. Type :H for Help.
1 (continue) Type :r to resume execution, or :q to quit to top level.
2 Return to top level.
BOOT>>
------------------------------------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ----
Yet, it works smoothly in 16.04 axiom binaries.
[Prev in Thread] | Current Thread | [Next in Thread] |