a Maxima program running under the Windows implementation but not under Linux implementation of Maxima / wxMaxima
Subject: a Maxima program running under the Windows implementation but not under Linux implementation of Maxima / wxMaxima
From: Volker van Nek
Date: Thu, 5 Apr 2012 21:45:53 +0200
Hello Jochen,
I am happy to read that you got it work.
I found two pages in http://wiki.ubuntuusers.de about ppa. Perhaps these
can give a little bit more understanding on software sources and ppa.
http://wiki.ubuntuusers.de/Paketquellen_freischalten/PPA?highlight=ppahttp://wiki.ubuntuusers.de/Launchpad/PPA?highlight=ppa
I believe Ubuntu is not supplied via sourceforge because it is simply one
of hundreds of Linux distributions. The distributions maintainers are doing
a great job in resolving all dependencies. This should not be a task to the
Maxima developers.
Yes, the old version is overwritten. If you want it back, unflag the
repository from Istvan Blahota in synaptic and reinstall. But I guess you
won't.
Why don't you upgrade your Ubuntu?
Best
Volker van Nek
PS: Please always cc to this list. Thank you.
2012/4/5 Jochen Ziegenbalg <ziegenbalg at ph-karlsruhe.de>
> Hello Volker van Nek,
>
> this worked (i.e. doing the PPA-stuff, downloading the Maxima 5.26
> packages, installing them and running my program) thank you.
>
> But installing the PPA stuff and everything was rather like a "blind
> flight"
> due to big holes in the documentation and instructions.
>
> Why is the ubuntu version of Maxima 5.26 not supplied via sourceforge?
>
> And: The older version of Maxima seems to be deleted or overwritten.
> Is this OK?
>
> Thank you very much,
> Jochen
>
>
> On Wed, Apr 4, 2012 at 1:40 PM, Volker van Nek
> <volkervannek at googlemail.com> wrote:
> > Or maybe a better source for maxima deb files is
> >
> > https://code.launchpad.net/~blahota/+archive/wxmaxima<https://code.launchpad.net/%7Eblahota/+archive/wxmaxima>
> >
> > Here packages for Ubuntu versions down to lucid are available.
> >
> > To use them you need to follow the instructions under
> >
> > Adding this PPA to your system
> >
> >
> > HTH
> > Volker van Nek
> >
> >
> >
> > 2012/4/4 Volker van Nek <volkervannek at googlemail.com>
> >>
> >> Hello,
> >>
> >> I would download a newer version from debian (Ubuntu uses debian files)
> >>
> >> http://packages.debian.org/sid/maxima
> >>
> >> and double click on the deb file. A graphical interface should open and
> it
> >> will check if all the necessary dependencies are fullfilled.
> >>
> >> In case that works I guess you have to download the maxima-emacs package
> >> as well. A grep-search tells me that wxdraw2d is defined in
> >> interfaces/emacs/imaxima/imaxima.lisp.
> >>
> >> Let me know what you experience.
> >>
> >> Volker van Nek
> >>
> >>
> >>
> >> 2012/4/4 Jochen Ziegenbalg <ziegenbalg at ph-karlsruhe.de>
> >>>
> >>> Hello Volker van Nek,
> >>>
> >>> thank you for your quick response. As you suggest, the program "runs
> >>> through" without an error message if I replace the wxdraw2d command by
> >>> returning just 1. Also, if I return the graphics list LG it works and
> >>> contentwise the list LG seems to be OK. So, the problem is with the
> >>> wxdraw2d command. Replacing the wxdraw2d commond by just draw2d does
> >>> not help, either.
> >>>
> >>> As I mentioned in my first mail, the ubuntu-based system is running
> >>> Maxima version 5.22.1. Of course, before writing to
> >>> maxima at math.utexas.edu, I tried to update my ubuntu Maxima system,
> >>> first. Not being very experienced with ubuntu, I tried to do this
> >>> using the Synaptic Package Manager. But whatever I tried, it did not
> >>> result in a newer version of Maxima. So I thought, version 5.22.1 was
> >>> the most recent version.
> >>>
> >>> Of course, if the problem would be solved if I used a more recent
> >>> version of Maxima, this would be the thing to do (instead of trying to
> >>> repair version 5.22.1). But how do I get my 5.22.1 version updated
> >>> under ubuntu? I would be grateful for a hint.
> >>>
> >>> Thank you for your help,
> >>> Jochen
> >>>
> >>>
> >>>
> >>> On Wed, Apr 4, 2012 at 1:21 AM, Volker van Nek
> >>> <volkervannek at googlemail.com> wrote:
> >>> > Hallo Jochen Ziegenbalg,
> >>> >
> >>> > I can confirm that your wxm file runs on Ubuntu with Maxima 5.26.0
> and
> >>> > 5.25.1 but fails with 5.20.1. I can't tell about the version 5.22.1.
> >>> >
> >>> > The wxdraw2d function is a quite recent development if I am not
> >>> > mistaken. In
> >>> > a first step I would just replace the last line in your
> StringToGraphic
> >>> > function
> >>> > by a simple return value like 1 or so and check if it works without
> >>> > errors.
> >>> >
> >>> > StringToGraphic(Str, c0, c1) :=
> >>> > ...
> >>> > LG : append(LG, [Gbit]) ),
> >>> > 1) ;
> >>> >
> >>> > Let us know what the result is.
> >>> >
> >>> > Volker van Nek
> >>> >
> >>> > 2012/4/3 Jochen Ziegenbalg <ziegenbalg at ph-karlsruhe.de>
> >>> >>
> >>> >> Ladies and gentlemen,
> >>> >>
> >>> >> in the appendix I send you a small Maxima program running without
> any
> >>> >> problem under wxMaxima for Windows (wxMaxima 11.08.0 / Maxima
> 5.25.1)
> >>> >> but not running under the (Ubuntu-) Linux implementation (wxMaxima
> >>> >> 0.85 / Maxima 5.22.1).
> >>> >>
> >>> >> The purpose of the program is to convert a string into its bit
> >>> >> structure (using the ASCII-code) and display this bit structure
> >>> >> graphically.
> >>> >>
> >>> >> Under Windows the program runs as expected.
> >>> >>
> >>> >> Under Linux (after defining the "helper"-functions like Byte),
> calling
> >>> >> the procedure
> >>> >> StringToGraphic("Karlsruhe", yellow, black)
> >>> >> results in the error message
> >>> >>
> >>> >> Maxima encountered a Lisp error:
> >>> >> Error in Apply [or a callee]:The function NIL is undefined.
> >>> >> Automatically continuing.
> >>> >> ...
> >>> >>
> >>> >> I would be grateful for some clarification on why this is so ...
> and a
> >>> >> hint on how to run the program under Linux.
> >>> >>
> >>> >> Thank you very much,
> >>> >> Jochen Ziegenbalg
> >>> >>
> >>> >> _______________________________________________
> >>> >> Maxima mailing list
> >>> >> Maxima at math.utexas.edu
> >>> >> http://www.math.utexas.edu/mailman/listinfo/maxima
> >>> >>
> >>> >
> >>
> >>
> >
>