Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'm trying to install Dans Guardian on a virtual machine. The instructions ask me to run the ./configure script and then execute the command make install. The configure script runs fine but the make install throws errors.

Making all in src
make[2]: Entering directory `/webmin/dansguardian-2.10/src'
g++ -DHAVE_CONFIG_H -I. -I..  -D__CONFFILE='"/usr/local/etc/dansguardian/dansguardian.conf"' -D__LOGLOCATION='"/usr/local/var/log/dansguardian/"' -D__PIDDIR='"/usr/local/var/run"' -D__PROXYUSER='"nobody"' -D__PROXYGROUP='"nobody"' -D__CONFDIR='"/usr/local/etc/dansguardian"'      -g -O2  -MT dansguardian-fancy.o -MD -MP -MF .deps/dansguardian-fancy.Tpo -c -o dansguardian-fancy.o `test -f 'downloadmanagers/fancy.cpp' || echo './'`downloadmanagers/fancy.cpp
downloadmanagers/fancy.cpp: In member function âstd::string fancydm::timestring(int)â:
downloadmanagers/fancy.cpp:507:72: error: âsnprintfâ was not declared in this scope
make[2]: *** [dansguardian-fancy.o] Error 1
make[2]: Leaving directory `/webmin/dansguardian-2.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/webmin/dansguardian-2.10'
make: *** [all] Error 2

I'm running 12.04 LTS server x64

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Dan's Guardian 2.10 (the version you're trying to compile) is available in the official 12.04 repositories.

Simply run:

sudo apt-get install dansguardian
share|improve this answer

Have you tried running "sudo make install" instead? If you don't have permissions to modify the installation directories the installation may fail.

share|improve this answer
Yep I get the same errors. – Matt Jul 6 '12 at 14:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.