Search squid archive

Re: squid 3.2.5 helpers/external_acl/session compile problem

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

 





 Hello Amos :

                    When i run ./configure ..... , this is screen info .


checking whether dbopen is declared... no
checking if dbopen needs -ldb... no



configure: WARNING: Could not find krb5-config in path
configure: WARNING: ldap.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ldap.h: proceeding with the compiler's result
configure: WARNING: lber.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: lber.h: proceeding with the compiler's result
configure: WARNING: Neither SASL nor SASL2 found
configure: WARNING: Samba wbinfo not found in default location. ext_wbinfo_group_acl may not work on this machine
configure: WARNING: cppunit does not appear to be installed. squid does not require this, but code testing with 'make check' will fail.
configure: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: db.h: proceeding with the compiler's result


checking db.h usability... yes
checking db.h presence... no
checking for db.h... yes
checking for db_185.h... (cached) no

checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no

checking whether dbopen is declared... no
checking if dbopen needs -ldb... no



configure: BUILD C++ FLAGS: -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/accerater/env/ldap/include -I/accerater/env/bdb/include -march=native
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT
configure: BUILD Tools C++ FLAGS: -march=native -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/accerater/env/ldap/include -I/accerater/env/bdb/include -march=native


there aren't the part -lbdb

Hello All

i read the link

http://www.squid-cache.org/mail-archive/squid-users/201112/0339.html

but i cat config.log | grep HAVE_DB_H in according to the advisement
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1
| #define HAVE_DB_H 1



Hello All:

I try to compile helpers/external_acl/session too , and Db evirontment
is db-4.8.30 ( Berkeley DB) , Maybe it will be caused by error Bdb version .

But i can't confirm .

./configure --prefix=/accerater/webcache3
--enable-follow-x-forwarded-for --enable-snmp --enable-linux-netfilter
--enable-storeio=aufs,rock --enable-wccpv2 --with-large-files
--enable-removal-policies=lru,heap --enable-async-io=128
--enable-http-violations --with-maxfd=65536 --enable-large-cache-files
--enable-delay-pools --enable-forward-log --with-pthreads
LIBS=-ltcmalloc --enable-url-rewrite-helpers --enable-log-daemon-helpers
--enable-epoll --enable-ltdl-convenience --with-included-ltdl
--enable-disk-io=AIO,Blocking,DiskThreads,IpcIo,Mmapped
CXXFLAGS="-I/accerater/env/ldap/include -I/accerater/env/bdb/include"
LDFLAGS="-L/accerater/env/ldap/lib -L/accerater/env/bdb/lib"


This is error compile info

libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Wshadow -Werror -pipe -D_REENTRANT -m32 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/accerater/env/bdb/include -march=native -m32
-o ext_session_acl ext_session_acl.o -L/accerater/env/bdb/lib
../../../compat/.libs/libcompat-squid.a
ext_session_acl.o: In function `init_db()':
ext_session_acl.cc:(.text+0x5a): undefined reference to `db_env_create'
ext_session_acl.cc:(.text+0x101): undefined reference to `db_create'
ext_session_acl.cc:(.text+0x1d6): undefined reference to `db_create'

The BDB library seems not to be built or found at the -L location you
provided.

When its found by ./configure an -lbdb or similar entry would be added
for it after the libcompat-squid.a name.


Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux