baby steps continue...
Now I actually have the trac project setup. I then made the symbolic
link to trac.cgi using 'ln -s /var/www/cgi-bin/trac.cgi
/usr/share/trac/cgi-bin/trac.cgi'. Then I configured Apache, and then
created the 'trac.htpasswd' file with one user. I then restarted Apache.
Now, when I attempt to access trac with '
http://server/cgi-bin/trac.cgi' I get:
You don't have permission to access /cgi-bin/trac.cgi on this server.
I would venture to say it's the Apache configuration, but I haven't got
a clue what it could be...
-----Original Message-----
From: Jeff Lanzarotta
Sent: Wednesday, September 01, 2004 2:10 PM
To: trac@lists.edgewall.com
Subject: RE: [Trac] Installing Trac under Mandrake Linux
Ok, I was incorrect in the path I set in PYTHONPATH was incorrect. I
fixed it and everything is fine now...
Thanks for everyones help...
-----Original Message-----
From: Jeff Lanzarotta
Sent: Wednesday, September 01, 2004 1:43 PM
To: trac@lists.edgewall.com
Subject: RE: [Trac] Installing Trac under Mandrake Linux
Hum....
I figured out now to set the environment variable PYTHONPATH to
'/usr/local/lib/svn-python/svn', but that still doesn't seem to help.
I'm still getting the same error:
---8<---
[root@rogdrake trac]# trac-admin /usr/rogers/trac initenv
Creating a new Trac environment at /usr/rogers/trac
Trac will first ask a few questions about your environment
in order to initalize and prepare the project database.
Please enter the name of your project.
This name will be used in page titles and descriptions.
Project Name [My Project]> WinDSS
Traceback (most recent call last):
File "/usr/bin/trac-admin", line 913, in ?
main()
File "/usr/bin/trac-admin", line 902, in main
tracadm.docmd (command)
File "/usr/bin/trac-admin", line 63, in docmd
self.onecmd(cmd)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/usr/bin/trac-admin", line 421, in do_initenv
from svn import util, repos, core
ImportError: No module named svn
[root@rogdrake trac]# echo $PYTHONPATH
/usr/local/lib/svn-python/svn
---8<---
From what I can tell, all the subversion stuff is in the
/usr/local/lib/svn-python directory...
-----Original Message-----
From: Kapil Thangavelu [mailto:hazmat@objectrealms.net]
Sent: Tuesday, August 31, 2004 11:01 PM
To: trac@lists.edgewall.com
Subject: RE: [Trac] Installing Trac under Mandrake Linux
the python svn bindings are part of subversion, they need to manually
installed though, hoand it assumes a suitable swig and python version
was found during the ./configure stage
make swig-py
make swig-py-install (afaicr, i always have to check)
also python needs to have been compiled/linked against the same version
of bdb that svn is using (turtles all the way down...)
svn tends to install things by default in $PREFIX/lib/svn-python which
you'll either need to move, add to your PYTHONPATH environment var for
trac, or check the makefile for how to have it install in python's
site-packages directory.
what tom suggested (mandrake rpm) might be easier..
as for svn do an svn dump for your repositories if you have *any* doubts
or concerns, you can load it back up again if your run into problems.
cheers,
-kapil
On Tue, 2004-08-31 at 16:41, Jeff Lanzarotta wrote:
> Thanks for the info Michael... I've ended up compiling all the source
for the needed modules and I just about got it, well I think... The only
one I can't seam to find is the python binding for subversion. Does
anyone know where I can get the source for that so I can recompile it?
>
> -----Original Message-----
> From: Michael Scherer [mailto:misc@mandrake.org]
> Sent: Tuesday, August 31, 2004 3:42 PM
> To: trac@lists.edgewall.com
> Subject: Re: [Trac] Installing Trac under Mandrake Linux
>
>
> On Tuesday 31 August 2004 18:33, Jeff Lanzarotta wrote:
> > Hello,
> >
> > I'm attempting to install 0.7.1 under Mandrake Linux 10 and running
> > into an rpm nightmare... Has anyone out there had any luck getting
> > Trac installed under Mandrake? If so, please sends some hints...
> >
> > As of now, I'm attempting to install the following packages:
> >
> > clearsilver-0.9.10-4mdk.i586.rpm
> > glibc-2.3.4-0.20040505.1.i386.rpm
> > glibc-misc-2.3.4-0.20040505.1.i386.rpm
> > sqlite-2.8.15-1.i386.rpm
> > trac-0.7.1-1mdk.noarch.rpm
> >
> > I'm having to install glibc-2.3.4 because clearsilver is requiring
> > it. This whole glibc thing is causing the main problems...
>
> You should not mix packages made for mandrakelinux ( -Xmdk.i586 ) and
> package made for redhat ( .i386.rpm ).
> And do not install mandrake package from cooker ( as trac is only
> avaliable for cooker ) on a stable system.
> You will be hit by rpm hell ( as you may have seen ), and instability
> ( as you will see if you still wissh to mix package ).
>
> The best thing to do is to rebuild your own srpm.
> Install rpm-build ( urpmi rpm-build ), take cooker srpm ( ie
> trac.*.src.rpm ) from trac, from clearsilver, and from python-sqlite.
> You can find them on any ftp mirror.
>
> Then, the command used to recompile a source rpm is rpm --rebuild.
> rpm --rebuild python-sqlite...src.rpm, for example, and it should
give
> you the rpm in the ~/rpm/RPMS/noarch, or i586 folders.
> You should install them.
> You may need to create some directories and set a config file, as
> expained in the rpm howto :
>
http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo#Preliminary_task s
>
> Please do not compile as root, as it is unneeded.
>
> If you lack some rpms, either use urpmi, or take the one you just
> compiled.
> There is a order, or sort of. To recompile trac, you need clearsilver
> and python-sqlite, so, you should first recompile python-sqlite, and
> clearsilver, and then trac should be easy.
>
> Do not hesitate if you have any question. By the way, trac should be
on
> the cd for next release, and avaliable on ftp.
--
Kapil Thangavelu <hazmat@objectrealms.net> Vision Implemented
objectrealms.net <
http://www.objectrealms.net>
_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac _______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac