Re: Re: [Fwd: Clearsilver & `neo_cgi.so', what am I missing?]

<[email protected]>
Newsgroups gmane.text.clearsilver.general
Message-ID <20070405093123.KSIQ219.aamtaout01-winn.ispmail.ntl.com@smtp.ntlworld.com>
Yep, cheers Brandon. That fixed that problem and my 'make' completed ok. However when I ran 'make install' I got a load of errors saying something about not being able to find ./install-sh :( 

So to get round it I copied install-sh into each subdirectory as & when it needed & kept running make/make install until it finally installed.

Maybe I had a $PATH issue?

I also have trac running on my server.

Thanks for your help.
Mark
 
> Same problem, I guess I should really get 0.10.5 out to fix this.
> 
> You need to delete the line #include <features.h> from cgi/cgiwrap.c
> 
> Then recompile (make clean, make, make install)
> 
> Brandon
> 
> > > 
> > > Hi there,
> > > First time posting to this group.
> > > 
> > > I'm trying to get TRAC to work but its failing and it seems to fail with ClearSilver :( I've been pulling my hair out with this one and I've been trawling through web pages trying to find the solution but although I have found similar problems, all these solutions have so far failed for me :( So all helpful suggestions gratefully received.
> > > 
> > > I am running:
> > > Solaris 10 x86 (only global zone)
> > > ClearSilver 0.10.4
> > > Python 2.3.3 
> > > 
> > > I can successfully create a trac environment but when I try and view the wep page for the environment I get a blank screen and the following output in my console :
> > > 
> > > ----------------------------------------
> > > Exception happened during processing of request from ('xxx.xxx.xxx.xxx', 2542)
> > > Traceback (most recent call last):
> > >   File "/usr/sfw/lib/python2.3/SocketServer.py", line 463, in process_request_thread
> > >     self.finish_request(request, client_address)
> > >   File "/usr/sfw/lib/python2.3/SocketServer.py", line 254, in finish_request
> > >     self.RequestHandlerClass(request, client_address, self)
> > >   File "/usr/sfw/lib/python2.3/SocketServer.py", line 521, in __init__
> > >     self.handle()
> > >   File "/usr/sfw/lib/python2.3/BaseHTTPServer.py", line 324, in handle
> > >     self.handle_one_request()
> > >   File "/usr/sfw/lib/python2.3/site-packages/trac/web/wsgi.py", line 174, in handle_one_request
> > >     gateway.run(self.server.application)
> > >   File "/usr/sfw/lib/python2.3/site-packages/trac/web/wsgi.py", line 87, in run
> > >     response = application(self.environ, self._start_response)
> > >   File "/usr/sfw/lib/python2.3/site-packages/trac/web/standalone.py", line 88, in __call__
> > >     return self.application(environ, start_response)
> > >   File "/usr/sfw/lib/python2.3/site-packages/trac/web/main.py", line 352, in dispatch_request
> > >     env_paths)
> > >   File "/usr/sfw/lib/python2.3/site-packages/trac/web/main.py", line 436, in send_project_index
> > >     req.hdf = HDFWrapper(loadpaths)
> > >   File "/usr/sfw/lib/python2.3/site-packages/trac/web/clearsilver.py", line 135, in __init__
> > >     raise TracError, "ClearSilver not installed (%s)" % e
> > > TracError: ClearSilver not installed (No module named neo_cgi)
> > > ----------------------------------------
> > > 
> > > I configure ClearSilver this way :
> > > #./configure --with-python=/usr/sfw/bin/python2.3 --disable-ruby --disable-java --disable-apache --disable-csharp --disable-perl --disable-compression 
> > > 
> > > which gives this :
> > > checking for gcc... gcc
> > > checking for C compiler default output file name... a.out
> > > checking whether the C compiler works... yes
> > > checking whether we are cross compiling... no
> > > checking for suffix of executables...
> > > checking for suffix of object files... o
> > > checking whether we are using the GNU C compiler... yes
> > > checking whether gcc accepts -g... yes
> > > checking for gcc option to accept ANSI C... none needed
> > > checking how to run the C preprocessor... gcc -E
> > > checking whether ln -s works... yes
> > > checking for ar... ar
> > > checking for ranlib... ranlib
> > > checking whether make sets $(MAKE)... yes
> > > checking for a BSD-compatible install... ./install-sh -c
> > > checking for Neotonic Paths... not found
> > > checking for dirent.h that defines DIR... yes
> > > checking for library containing opendir... none required
> > > checking for egrep... egrep
> > > checking for ANSI C header files... yes
> > > checking for sys/wait.h that is POSIX.1 compatible... yes
> > > checking for sys/types.h... yes
> > > checking for sys/stat.h... yes
> > > checking for stdlib.h... yes
> > > checking for string.h... yes
> > > checking for memory.h... yes
> > > checking for strings.h... yes
> > > checking for inttypes.h... yes
> > > checking for stdint.h... yes
> > > checking for unistd.h... yes
> > > checking fcntl.h usability... yes
> > > checking fcntl.h presence... yes
> > > checking for fcntl.h... yes
> > > checking stdarg.h usability... yes
> > > checking stdarg.h presence... yes
> > > checking for stdarg.h... yes
> > > checking varargs.h usability... no
> > > checking varargs.h presence... no
> > > checking for varargs.h... no
> > > checking limits.h usability... yes
> > > checking limits.h presence... yes
> > > checking for limits.h... yes
> > > checking for strings.h... (cached) yes
> > > checking sys/ioctl.h usability... yes
> > > checking sys/ioctl.h presence... yes
> > > checking for sys/ioctl.h... yes
> > > checking sys/time.h usability... yes
> > > checking sys/time.h presence... yes
> > > checking for sys/time.h... yes
> > > checking for unistd.h... (cached) yes
> > > checking for an ANSI C-conforming const... yes
> > > checking for mode_t... yes
> > > checking for off_t... yes
> > > checking for pid_t... yes
> > > checking for size_t... yes
> > > checking whether time.h and sys/time.h may both be included... yes
> > > checking whether struct tm is in sys/time.h or time.h... time.h
> > > checking for struct tm.tm_zone... no
> > > checking for tzname... yes
> > > checking return type of signal handlers... void
> > > checking for strftime... yes
> > > checking for vprintf... yes
> > > checking for _doprnt... yes
> > > checking for wait3 that fills in rusage... no
> > > checking for gettimeofday... yes
> > > checking for mktime... yes
> > > checking for putenv... yes
> > > checking for strerror... yes
> > > checking for strspn... yes
> > > checking for strtod... yes
> > > checking for strtol... yes
> > > checking for strtoul... yes
> > > checking for random... yes
> > > checking for rand... yes
> > > checking for drand48... yes
> > > Disabling wdb code
> > > checking for lockf... yes
> > > checking pthread.h usability... yes
> > > checking pthread.h presence... yes
> > > checking for pthread.h... yes
> > > checking build system type... i386-pc-solaris2.10
> > > checking host system type... i386-pc-solaris2.10
> > > checking for snprintf... yes
> > > checking for vsnprintf... yes
> > > checking for localtime_r... yes
> > > checking whether localtime_r is declared... yes
> > > checking for gmtime_r... yes
> > > checking whether gmtime_r is declared... yes
> > > checking for strtok_r... yes
> > > checking whether strtok_r is declared... yes
> > > checking for mkstemp... yes
> > > checking for regexec... yes
> > > checking for deflate in -lz... yes
> > > Disabling HTML Compression support
> > > Disabling Apache 1.3.x Module
> > > checking for python includes... found /usr/sfw/include/python2.3
> > > Disabling perl module
> > > Disabling ruby module
> > > Disabling java module
> > > Disabling csharp module
> > > configure: creating ./config.status
> > > config.status: creating rules.mk
> > > config.status: creating cs_config.h
> > > config.status: cs_config.h is unchanged
> > > 
> > > I make ClearSilver (using GNUmake) this way :
> > > #/usr/local/bin/make
> > > 
> > > which gives this :
> > > *******************************************
> > > ** Building Dependencies
> > > ** OSNAME: SunOS
> > > ** (done)
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/util'
> > > *******************************************
> > > ** Building Dependencies
> > > ** OSNAME: SunOS
> > > ** (done)
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/util'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/util'
> > > make[1]: Nothing to be done for `depend'.
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/util'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/cs'
> > > *******************************************
> > > ** Building Dependencies
> > > ** OSNAME: SunOS
> > > ** (done)
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/cs'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/cs'
> > > make[1]: Nothing to be done for `depend'.
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/cs'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/cgi'
> > > *******************************************
> > > ** Building Dependencies
> > > ** OSNAME: SunOS
> > > ** (done)
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/cgi'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/cgi'
> > > make[1]: Nothing to be done for `depend'.
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/cgi'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/python'
> > > *******************************************
> > > ** Building Dependencies
> > > ** OSNAME: SunOS
> > > ** (done)
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/python'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/python'
> > > make[1]: Nothing to be done for `depend'.
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/python'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/util'
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_err.o -c neo_err.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_files.o -c neo_files.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_misc.o -c neo_misc.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_rand.o -c neo_rand.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o ulist.o -c ulist.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_hdf.o -c neo_hdf.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_str.o -c neo_str.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_date.o -c neo_date.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o wildmat.o -c wildmat.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_hash.o -c neo_hash.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o ulocks.o -c ulocks.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o rcfs.o -c rcfs.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o skiplist.o -c skiplist.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o dict.o -c dict.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o filter.o -c filter.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_net.o -c neo_net.c
> > > gcc -g -O2 -Wall -I..  -fPIC -o neo_server.o -c neo_server.c
> > > ar cr ../libs/libneo_utl.a neo_err.o neo_files.o neo_misc.o neo_rand.o ulist.o neo_hdf.o neo_str.o neo_date.o wildmat.o neo_hash.o ulocks.o rcfs.o skiplist.o dict.o filter.o neo_net.o neo_server.o
> > > ranlib ../libs/libneo_utl.a
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/util'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/cs'
> > > gcc -g -O2 -Wall -I..  -fPIC -o csparse.o -c csparse.c
> > > ar cr ../libs/libneo_cs.a csparse.o
> > > ranlib ../libs/libneo_cs.a
> > > gcc -g -O2 -Wall -I..  -fPIC -o cstest.o -c cstest.c
> > > gcc -o cstest cstest.o -L../libs/   -lneo_cs -lneo_utl  # -lefence
> > > gcc -g -O2 -Wall -I..  -fPIC -o cs.o -c cs.c
> > > gcc -o cs cs.o -L../libs/   -lneo_cs -lneo_utl  # -lefence
> > > Running cs regression tests
> > > Passed
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/cs'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/cgi'
> > > make[1]: *** No rule to make target `features.h', needed by `cgiwrap.o'.  Stop.
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/cgi'
> > > make[1]: Entering directory `/opt/packages/clearsilver-0.10.4/python'
> > > make[1]: *** No rule to make target `../libs/libneo_cgi.a', needed by `neo_cgi.so'.  Stop.
> > > make[1]: Leaving directory `/opt/packages/clearsilver-0.10.4/python'
> > > make: *** [cs] Error 2
> > > 
> > > Which is actually a different message that I was getting previously but all mention `neo_cgi.so' somewhere along the lines.
> > > 
> > > Anyway, I'm hoping somebody has a solution for me.
> > > 
> > > Thanks  in advance,
> > > Mark 
> > > 
> > > 
> > > -----------------------------------------
> > > Email sent from www.virginmedia.com/email
> > > Virus-checked using McAfee(R) Software and scanned for spam
> > > 
> > 
> > -----------------------------------------
> > Email sent from www.virginmedia.com/email
> > Virus-checked using McAfee(R) Software and scanned for spam
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> > 
> 
> -- 
>   "Put all of your high priorities on one list and your low priorities
>    on another.  Then do everything on both lists even if it kills you.  
>    Otherwise you're a freakin' loser."  -- Dilbert 12-05-2001
>                                         http://www.fiction.net/blong/
> 
> 

-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.