As always thanks to all: Option 1) replace *regex.h for pcreposix.h in all the following files: # grep -l "include.*regex\.h" */*.c */*.h clamav-milter/clamav-milter.c clamscan/others.c libclamav/regex_list.c libclamav/phishcheck.h
# LIBS='-lpcreposix -lpcre' LDFLAGS='-L/usr/local/lib -R/usr/local/lib' ./configure # make # make install And now all works fine again in solaris Option 2) Upgrade to the latest source code. I will try this on a backup server and if it works wait for the new full release so I can put in on the main server. Andrew Török Edvin wrote: > On 9/18/07, Dennis Peterson <[EMAIL PROTECTED]> wrote: >> Build but don't install clamav. Edit the config.status file to add the >> library references where appropriate (should be obvious). There are just >> a few files that have regex.h included and can be found with >> > > Or you can upgrade to latest SVN, which has a regcomp(),regexec() > implementation included in libclamav. > It doesn't rely anymore on system provided regcomp()/regexec(), so > it'll have consistent behavior on all platforms. > > > --Edwin > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://lurker.clamav.net/list/clamav-users.html _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html