3 | | Lee asks: Does the Fedora RPM install the dependencies listed on Trac's install page? I ask because I installed the Trac Fedora RPM and the install went smoothly, but Trac is not accessable on the system and its dependencies are not installed. |
4 | | |
5 | | EricHopper replies: It does not. I had to hunt down all of the dependencies myself. They did all exist in RPM form, which is good. |
6 | | |
7 | | = Package dependency list = |
8 | | Hello, here is a list I've started to make during installation. |
9 | | Can somebody tell me where are the packages that are marked as ??? |
10 | | * python 2.3.3-6 |
11 | | * python-devel 2.3.3-6 |
12 | | * python-xml : ??? |
13 | | * subversion 1.0.8-1 |
14 | | * python-subversion : ??? (not sure if usefull) |
15 | | * swig 1.3.19-6.1 |
16 | | * sqlite 2.8.15-1.1 : dag |
17 | | * python-sqlite 0.5.0-1.1 : dag |
18 | | * clearsilver 0.9.8-1 : dag |
19 | | * python-clearsilver 0.9.8-1 : dag |
20 | | * docutils : ??? |
21 | | * httpd 2.0.50-2.1 |
22 | | == Repositories == |
23 | | * dag : http://dag.wieers.com/ |
24 | | * ??? : Unknown source / not found |
25 | | |
26 | | Cheers, |
27 | | zimba |
28 | | |
29 | | = Possible problems = |
30 | | {{{ |
31 | | Oops... |
32 | | |
33 | | Trac detected an internal error: |
34 | | |
35 | | No module named neo_cgi |
36 | | |
37 | | Traceback (most recent call last): |
38 | | File "/usr/share/trac/cgi-bin/trac.cgi", line 25, in ? |
39 | | trac.core.cgi_start() |
40 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 477, in cgi_start |
41 | | send_pretty_error(e, None) |
42 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 412, in send_pretty_error |
43 | | req.init_request() |
44 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 312, in init_request |
45 | | Request.init_request(self) |
46 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 243, in init_request |
47 | | import neo_cgi |
48 | | ImportError: No module named neo_cgi |
49 | | }}} |
50 | | Solution : The actual python-clearsilver package (0.9.8-1) installs the lib for python2.2. You'll have to symlink /usr/lib/python2.2/site-packages/neo_cgi.so in actual version's folder (man ln :) ) |
51 | | |
52 | | Has anyone got this to run on Fedora Core? I am getting the following errors: |
53 | | |
54 | | The web server user requires read _and_ write permission |
55 | | to the database /opt/esm/db/trac.db and the directory this file is located in. |
56 | | Traceback (most recent call last): |
57 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start |
58 | | real_cgi_start() |
59 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 453, in real_cgi_start |
60 | | env = open_environment() |
61 | | File "/usr/lib/python2.3/site-packages/trac/core.py", line 169, in open_environment |
62 | | version = env.get_version() |
63 | | File "/usr/lib/python2.3/site-packages/trac/Environment.py", line 160, in get_version |
64 | | cnx = self.get_db_cnx() |
65 | | File "/usr/lib/python2.3/site-packages/trac/Environment.py", line 84, in get_db_cnx |
66 | | raise EnvironmentError, \ |
67 | | EnvironmentError: The web server user requires read _and_ write permission |
68 | | to the database /opt/esm/db/trac.db and the directory this file is located in. |
69 | | |