To install clamav-0.68 on a Linux 2.0-based distribution:
a) Back up /usr/include/sys/bitypes.h and remove these lines:
typedef /*signed*/ char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;
typedef unsigned short u_int16_t;
typedef int int32_t;
typedef unsigned int u_int32_t;
b) Back up /usr/include/arpa/inet.h and comment out these lines:
/* u_int32_t inet_netof __P((struct in_addr)); */
/* u_int32_t inet_network __P((const char *)); */
c) Execute the following:
CFLAGS=-DNO_STRTOK_R ./configure --sysconfdir=/etc
The rest will fall into place simply by following the standard
clamav installation process. Note that all clamav prerequisites
such as gcc >2.95 still apply.
d) After installation, restore /usr/include/sys/bitypes.h
and /usr/include/arpa/inet.h to their previous state.
Yes, it's hacky. But it will work until I can find time to
finally move to a more modern Linux base. Many thanks to all
who offered suggestions, especially to Fajar A. Nugraha.
Fred
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users