Re: Axiom and Ubuntu18.04

Fabio Stumbo <[email protected]> Mon, 13 Aug 2018 00:09:14 +0200
Newsgroups gmane.comp.mathematics.axiom.devel
Organization Università di Ferrara
Message-ID <[email protected]>
I see that the problem is more complex than I could imagine.


For the time being, I'll be happy with my workaround: I have built a 
virtual machine with lubuntu 16.04 and nothing else than axiom.

It works and (hopefully!) always will... ;)


Thanks

Fabio

Il 12/08/2018 16:17, Tim Daly ha scritto:
> Now that I got the termite rant out of the way....
>
> apt-get install gcc-4.8
> update-alternatives
> alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 1
>
> This installs a working gcc compiler (before the termites arrived).
> Beware that this changes gcc to version 4.8 which is NOT what you
> probably want.
>
> I am going to fix the 18.04 version but it will take a while.
> The gcc libraries appear to have been "reorganized" by some termite.
> I have to reverse-engineer that "fix" and figure out how to write new,
> "correct" code.
>
> You can, as an alternative, do:
>
> docker pull daly/axiom
> docker run -i -t daly/axiom axiom
>
> <rant> Ubuntu used to be a developer platform. However, 18.04 does
> not even include 'make' or 'xterm' by default. Some termite has taken
> over the teams at Ubuntu, likely trying to turn it into a 
> user-affectionate
> platform. Stewart Feldman introduced make in 1976. Everybody and his
> grandmother uses it. Now it is no longer standard in a unix-like system?
>
> Termites... the worst bug in software </rant>
>
> On Sun, Aug 12, 2018 at 8:44 AM, Fabio Stumbo <[email protected] 
> <mailto:[email protected]>> wrote:
>
>
>     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.
>
>

_______________________________________________
Axiom-developer mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/axiom-developer