[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Setting up AxiomWiki within Zope
From: |
Hans Peter Wuermli |
Subject: |
[Axiom-developer] Setting up AxiomWiki within Zope |
Date: |
Fri, 1 Oct 2004 22:05:41 +0200 |
User-agent: |
KMail/1.6.2 |
Hi
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
Recude 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).
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
- [Axiom-developer] Setting up AxiomWiki within Zope,
Hans Peter Wuermli <=
- [Axiom-developer] Re: Setting up AxiomWiki within Zope, Bob McElrath, 2004/10/01
- Re: [Axiom-developer] Re: Setting up AxiomWiki within Zope, root, 2004/10/01
- Re: [Axiom-developer] Re: Setting up AxiomWiki within Zope, Bob McElrath, 2004/10/02
- [Axiom-developer] foreign concepts, Bill Page, 2004/10/03
- Re: [Axiom-developer] foreign concepts, Martin Rubey, 2004/10/03
- Re: [Axiom-developer] foreign concepts, Bob McElrath, 2004/10/03
- Re: [Axiom-developer] Axiom release, Martin Rubey, 2004/10/04
- Re: [Axiom-developer] Axiom release, Martin Rubey, 2004/10/04