[Clamav-users] Compiling Clamav-0.9RC2 on Solaris Intel

2006-11-27 Thread Jonathan Armitage
Apologies if this is the wrong list. Although I'm a long-time Clamav 
user, I haven't needed any support for years.


I have just tried to configure, make and install Clamav-0.9RC2 on a Dell 
PC running Solaris 10. I have previously done the same with various 0.8 
versions and 0.9RC1 without any problem. This time there were a couple 
of funnies, although I do seem to have ended up with working executables.


I ran a basic ./configure --with-user=myuser --with-group=mygroup.

The configure script complains checking for curl = 7.10.0... syntax 
error on line 1, teletype 7.14.0, but it does in fact find libcurl and 
compile it in, so I assume this is not serious. I notice that this error 
has cropped up in earlier versions, but didn't see a fix.


Make runs without error, but make install (run as root) fails, 
complaining that main.cvd and daily.cvd are not in /usr/local/share/clamav:


make[1]: Entering directory `/mydir/clamav-0.90rc2/database'
/bin/bash ../mkinstalldirs /usr/local/share/clamav
chmod: WARNING: can't access /usr/local/share/clamav/main.cvd
chown: /usr/local/share/clamav/main.cvd: No such file or directory
chgrp: /usr/local/share/clamav/main.cvd: No such file or directory
chmod: WARNING: can't access /usr/local/share/clamav/daily.cvd
chown: /usr/local/share/clamav/daily.cvd: No such file or directory
chgrp: /usr/local/share/clamav/daily.cvd: No such file or directory
make[1]: *** [install] Error 1

Do I need to worry about any of this?

Jon
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Compiling Clamav-0.9RC2 on Solaris Intel

2006-11-27 Thread Christopher X. Candreva
On Mon, 27 Nov 2006, Jonathan Armitage wrote:

 I have just tried to configure, make and install Clamav-0.9RC2 on a Dell PC
 running Solaris 10. I have previously done the same with various 0.8 versions

I don't know if this is your issue, but if you have bash installed, try 
editing the first line of configure to use bash instead of sh.

Sun now ships a bash in /bin/bash , I compiled my own and used that
#!/usr/local/bin/bash


==
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html