*nix Thread, Dansguardian in Technical; I have spent many hours at various times in the last few months just trying to compile Dansguardian, the problem ...
25th January 2008, 12:34 PM #1
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 (220.127.116.11) under ubuntu 6.06 server with the ntlm option enabled?
Last edited by DMcCoy; 25th January 2008 at 12:41 PM.
25th January 2008, 12:45 PM #2
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.
25th January 2008, 12:51 PM #3
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)
25th January 2008, 12:57 PM #4
I've no idea, if you can use the dansguardian ntlm auth rather than squid then yes
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
25th January 2008, 01:12 PM #5
Simple answer is to download, compile and install libiconv
25th January 2008, 01:15 PM #6
Oddly enough, that was the very first thing I tired. It compiles and installs perfectly
Originally Posted by Geoff
25th January 2008, 01:25 PM #7
So when you ran the configure script for dansguardian. Did you tell it to check /usr/local/lib for libiconv?
25th January 2008, 02:10 PM #8
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!
25th January 2008, 02:12 PM #9
I did wonder, because I'm fairly sure iconv is built into libc these days.
25th January 2008, 02:14 PM #10
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
25th January 2008, 02:17 PM #11
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.
By gwendes in forum Hardware
Last Post: 17th December 2007, 04:46 PM
By CyberNerd in forum General Chat
Last Post: 16th December 2006, 06:23 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)