Search squid archive

squid 3.3.3 time quota compile error osx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



greetings

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.
-j




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux