login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

On 01/10/2004 4:05 PM Hans Peter Wuermli wrote:

This evening I set-up afresh FriCASWiki 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/AxiomW
     darcs get http://page.axiom-developer.org/repository/latexwiki

     cd $INSTANCE_HOME/Products

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

     cd $INSTANCE_HOME/Products/ZWiki
     cp /home/AxiomW/latexwiki/LatexWiki/ReplaceInline* .
     cp /home/AxiomW/latexwiki/LatexWiki/*Wrapper.py .
     cp /home/AxiomW/latexwiki/LatexWiki/texbreaker* .
     cp /home/AxiomW/latexwiki/LatexWiki/useproto.h .

   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)

5a) Install swig (www.swig.org). Fortunately there was a Debian package:

    apt-get install swig

5b) 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).


  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

  Subject:   Be Bold !!
  ( 14 subscribers )  
Please rate this page: