For the record, I am replying to my own message jut to share how I 
solved the problem, hoping it may help others. The solution was to go to 
Clearsilver 0.10.5, with these steps:


Make sure you remove any clearsilver eggs from 
/usr/local/lib/python2.5/site-packages. Also any neo_cgi.so in there. 
Now this:

cd /usr/local/src/clearsilver-0.10.5
./configure --with-python=/usr/local/bin/python
make
make install
cd python
python setup.py  bdist_egg
cp 
/usr/local/src/clearsilver-0.10.5/python/dist/clearsilver-0.10.5-py2.5-linux-i686.egg
 
  /usr/local/lib/python2.5/site-packages
chmod 644 
/usr/local/lib/python2.5/site-packages/clearsilver-0.10.5-py2.5-linux-i686.egg

restart apache



marcio



Marcio Marchini wrote:
> Hi,
> 
>       Can anybody help shed some light into this problem, please?
> 
>       Backgound:
> 
> 
> * I have installed Trac under Windows in the past, it was easy
> * A colleague installed Trac under Red Hat, he suffered but it was 
> working fine
> * We moved to a new server (new hardware) and I am trying to get Trac up 
> and running on the new hardware
> 
> 
> 
>       The error:
> 
> 
> Traceback (most recent call last):
>    File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 
> 406, in dispatch_request
>    File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 
> 206, in dispatch
>    File 
> "/usr/local/lib/python2.5/site-packages/trac/web/clearsilver.py", line 
> 135, in __init__
> TracError: ClearSilver not installed 
> (/www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so:
>  
> undefined symbol: NERR_PARSE)
> 
> 
> 
>       I believe I have multiple versions of Clearsilver due to a combination 
> of rsyncing files from the old server and/or my attempt to recompile 
> Clearsilver from source and/or my attempt o install it with easy_insall. 
> Here:
> 
> 
> 
> 
> [EMAIL PROTECTED] clearsilver]# find / -name neo_cgi.so -print
> /www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so
> /usr/lib/python2.3/site-packages/neo_cgi.so
> /usr/local/lib/python2.5/site-packages/neo_cgi.so
> /usr/local/src/clearsilver-0.10.4-oldserver/python/neo_cgi.so
> /usr/local/src/clearsilver-0.10.4-oldserver/python/build/lib.linux-i686-2.5/neo_cgi.so
> /usr/local/src/clearsilver-0.10.4/python/neo_cgi.so
> 
> 
> I believe the old server was using 0.10.4. Since I could not re-run 
> ./configure, I renamed teh dir to 
> /usr/local/src/clearsilver-0.10.4-oldserver and untar'ed again into 
> /usr/local/src/clearsilver-0.10.4 again and re-ran configure etc.
> 
> 
>       I believe it was teh easy_install attempt which installed the older 
> version, 0.10.1, but I could be wrong.
> 
>       Here's teh dates/details for teh different ones:
> 
> [EMAIL PROTECTED] bugzilla]# ls -la 
> /usr/local/lib/python2.5/site-packages/neo_cgi.so
> -rwxr-xr-x  1 root root 457468 Nov  9 14:30 
> /usr/local/lib/python2.5/site-packages/neo_cgi.so
> 
> [EMAIL PROTECTED] bugzilla]# ls -la 
> /www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so
> -rwxr-xr-x  1 apache foo 92478 Oct 16 13:01 
> /www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so
> 
> [EMAIL PROTECTED] bugzilla]# ls -la 
> /usr/lib/python2.3/site-packages/neo_cgi.so
> -rwxr-xr-x  1 root root 457468 Oct 16 13:04 
> /usr/lib/python2.3/site-packages/neo_cgi.so
> 
> 
> [EMAIL PROTECTED] bugzilla]# python --version
> Python 2.5.1
> 
> 
>       Even if I delete the egg cache, it comes back. Where is it getting that 
> stuff from? SHouldn't my ./configure for clearsilver have replaced this 
> stuff?
>       
>       Can anybody bring some light into this please? I am not a Python expert 
> and by no means a Clearsilver expert either. easy_install does not seem 
> able to uninstall, so I ran "rpm -e clearsilver" and re-installed from 
> sources (0.10.4) using configure. But the problem persists.
> 
>       Thanks,
> 
> marcio
> 
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to