При сборке в хэшере в neo_cgi.so обнаруживаются undefined symbols: ... Verifying ELF objects in /usr/src/tmp/clearsilver-buildroot (arch=normal,fhs=normal,rpath=normal,stack=n ormal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib64/python2.4/site-packages/neo_cgi.so: undefined symbol: deflate verify-elf: WARNING: ./usr/lib64/python2.4/site-packages/neo_cgi.so: undefined symbol: crc32 verify-elf: WARNING: ./usr/lib64/python2.4/site-packages/neo_cgi.so: undefined symbol: deflateEnd verify-elf: WARNING: ./usr/lib64/python2.4/site-packages/neo_cgi.so: undefined symbol: deflateInit2_ ... Подозреваю, что из-за этого не работает trac.fcgi, т.к. считает, что clearsilver не установлен: 2007/05/18 01:32:00 [error] 9909#0: *17 FastCGI sent in stderr: "Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/_fcgi.py", line 570, in run protocolStatus, appStatus = self.server.handler(self) File "/usr/lib/python2.4/site-packages/trac/web/_fcgi.py", line 1256, in handler result = self.application(environ, start_response) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 363, in dispatch_request env_paths) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 456, in send_project_index req.hdf = HDFWrapper(loadpaths) File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 135, in __init__ raise TracError, "ClearSilver not installed (%s)" % e TracError: ClearSilver not installed (/usr/lib64/python2.4/site-packages/neo_cgi.so: undefined symbol: deflate)" while reading response header from upstream, client: 195.19.240.20, server: *, URL: "/projects/", upstream: "fastcgi://127.0.0.1:1027", host: "81.222.141.17"
Долинковать neo_cgi.so с zlib у меня не получилось, поэтому я просто отключил компрессию страниц HTML (deflate). Это исправление опубликовано в git: http://git.altlinux.org/people/bga/packages/?p=clearsilver.git . Хочу NMU по причине нерабочего trac.
diff --git a/clearsilver/python/setup.py b/clearsilver/python/setup.py index 62302d3..8fb53db 100755 --- a/clearsilver/python/setup.py +++ b/clearsilver/python/setup.py @@ -56,7 +56,7 @@ for line in string.split(rules, "\n"): if lib not in LIBRARIES: inserted.append(lib) sys.stderr.write("adding lib %s\n" % lib) - LIBRARIES = inserted + LIBRARIES + LIBRARIES = LIBRARIES + inserted elif var == "LDFLAGS": matches = re.findall("-L(\S+)", val) inserted = [] Как-то так. P.S. 15 минут хватило.
Актуально для 4.0/Server.
http://git.altlinux.org/people/ldv/packages/?p=clearsilver.git;a=tag;h=0.10.4-alt2