On 29 Dec 2007, at 04:23, Joe Smith wrote: > *This message was transferred with a trial version of > CommuniGate(tm) Pro* > When I try and compile clamav under 10.5 I get the following error. > > checking for clamav in /etc/passwd... checking for clamav using > netinfo... ./configure: line 25403: /usr/bin/nidump: No such file or > directory > ./configure: line 25404: /usr/bin/nidump: No such file or directory > no > configure: error: User clamav (and/or group clamav) doesn't exist. > Please read the documentation ! > > I tried adding clamav to /etc/passwd and /etc/group but I still get > the same error. Mac OS 10.5 doesn't have netinfo so there is no /usr/ > bin/nidump any more. Is it possible to compile clamav in 10.5? > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://lurker.clamav.net/list/clamav-users.html
I'm no coder or developer, just curious... Using OSX 10.5.1 client and Clamav -0.92 here's what I found.... In the clamav source folder, edit the 'configure' file. Find and change these lines: clamavuser=`/usr/bin/nidump passwd . |grep ${clamav_user}` clamavgroup=`/usr/bin/nidump group . |grep ${clamav_group}` To these lines: clamavuser=`/usr/bin/dscl . -list /Users |grep ${clamav_user}` clamavgroup=`/usr/bin/dscl . -list /Groups |grep $ {clamav_group}` After doing this it installed nicely for me. I also hit the GCC bug issue but got round it by installing GCC 3.3 from the 10.5 installer disc, (optional installs folder). I haven't FULLY tested it yet but a simple ' clamscan -i / ' worked. Hope this helps and a happy new year to all. Robert. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html