axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] [InstallingMathAction] (new)


From: Bill Page
Subject: [Axiom-developer] [InstallingMathAction] (new)
Date: Wed, 04 May 2005 13:05:49 -0500

Changes 
http://page.axiom-developer.org/zope/mathaction/InstallingMathAction/diff
--
On 01/10/2004 4:05 PM Hans Peter Wuermli wrote:

This evening I set-up afresh AxiomWiki on my local system
(which I describe as far as I find it useful at the end).

This was done on 2004-10-1:

1) Download  ZWiki-0.35.0.tgz from http://www.zwiki.org/FrontPage.

2) I would have downloaded LatexWiki-0.35, if it had been
   available as Bob McElrath tries to keep LatexWiki and
   ZWiki in sync. Instead I did the following::

     cd /home/LatexW
     darcs get http://bob.mcelrath.org/darcs/latexwiki

     cd /home/AaxiomW
     darcs get http://page.axiom-developer.org/repository/latexwiki

     cd $ZOPEHOME/lib/python/Products

     cp -r /home/LatexW/latexwiki/LatexWiki .
     cp -r /home/LatexW/latexwiki/ZWiki .

     cp /home/AxiomW/latexwiki/LatexWiki/ReplaceInline* .
     cp /home/AxiomW/latexwiki/LatexWiki/*Wrapper.py .
     cp /home/AxiomW/latexwiki/LatexWiki/texbreaker* .

   I had to delete ReplaceInlineReduce.py and comment out any
   line refering to Reduce in ReplaceInlineLatex.py as I don't
   have reduce and it does produce an error if you leave it.

3) If necessary, comment out line 24 and 58 in ReplaceInlineLatex.py,
   both referring to Reduce.

4) Edit axiomWrapper.py: on line 85 the string "cmdLine" exports
   AXIOM. Edit it such that it reflects your local Axiom home.
   In my case::

     cd /usr/local/lib/
     darcs get http://page.axiom-developer.org/repository/axiom

     .... make ....
     In axiomWrapper.py:
        cmdLine = 'export AXIOM=/usr/local/lib/axiom/mnt/linux;\\
        export PATH=\$AXIOM/bin:\$PATH;\\
        AXIOMsys < %s' %(axiomFileName)

5) Run the commands you find in texbreaker.mak. (I had the change
   the include file in the gcc command::

     -I/usr/include/python2.3 to -I/usr/include/python2.2)

6) Restart zope: /etc/init.d/zope restart

Now it should all be set up and work.


My system:

I run Debian testing (Sarge) with a kernel-image-2.6.7-1-686
(with mostly the latest library versions of everything, i.e.
not a totally robust system, but perfectly fine for me).

Versions::

  Zope Version (Zope 2.6.4 (source release, python 2.1, linux2), python 2.2.3, 
linux2)
  Python Version 2.2.3+ (#1, Jun 20 2004, 13:32:48) [GCC 3.3.4 (Debian)]
  System Platform linux2
  SOFTWARE_HOME /usr/lib/zope/lib/python
  ZOPE_HOME /usr/lib/zope
  INSTANCE_HOME /var/lib/zope/instance/default
  CLIENT_HOME /var/lib/zope/instance/default/var


--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]