I have spent many hours at various times in the last few months just trying to compile Dansguardian, the problem is I can't!
The last version I tried had config files missing, which made it impossible to compile, I've revisited my ubuntu box in the last couple of days to try again.
The good news is that the config files are fixed in the latest beta, the bad news is no matter what I do I can't get it to compile with ntlm support due to missing iconv/libiconv.
Normally I would work this out on my own, but I'm fed up now as I HAVE iconv and libiconv installed, I specifically downloaded, compiled and installed it already.
It's a long shot but anyone tried to compile Dansguardian (22.214.171.124) under ubuntu 6.06 server with the ntlm option enabled?
it's in the repo for my 7.10 system - is ntlm not on in that version?
I've only set up on centos personally.
I know it doesn't answer your question, but in the event you can't get the beta version to work, I've got ntlm working by using squid to do the authentication first. So my setup looks like
Squid (ntlm) -> Dansguardian (2.8) -> External Firewall (ISA)
I've no idea, if you can use the dansguardian ntlm auth rather than squid then yes :p
Originally Posted by CyberNerd
I've already done that in testing, but I really want to use the built in ntlm but thats the bit that is stopping the compile :(
Originally Posted by Iain
Simple answer is to download, compile and install libiconv :)
Oddly enough, that was the very first thing I tired. It compiles and installs perfectly :p
Originally Posted by Geoff
So when you ran the configure script for dansguardian. Did you tell it to check /usr/local/lib for libiconv?
Actually I've been searching through the config.log and noticed that despite having zlib (see below)
Originally Posted by Geoff
checking if zlib should be statically linked... yes
checking for zlib... checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
I was getting an error for the iconv test: /usr/bin/ld: cannot find -lz
one apt-get install zlib1g-dev and configure completed sucessfully. Now on to the compile!
I did wonder, because I'm fairly sure iconv is built into libc these days.
I think it was probably a rather miss leading error that threw me off as it stopped with this message
checking for iconv in -liconv... no
checking for libiconv in -liconv... no
configure: error: no libiconv found in given search path! (needed by NTLM plugin)
I'll revert my VM and run through a nice tidy compile again now that I know the exact packages I need
Indeed. I was correct. iconv is in libc now.
gking@offpc06l:~/temp$ iconvconfig -V
iconvconfig (GNU libc) 2.6.1
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.