[squid-users] squid 3.3.3 time quota compile error osx

From: jeffrey j donovan <donovan_at_beth.k12.pa.us>
Date: Thu, 4 Apr 2013 23:07:53 -0400


Im trying to compile squid 3.3.3 on osx 10.6.8 and it's stopping during make for the time quota data base

Making all in time_quota
g++ -DHAVE_CONFIG_H -DDEFAULT_QUOTA_DB=\"/usr/local/squid/var/ext_time_quota.db\" -I../../.. -I../../../include -I../../../lib -I../../../src -I../../../include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT ext_time_quota_acl.o -MD -MP -MF .deps/ext_time_quota_acl.Tpo -c -o ext_time_quota_acl.o ext_time_quota_acl.cc
ext_time_quota_acl.cc: In function ‘void init_db()’:
ext_time_quota_acl.cc:146: error: ‘dbopen’ was not declared in this scope
ext_time_quota_acl.cc: In function ‘void shutdown_db()’:
ext_time_quota_acl.cc:155: error: too few arguments to function
ext_time_quota_acl.cc: In function ‘void writeTime(const char*, const char*, time_t)’:
ext_time_quota_acl.cc:172: error: cannot convert ‘DBT*’ to ‘DB_TXN*’ in argument passing
ext_time_quota_acl.cc: In function ‘time_t readTime(const char*, const char*)’:
ext_time_quota_acl.cc:190: error: cannot convert ‘DBT*’ to ‘DB_TXN*’ in argument passing
make[3]: *** [ext_time_quota_acl.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I can't figure out what command it's running to make the database. It looks like a " can't find berkely db" lib error. Not sure what i did not declare.
any insights would be helpful.
Received on Fri Apr 05 2013 - 03:08:01 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 05 2013 - 12:00:04 MDT