Any luck installing trac / clearsilver on Fedora core 4 (FC4) ?
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Any luck installing trac / clearsilver on Fedora core 4 (FC4) ?
Has anyone had any success in installing trac on Fedora Core 4 ?
the rpm of trac is available, for instance, through the dries reposinory, but it lacks dependency satisfactory for clearsilver.
Downloading clearsilver from clearsilver.net doesn't help me either, it just won't install right. I have tried compiling clearsilver from tar.gz manually but found out it doesn't find my python libraries (??).
So I passed along --with-python=/usr/bin/python, after which it found that I had /usr/lib/python2.4/includes as the includes dir.
make install then fails to move the neo_cgi.so to the site-packages directory, so I did this manually, to see if this does the trick.
Yet no go, as I get the next error:
Code:
Oops...
Trac detected an internal error:
file is encrypted or is not a database
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/core.py", line 531, in cgi_start
real_cgi_start()
File "/usr/lib/python2.4/site-packages/trac/core.py", line 513, in real_cgi_start
env = open_environment()
File "/usr/lib/python2.4/site-packages/trac/core.py", line 190, in open_environment
version = env.get_version()
File "/usr/lib/python2.4/site-packages/trac/Environment.py", line 162, in get_version
cursor.execute("SELECT value FROM system WHERE name='database_version'")
File "/usr/src/build/539311-i386/install//usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute
DatabaseError: file is encrypted or is not a database
I'm currently out of options.. Am I just too early to expect that clearsilver would work on python 2.4.1 ???
Any help or suggestions appreciated.
For the record, I have python, python-devel and python_sqlite installed, any additional packages needed to get this working?
The configuration script for clearsilver version 0.10.1 does not handle python2.4. I made the following changes to the script and was able to install it. I have not tested it beyond that; however, the module neo_cgi does load when imported.
Notice that I hard-coded the location of the python2.4 files. You will need to use a path appropriate for your system, most likely /usr/lib/python2.4/site-packages.
Code:
[jej@negi src]$ python2.4
Python 2.4.1 (#1, May 6 2005, 15:20:56)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import neo_cgi
>>> neo_cgi.__doc__
>>> neo_cgi.__dict__
{'CGI': <built-in function CGI>, '_C_API': <PyCObject object at 0x402743c8>, 'IgnoreEmptyFormVars': <built-in function IgnoreEmptyFormVars>, '_C_API_NUM': 4, 'exportDate': <built-in function exportDate>, '__file__': '/usr/local/lib/python2.4/site-packages/neo_cgi.so', 'update': <built-in function update>, 'urlEscape': <built-in function urlEscape>, 'htmlEscape': <built-in function htmlEscape>, 'htmlStrip': <built-in function htmlStrip>, 'CGIFinished': <class neo_cgi.CGIFinished at 0x402b1b6c>, 'urlUnescape': <built-in function urlUnescape>, '__name__': 'neo_cgi', 'cgiWrap': <built-in function cgiWrap>, '__doc__': None, 'text2html': <built-in function text2html>}
>>>
I figured that indeed... your workaround is smoother than mine.. I had altered the configure parameters to force compilation of the neo_cgi and moved it manually, this is better indeed. It resulted in the same, it got installed..
The next challenge I haven't solved is to upgrade a DB4 database from 4.2 to 4.3... upgrading of databases is not commonly available it seems... .. this causes trac not to work correctly..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.