Paul Heinlein
2011-08-12 15:49:30 UTC
I get some errors trying to install trac-0.12-2.el6.rf.noarch.rpm on
my CentOS 6 machines:
Error: Package: trac-0.12-2.el6.rf.noarch (rpmforge)
Requires: python-genshi >= 0.6
Available: python-genshi-0.5.1-7.1.el6.x86_64 (base)
python-genshi = 0.5.1-7.1.el6
Error: Package: trac-0.12-2.el6.rf.noarch (rpmforge)
Requires: mod_python
Error: Package: trac-0.12-2.el6.rf.noarch (rpmforge)
Requires: python-sqlite2
I've worked around the problem by
1. Building python-genshi from the published repoforge SRPM:
python-genshi-0.6-1.rf.src.rpm. It seems to build cleanly
on CentOS 6.
2. Changing some dependencies in the trac.spec file included with
the trac-0.12-2.rf.src.rpm:
- BuildRequires and Requires from python >= 2.4 to
python >= 2.6
- BuildRequires and Requires from python-sqlite2 to
python-sqlite >= 2.3
- Requires from mod_python to mod_wsgi
I haven't taken the time to write a decent conf.d/trac.conf file that
works with mod_wsgi instead of mod_python, so I can't give you a
decent patch for the spec file. Please accept my apologies. I still
thought the information might be useful to someone.
my CentOS 6 machines:
Error: Package: trac-0.12-2.el6.rf.noarch (rpmforge)
Requires: python-genshi >= 0.6
Available: python-genshi-0.5.1-7.1.el6.x86_64 (base)
python-genshi = 0.5.1-7.1.el6
Error: Package: trac-0.12-2.el6.rf.noarch (rpmforge)
Requires: mod_python
Error: Package: trac-0.12-2.el6.rf.noarch (rpmforge)
Requires: python-sqlite2
I've worked around the problem by
1. Building python-genshi from the published repoforge SRPM:
python-genshi-0.6-1.rf.src.rpm. It seems to build cleanly
on CentOS 6.
2. Changing some dependencies in the trac.spec file included with
the trac-0.12-2.rf.src.rpm:
- BuildRequires and Requires from python >= 2.4 to
python >= 2.6
- BuildRequires and Requires from python-sqlite2 to
python-sqlite >= 2.3
- Requires from mod_python to mod_wsgi
I haven't taken the time to write a decent conf.d/trac.conf file that
works with mod_wsgi instead of mod_python, so I can't give you a
decent patch for the spec file. Please accept my apologies. I still
thought the information might be useful to someone.
--
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/