HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

HAVP on Solaris
http://havp.hege.li/forum/viewtopic.php?f=3&t=44
Page 1 of 1

Author:  sega [ 17 Mar 2006 13:10 ]
Post subject:  HAVP on Solaris

Has anyone installed HAVP 0.78 on Solaris 9?
If Yes, are there any special instructions?

I have an error while compiling make - command:
[i]DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/local/clamav/include -g -O2 -c proxyhandler.cpp -o proxyhandler.o
sh: DHAVE_CONFIG_H: not found
*** Error code 1 (ignored)
DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/local/clamav/include -g -O2 -c utils.cpp -o utils.o
sh: DHAVE_CONFIG_H: not found
*** Error code 1 (ignored)
DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/local/clamav/include -g -O2 -c whitelist.cpp -o whitelist.o
sh: DHAVE_CONFIG_H: not found
*** Error code 1 (ignored)
DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/local/clamav/include -g -O2 -c clamlibscanner.cpp -o clamlibscanner.o
sh: DHAVE_CONFIG_H: not found
*** Error code 1 (ignored)
DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/local/clamav/include -g -O2 -o havp helper.o logfile.o scannerfilehandler.o connectiontobrowser.o genericscanner.o httphandler.o params.o sockethandler.o connectiontohttp.o havp.o proxyhandler.o utils.o whitelist.o clamlibscanner.o -lsocket -lresolv -lnsl -L/usr/local/clamav/lib -lz -lbz2 -lgmp -lpthread -lclamav
sh: DHAVE_CONFIG_H: not found
*** Error code 1 (ignored)[/i]

Author:  hege [ 17 Mar 2006 13:13 ]
Post subject: 

Hi, are you using GNU make? If not, you probably need to get it from sunfreeware..

Cheers,
Henrik

Author:  sega [ 17 Mar 2006 14:22 ]
Post subject: 

I am sorry, but it doesn't work.

with make-3.80 & sun gcc 2.95.3
...
/opt/sfw/lib/gcc-lib/i386-pc-solaris2.9/2.95.3/../../../../include/g++-3/libio.h:59: sys/cdefs.h: No such file or directory
make[1]: *** [helper.o] Error 1


with make-3.80 & gcc 3.4.2
...
/usr/include/ia32/sys/reg.h:300: error: `upad128_t' does not name a type
/usr/include/ia32/sys/reg.h:301: error: `upad128_t' does not name a type
/usr/include/ia32/sys/reg.h:331: error: `upad128_t' does not name a type
make[1]: *** [helper.o] Error 1
make[1]: Leaving directory `/temp/havp-0.78/havp'
make: *** [all] Error 2

Author:  hege [ 17 Mar 2006 14:34 ]
Post subject: 

If your gcc 3.4.2 from sunfreeware?

You probably need to fix gcc headers like this:

# cd /usr/local/libexec/gcc/*/3.4.2/install-tools
# ./mkheaders

If it's not there, do find /usr/local -name mkheaders..

Cheers,
Henrik

Author:  sega [ 17 Mar 2006 16:22 ]
Post subject: 

thanks a lot,
I am very pleased with your cooperation

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/