Menu

#656 MAXIMA_PREFIX problem (apparently rpm dependency problem)

closed
nobody
5
2012-12-04
2004-12-17
Anonymous
No

after rpm on RedHat9.0
#maxima
#/usr/bin/maxima: unable to determine MAXIMA_PREFIX
I don't know why it doesn't work.
Give me a hand,THX!!

Discussion

  • Nobody/Anonymous

    Logged In: NO

    [root@localhost root]# rpm -Uvh maxima-xmaxima-5.9.1-1.i386.rpm
    error: Failed dependencies:
    tk is needed by maxima-xmaxima-5.9.1-1

     
  • Robert Dodier

    Robert Dodier - 2004-12-31

    Logged In: YES
    user_id=501686

    To the author of the original bug report, if you're still
    watching -- I'd like to help but I think more info is
    needed. I have a very similar system (RH Fedora) and I can
    run Maxima as installed from the maxima-5.9.1-1 and
    maxima-exec-cmucl-5.9.1-1 rpm's (downloaded from
    Sourceforge). So it looks like your environment is
    different. Maybe you can give some more details to help us
    get started. -- Robert Dodier
    (robert_dodier@users.sourceforge.net)

     
  • Nobody/Anonymous

    Logged In: NO

    I have the same pb. with SuSE 8.1!
    Even after:

    export MAXIMA_PREFIX=/usr/share/maxima/5.9.1

    and variations. Tricks welcome!

    kracklau@fossi.uni-weimar.de

     
  • Nobody/Anonymous

    Logged In: NO

    This diagnostic appeared on at least one system because no
    maxima-exec-...rpm was installed. Can be seen as a bug in
    the maxima...rpm package, which fail if there is no exec.

     
  • Robert Dodier

    Robert Dodier - 2005-03-30

    Logged In: YES
    user_id=501686

    The maxima rpm should require a maxima-exec rpm, so that
    maxima cannot be installed without maxima-exec-something;
    this requirement should make the MAXIMA_PREFIX problem go
    away (per comments below).

    The easiest thing to do is to add a line "Requires:
    maxima_exec" in maxima.spec.in after "BuildRoot:" (circa
    line 27). The maxima-exec packages already have "Provides:
    maxima_exec".

    To get a little more fancy, we could require the version
    numbers of maxima and maxima-exec to match. I am also
    inclined to change maxima_exec to maxima-exec but that is a
    very minor issue.

     
  • Robert Dodier

    Robert Dodier - 2005-03-30
    • summary: for maxima-5.9.1-1 --> MAXIMA_PREFIX problem (apparently rpm dependency problem)
     
  • Robert Dodier

    Robert Dodier - 2006-07-19
    • labels: --> Installation
    • milestone: --> To_be_reviewed
     
  • Robert Dodier

    Robert Dodier - 2006-07-19

    Logged In: YES
    user_id=501686

    maxima.spec now says the maxima rpm requires the
    maxima-exec-foo rpm, so that's good. However (1) should make
    maxima rpm depend on maxima-exec with same version number,
    and (2) change maxima_exec to maxima-exec. Marking this for
    followup (seems like a good time since new release coming soon).

     
  • Robert Dodier

    Robert Dodier - 2006-08-02
    • status: open --> closed
     
  • Robert Dodier

    Robert Dodier - 2006-08-02

    Logged In: YES
    user_id=501686

    maxima.spec.in has been modified to make maxima depend on
    maxima-exec with the same version number (and vice versa).
    So attempting to install a maxima rpm without maxima-exec
    (or vv) should cause an rpm installation error (not a Maxima
    run-time error). Closing this report as fixed.

     

Log in to post a comment.