+ Post New Thread
Results 1 to 11 of 11
*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 ...
  1. #1
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111

    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.

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    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.

  3. #3
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    187
    Thank Post
    28
    Thanked 93 Times in 53 Posts
    Rep Power
    31
    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)

  4. #4
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Quote Originally Posted by CyberNerd View Post
    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

    Quote Originally Posted by Iain View Post
    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

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Simple answer is to download, compile and install libiconv

    http://www.techsww.com/tutorials/lib...untu_linux.php

  6. #6
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Quote Originally Posted by Geoff View Post
    Simple answer is to download, compile and install libiconv

    http://www.techsww.com/tutorials/lib...untu_linux.php
    Oddly enough, that was the very first thing I tired. It compiles and installs perfectly

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    So when you ran the configure script for dansguardian. Did you tell it to check /usr/local/lib for libiconv?

  8. #8
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Quote Originally Posted by Geoff View Post
    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!

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    I did wonder, because I'm fairly sure iconv is built into libc these days.

  10. #10
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111

    Smile

    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

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    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:
+ Post New Thread

Similar Threads

  1. I hate printers! Problem with an HP 2550n
    By gwendes in forum Hardware
    Replies: 11
    Last Post: 17th December 2007, 03:46 PM
  2. Why Does everybody hate Microsoft ?
    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
  •