cppunit problem with squid compiling with centos 6.4 !!!!!

General support questions
Post Reply
squidcentos
Posts: 78
Joined: 2013/01/19 13:04:07
Contact:

cppunit problem with squid compiling with centos 6.4 !!!!!

Post by squidcentos » 2013/10/23 15:10:55

[root@drx squid-3.3.9]# ./configure --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --enable-cachemgr-hostname=drx --localstatedir=/var --libexecdir=${prefix}/lib/squid --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=. --datadir=/usr/share/squid3 --sysconfdir=/etc/squid3 --mandir=/usr/share/man --with-cppunit-basedir=/usr --enable-inline --enable-async-io=8 --enable-storeio=ufs,aufs,diskd,rock --enable-removal-policies=lru,heap --enable-delay-pools --enable-cache-digests --enable-underscores --enable-icap-client --enable-follow-x-forwarded-for --enable-auth --enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,DB,POP3,getpwnam,squid_radius_auth,multi-domain-NTLM" --enable-ntlm-auth-helpers="smb_lm" --enable-digest-auth-helpers="ldap,password" --enable-negotiate-auth-helpers=squid_kerb_auth --enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group --enable-arp-acl --enable-esi --disable-translation --with-logdir=/var/log/squid --with-pidfile=/var/run/squid.pid --with-filedescriptors=131072 --with-large-files --with-default-user=proxy --enable-linux-netfilter build_alias=i486-linux-gnu CFLAGS="-g -O2 -g -Wall -O2" LDFLAGS= CPPFLAGS= CXXFLAGS="-g -O2 -g -Wall -O2"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking simplified host os... linux (version )
checking if g++ supports C++0x features without additional flags... no
checking if g++ supports C++0x features with -std=c++0x... yes
checking if g++ supports C++0x features with -std=gnu++0x... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for egrep... /bin/egrep
checking for sh... /bin/sh
checking for false... /bin/false
checking for true... /bin/true
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for chmod... /bin/chmod
checking for tr... /usr/bin/tr
checking for rm... /bin/rm
checking for cppunit-config... /usr/bin/cppunit-config
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
checking for ar... /usr/bin/ar
configure: strict error checking enabled: yes
checking whether to use loadable modules... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/fgrep
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... /usr/bin/ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /usr/lib64/atlas /usr/lib64/mysql /usr/lib64/qt-3.3/lib
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for library containing dlopen... (cached) -ldl
checking for dlerror... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... (cached) no
checking what kind of compiler we're using... gcc
checking for compiler variant... gcc
configure: inlining optimizations enabled: yes
checking for atomic operations support... yes
configure: cbdata debugging enabled: no
configure: xmalloc stats display: no
checking for library containing shm_open... -lrt
checking for DiskIO modules to be enabled... AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking for aio_read in -lrt... yes
configure: Native POSIX AIO support detected.
configure: Enabling AIO DiskIO module
configure: Enabling Blocking DiskIO module
configure: Enabling DiskDaemon DiskIO module
checking for pthread_create in -lpthread... yes
configure: Enabling DiskThreads DiskIO module
configure: Enabling IpcIo DiskIO module
configure: Enabling Mmapped DiskIO module
configure: IO Modules built: AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped
configure: Store modules built: ufs aufs diskd rock
configure: Removal policies to build: lru heap
configure: Delay pools enabled
configure: Enabling ESI processor and Surrogate header support.
checking for main in -lexpat... no
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking for main in -lxml2... no
checking location of libxml2 include files... checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
configure: Testing in /usr/include/libxml2
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
configure: Testing in /usr/local/include/libxml2
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
configure: Failed to find libxml2 header file libxml/parser.h

checking for libxml/parser.h... (cached) no
checking libxml/HTMLparser.h usability... no
checking libxml/HTMLparser.h presence... no
checking for libxml/HTMLparser.h... no
checking libxml/HTMLtree.h usability... no
checking libxml/HTMLtree.h presence... no
checking for libxml/HTMLtree.h... no
checking whether to support eCAP... no, implicitly
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: Web Cache Coordination Protocol enabled: yes
configure: Web Cache Coordination V2 Protocol enabled: yes
configure: Kill parent on shutdown hack enabled: no
configure: SNMP support enabled: yes
configure: Cachemgr default hostname set to drx
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for net/if_arp.h... yes
checking for net/route.h... yes
checking for net/if_dl.h... no
checking for sys/sysctl.h... yes
configure: EUI (MAC address) controls enabled: yes
configure: HTCP support enabled: yes
configure: SSL gatewaying support enabled: no
configure: Using OpenSSL MD5 implementation: no
configure: Forw/Via database enabled: no
configure: Cache Digests enabled: yes
configure: Setting COSS membuf size to 1048576 bytes
configure: enabling select syscall for net I/O: auto
configure: enabling poll syscall for net I/O: auto
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking for kqueue... no
configure: enabling kqueue for net I/O: no
configure: enabling epoll syscall for net I/O: auto
checking for library containing epoll_ctl... none required
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking if epoll works... yes
configure: enabling /dev/poll for net I/O: auto
checking for ioctl... yes
checking for write... yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
configure: HTTP violations support enabled: yes
configure: FreeBSD IPFW-based transparent proxying enabled: no
configure: IPF-based transparent proxying requested: no
configure: PF-based transparent proxying requested: auto
configure: Linux Netfilter support requested: yes
configure: Linux Netfilter Conntrack support requested: auto
checking for library containing nfct_query... no
checking libnetfilter_conntrack/libnetfilter_conntrack.h usability... no
checking libnetfilter_conntrack/libnetfilter_conntrack.h presence... no
checking for libnetfilter_conntrack/libnetfilter_conntrack.h... no
checking libnetfilter_conntrack/libnetfilter_conntrack_tcp.h usability... no
checking libnetfilter_conntrack/libnetfilter_conntrack_tcp.h presence... no
checking for libnetfilter_conntrack/libnetfilter_conntrack_tcp.h... no
configure: Using POSIX_V6_LP64_OFF64 build environment
configure: Leak Finder enabled: no
configure: Support for X-Forwarded-For enabled: yes
configure: Support for Ident lookups enabled: yes
configure: Default hosts file set to: /etc/hosts
configure: Authentication support enabled: yes
configure: Basic auth helper LDAP ... found but cannot be built
configure: Basic auth helper PAM ... found but cannot be built
configure: Basic auth helper SASL ... found but cannot be built
configure: Basic auth helper SSPI ... found but cannot be built
configure: Basic auth helpers to be built: DB MSNT MSNT-multi-domain NCSA NIS POP3 RADIUS SMB fake getpwnam
configure: NTLM auth helper SSPI ... found but cannot be built
configure: NTLM auth helpers built: fake smb_lm
configure: Negotiate auth helper SSPI ... found but cannot be built
configure: Negotiate auth helper kerberos ... found but cannot be built
configure: Negotiate auth helpers built: wrapper
configure: Digest auth helper LDAP ... found but cannot be built
configure: Digest auth helper eDirectory ... found but cannot be built
configure: Digest auth helpers built: file
configure: Log daemon helpers built: DB file
checking for krb5-config... no
configure: external acl helper ip_user ... found but cannot be built
configure: external acl helper ldap_group ... found but cannot be built
configure: external acl helper session ... found but cannot be built
configure: External acl helpers built: unix_group wbinfo_group
configure: URL rewrite helper candidates: fake
configure: URL rewrite helpers built: fake
configure: Valgrind debug support enabled: no
configure: MS Windows service mode enabled: no
configure: unlinkd enabled: yes
configure: Automatically print stack trace on fatal errors: no
configure: CPU profiling enabled: no
configure: X-Accelerator-Vary support enabled: no
configure: using system installed cppunit version 1.12.1
configure: Using cppunit includes from /usr
configure: error: Cannot find cppunit at /usr

========================================================
iv downlaoded the follwoing packages :



[root@drx ~]#yum -y groupinstall "Development Tools"


[root@drx ~]#yum install libcap-devel

[root@drx ~]#yum install cppunit*
l

i dont know why it ask me about cppunit and it is downloaed already !!!

here is rpm -ql reasult :
[root@drx]# rpm -ql cppunit
/usr/bin/DllPlugInTester
/usr/lib64/libcppunit-1.12.so.1
/usr/lib64/libcppunit-1.12.so.1.0.0
/usr/share/doc/cppunit-1.12.1
/usr/share/doc/cppunit-1.12.1/AUTHORS
/usr/share/doc/cppunit-1.12.1/BUGS
/usr/share/doc/cppunit-1.12.1/COPYING
/usr/share/doc/cppunit-1.12.1/ChangeLog
/usr/share/doc/cppunit-1.12.1/FAQ
/usr/share/doc/cppunit-1.12.1/NEWS
/usr/share/doc/cppunit-1.12.1/README
/usr/share/doc/cppunit-1.12.1/THANKS
/usr/share/doc/cppunit-1.12.1/TODO



regards

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

cppunit problem with squid compiling with centos 6.4 !!!!!

Post by gerald_clark » 2013/10/23 15:36:09

yum install squid.

You shouldn't be compiling.

g00fy
Posts: 1
Joined: 2014/03/14 06:26:10

Re: cppunit problem with squid compiling with centos 6.4 !!!

Post by g00fy » 2014/03/14 06:28:41

Have you tried installing libcppunit-dev ?

Post Reply