Skip to main content.
home | support | download

Back to List Archive

Little bug, some annoying installation details

From: Christian Ferrari <christian.ferrari(at)not-real.primeur.com>
Date: Wed Feb 26 2003 - 11:36:17 GMT
Hi all,

I've successfully installed "swish-e", but a list of annoying details
did increase the time I spent in configuration and installation:

uname -a
HP-UX apollo B.11.11 U 9000/800 816839621 unlimited-user license

gcc -v
Reading specs from /opt/gccs/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/opt/gccs
--enable-languages=c,c++ --with-as=/opt/gccs/bin/as
Thread model: single
gcc version 3.2.1

swish-e version: 2.2.3

1. src/date_time.c
row 49:
replace
struct _timeb ftimebuf;
with
struct timeb ftimebuf;

row 51:
replace
_ftime(&ftimebuf);
with
ftime(&ftimebuf);

Does POSIX standard mention "_timeb", "_ftime"? I did not find them.

2. if I not specify "./configure --with-zlib=/usr/local [...some
stuff...]", the generated Makefile does NOT specify "-lz" and symbols
"compress/uncompress" can NOT be resolved; configure does not produce a
right Makefile if "zlib" is not explicitly  mentioned

3. example/swish.cgi perl script migth be configured by configure to use
a working perl instance instead of a generic path (/usr/local/bin/perl)

4. documentation explains a lot of commands (cp, chmod, etc...) to
install "swish.cgi" script: it would be easier a make target like "make 
install-cgi"

Regards

Christian

-- 
______________________________________

Christian Ferrari
c/o PRIMEUR ITALIA
Via E. Mattei, 1/106 A
30020 Marcon (VE) - ITALY

Tel.:    +39 041 5950998
Fax:     +39 041 5951024
Mobile:  +39 348 8960572
E-mail:  Christian.Ferrari@primeur.com
Web:     http://www.primeur.com/
Received on Wed Feb 26 11:40:30 2003