*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, 11:34 AM #1 Dansguardian
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 (2.9.9.2) under ubuntu 6.06 server with the ntlm option enabled?
Last edited by DMcCoy; 25th January 2008 at 11:41 AM.
-
-
IDG Tech News
-
25th January 2008, 11:45 AM #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, 11:51 AM #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, 11:57 AM #4 
Originally Posted by
CyberNerd
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've no idea, if you can use the dansguardian ntlm auth rather than squid then yes 

Originally Posted by
Iain
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 already done that in testing, but I really want to use the built in ntlm but thats the bit that is stopping the compile
-
-
25th January 2008, 12:12 PM #5 Simple answer is to download, compile and install libiconv 
http://www.techsww.com/tutorials/lib...untu_linux.php
-
-
25th January 2008, 12:15 PM #6 
Originally Posted by
Geoff
Oddly enough, that was the very first thing I tired. It compiles and installs perfectly
-
-
25th January 2008, 12: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, 01:10 PM #8 
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)
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, 01:12 PM #9 I did wonder, because I'm fairly sure iconv is built into libc these days.
-
-
25th January 2008, 01: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
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, 01:17 PM #11 Indeed. I was correct. iconv is in libc now.
Code:
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.
-
SHARE: 
Similar Threads
-
By gwendes in forum Hardware
Replies: 11
Last Post: 17th December 2007, 03:46 PM
-
By CyberNerd in forum General Chat
Replies: 22
Last Post: 16th December 2006, 05:23 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules