(no subject)



Cherry Kearton wrote:
>> On Tue, Aug 11, 2009 at 1:07 PM, Cherry
>> Kearton<cherry.kearton at durham.ac.uk> wrote:
>>
>>     
>>> I am trying to install Maxima on a linux machine: the command
>>>
>>> rpm -ivh maxima-5.19.0-1.centos4.i386.rpm
>>> maxima-exec-clisp-5.19.0-1.centos4.i386.rpm
>>> maxima-xmaxima-5.19.0-1.centos4.i386.rpm
>>>
>>> produces the response
>>>
>>> error: Failed dependencies:
>>>        libreadline.so.4 is needed by
>>> maxima-exec-clisp-5.19.0-1.centos4.i386
>>>
>>> "locate libreadline" produces the response
>>>
>>> /lib/libreadline.so.5
>>>       
>> Some Linux distributions have a separate readline 4 library
>> which you can install in addition to the default version
>> (which is version 5 in your case).
>> If you have superuser privilege or you can prevail upon your
>> sysadmin, try installing readline 4.
>>
>> I will try to compile Maxima w/ a Clisp which has readline statically
>> linked so it doesn't need libreadline.so. I'll post a followup for that.
>>
>> Sorry for the bother,
>>
>> Robert Dodier
>>
>>     
>
> Many thanks for your reply.  I am using openSUSE 11.1, and was able to
> install readline 4.  Now I get the following:
>
> cherry at linux-bpta:~/maxima> rpm -ivh maxima-5.19.0-1.centos4.i386.rpm
> maxima-exec-clisp-5.19.0-1.centos4.i386.rpm
> maxima-xmaxima-5.19.0-1.centos4.i386.rpm
> error: can't create transaction lock on /var/lib/rpm/__db.000
>
> cherry at linux-bpta:~/maxima> ls /var/lib/rpm/
> alternatives  Conflictname  Filemd5s  Installtid  Packages    
> Provideversion  Requirename     Sha1header  Triggername
> Basenames     Dirnames      Group     Name        Providename  Pubkeys    
>     Requireversion  Sigmd5
>
> I have used linux for several years now but I'm no expert: should I try
> installing it from the source code?  I'm a bit nervous about that, but
> someone has kindly offered to help me.
>
> Cherry Kearton
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>   
I tried opensuse some time ago, but went back to fedora.

I don't remember whether suse uses 'yum'.

In any event, the source installation is easy and gives you some more 
flexibility.  For instance you get the opportunity to use different 
lisps.  I find 'cmucl' faster than some others and  very stable.

Here are the steps (assuming you are root).  If you can't get in as root 
let me know.  It is only slightly different.

1. Make sure a lisp is installed--this has to be done before you install 
maxima.

2. Make sure that you have root access --using either sudo or su

3. Download the source file
   maxima-5.19.0.tar.gz
   from the website

4. Copy the source file into /usr/local/src

3. Type the following commands, each followed by a <Enter>. Wait for 
each to finish before you type the next one.
  cd /usr/local/src
  tar xvfz maxima-5.19.0.tar.gz
   cd maxima-5.19.0
  ./configure
  make
  make install

4. Depending on your system, the 'make' and 'make install' commands when 
executed can take quite some time to finish.

-sen