a Maxima program running under the Windows implementation but not under Linux implementation of Maxima / wxMaxima



Hello,

you had to scroll down to the end of the page and klick on i368 resp. amd64.

But try please try the ubuntu launchpad page first (see my last mail).

Volker van Nek

2012/4/4 Jochen Ziegenbalg <ziegenbalg at ph-karlsruhe.de>

> Hello,
>
> On Wed, Apr 4, 2012 at 2:10 PM, Volker van Nek
> <volkervannek at googlemail.com> wrote:
> > 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.
>
> I'll be happy to do this. But which of the files under the above
> address is the deb file?
> (I downloaded the file  maxima_5.26.0-3.debian.tar.gz  but could not
> find any file to double click on, there).
>
> Grateful for some further help,
> Jochen
>
>
>
>
>
>                                   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
> >> >>
> >> >
> >
> >
>
>
>
> --
> ***********************************************************
>    Prof. Dr. Jochen Ziegenbalg
>    Institut fuer Mathematik und Informatik
>    Paedagogische Hochschule Karlsruhe
>    University of Education, Karlsruhe (Germany)
> ----------------------------------------------------------------------
>    ziegenbalg at ph-karlsruhe.de
>    www.ziegenbalg.ph-karlsruhe.de
> ----------------------------------------------------------------------
>    Tel. privat:  030-21237725
> ***********************************************************
>