[K12OSN] squidGuard install - no db.h file found

Jeremy Schubert jschubert at shaw.ca
Mon Jun 23 03:18:40 UTC 2008


Thanks Chuck and Lucas and everyone else!  Turns out I'm only going to use
this to help monitor internet usage of my kids.  I think I'm going back to
Ipcop.  It's a lot easier to deal with!

-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On Behalf
Of James P. Kinney III
Sent: June-22-08 9:08 PM
To: Support list for open source software in schools.
Subject: Re: [K12OSN] squidGuard install - no db.h file found


On Sun, 2008-06-22 at 08:30 -0600, Jeremy Schubert wrote:
> I've been trying to configure squidGuard using the following commnad:
> ./configure  --with-db=/usr/local/BerkeleyDB.4.6
> I keep getting the error:
> No db.h found
> The Berkley DB library is required for squidGuard to compile. Get it
> from 
> http://www.oracle.com/database/berkeley-db.html use --with-db=DIR or
> --with-db-inc=DIR to specify its location. (default
> is /usr/local/BerkeleyDB)
> I've Googled the no db.h message, but all the sites I go to seem to be
> giving me some script to run?  I don't have a clue of where to go from
> here.  Any suggestions?

Assuming you are using a rpm distro like K12LTSP, you need to install
the -devel package for berkely-db. The rpm stuff splits binaries into
run-time and development parts and has two packages as a result.

If you are using the non-rpm install of Berkely-db, you will need to
compile the berkely-db from source and install it, verify that
ld_so_conf is correct for the install and recompile the squidguard.
> Thanks,
> Jeremy
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC                           
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>




More information about the K12OSN mailing list