Superuser

Autor Thema: squidGuard und BerkeleyDB  (Gelesen 10329 mal)

Offline signal_15

  • Sobl Master
  • ****
  • Beiträge: 426
    • Rechenzentrum Amper
squidGuard und BerkeleyDB
« am: 02. Februar 2012, 12:39:50 »
Mahlzeit,

ich versuche squidGuard-1.4 zu kompilieren und laufe schon zu beginn beim configure skript in probleme mit der BerkeleyDB. das configure skript endet mit ..
** The Berkley DB library version 2.6.4 or newer
   is required. Get it from http://www.oracle.com
   use --with-db=DIR or --with-db-inc=DIR,
   --with-db-lib=DIR to specify its location
   (default is /usr/local/BerkeleyDB)

ich hab BerkeleyDB 4.5.20 sowie 4.6.21 von oracle gesaugt und ohne fehler kompiliert und installiert. auch wenn ich "--with-db" oder "--with-db-inc/lib" angebe laeuft das configure skript in den selben fehler. em ende hab ich BerkeleyDB von opencsw installiert und auch damit bekomme ich den selben fehler.

hier der gesamte lauf des configure skripts und noch ein paar weitere infos zum system.

freya/Download/squidGuard-1.4# ./configure --prefix=/usr/local
checking for gcc... /usr/sfw/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/sfw/bin/gcc accepts -g... yes
checking for /usr/sfw/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/sfw/bin/gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/local/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for lynx... /usr/local/bin/lynx
checking for perl... /usr/bin/perl
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for unistd.h... (cached) yes
checking for db.h... (cached) yes
checking suppress runtime logging... no
checking squid runtime user ... squid
checking for ldap support... no
checking for mysql support... no
checking for pthread_create in -lpthread... yes

** The Berkley DB library version 2.6.4 or newer
   is required. Get it from http://www.oracle.com
   use --with-db=DIR or --with-db-inc=DIR,
   --with-db-lib=DIR to specify its location
   (default is /usr/local/BerkeleyDB)

freya/Download/squidGuard-1.4# cat /etc/release
                   Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010
freya/Download/squidGuard-1.4#
freya/Download/squidGuard-1.4# pkginfo | grep -i berkeley
application CSWbdb3                          berkeleydb3 - BerkeleyDB 3.3 embedded database libraries and utilities
application CSWbdb4                          berkeleydb4 - Stub package as contents moved to CSWbdb42
application CSWbdb42                         berkeleydb42 - BerkeleyDB 4.2 embedded database libraries and utilities
application CSWbdb43                         berkeleydb43 - BerkeleyDB 4.3
application CSWbdb43-devel                   berkeleydb43_devel - BerkeleyDB 4.3 development support
application CSWbdb44                         berkeleydb44 - BerkeleyDB 4.4 embedded database libraries and utilities
application CSWbdb44-devel                   berkeleydb44_devel - BerkeleyDB 4.4 development support
application CSWbdb47                         berkeleydb47 - BerkeleyDB 4.7 embedded database libraries and utilities
application CSWbdb48                         berkeleydb48 - BerkeleyDB 4.8 embedded database libraries and utilities
application SUNWbdb                          BerkeleyDB-Base 4.2.52 (sun-private) Solaris Sparc 32-bit and 64-bit Architecture
application SUNWbdbj                         BerkeleyDB-Java(sun-private) 4.2.52 Solaris Sparc 32-bit and 64-bit Architecture
freya/Download/squidGuard-1.4#
freya/Download/squidGuard-1.4# set
BASH=/usr/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="sparc-sun-solaris2.10")
BASH_VERSION='3.00.16(1)-release'
CC=/usr/sfw/bin/gcc
COLUMNS=120
CXX=/usr/sfw/bin/g++
DIRSTACK=()
DISPLAY=localhost:12.0
EDITOR=vi
EUID=0
GROUPS=()
HISTFILE=/export/home/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/export/home/root
HOSTNAME=freya
HOSTTYPE=sparc
HZ=
IFS=$' \t\n'
LINES=50
LOGNAME=root
MACHTYPE=sparc-sun-solaris2.10
MAIL=/var/mail/root
MAILCHECK=60
MANPATH=/usr/man:/usr/local/man:/usr/local/share/man:/opt/csw/share/man
OLDPWD=/Download
OPTERR=1
OPTIND=1
OSTYPE=solaris2.10
PATH=/usr/sfw/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/ucb:/usr/local/bin
PIPESTATUS=([0]="0" [1]="0")
PPID=14854
PS1='\H\w\$ '
PS2='> '
PS4='+ '
PWD=/Download/squidGuard-1.4
SHELL=/usr/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=vt100
TZ=Europe/Berlin
UID=0
_=
http_proxy=freya.rz-amper.com:8080
freya/Download/squidGuard-1.4#
freya/Download/squidGuard-1.4# ls -la /usr/local/Ber*
lrwxrwxrwx 1 root root  14 Feb  1 21:41 /usr/local/BerkeleyDB -> BerkeleyDB.4.5

/usr/local/BerkeleyDB.4.5:
total 6.0K
drwxr-xr-x  6 root root 512 Feb  1 21:39 .
drwxr-xr-x 21 root root 512 Feb  1 21:41 ..
drwxr-xr-x  2 root root 512 Feb  1 21:39 bin
drwxr-xr-x 14 root root 512 Feb  1 21:39 docs
drwxr-xr-x  2 root root 512 Feb  1 21:39 include
drwxr-xr-x  2 root root 512 Feb  1 21:39 lib

/usr/local/BerkeleyDB.4.6:
total 6.0K
drwxr-xr-x  6 root root 512 Feb  1 20:34 .
drwxr-xr-x 21 root root 512 Feb  1 21:41 ..
drwxr-xr-x  2 root root 512 Feb  1 20:34 bin
drwxr-xr-x 15 root root 512 Feb  1 20:34 docs
drwxr-xr-x  2 root root 512 Feb  1 20:34 include
drwxr-xr-x  2 root root 512 Feb  1 20:34 lib

ct,

sonnenblen.de - Das unabhängige Sun User Forum

squidGuard und BerkeleyDB
« am: 02. Februar 2012, 12:39:50 »

Offline signal_15

  • Sobl Master
  • ****
  • Beiträge: 426
    • Rechenzentrum Amper
Re: squidGuard und BerkeleyDB
« Antwort #1 am: 02. Februar 2012, 16:19:16 »
laut config.log konnte die datei "libdb-4.5.so" nicht gefunden werden.

ein "LDFLAGS='-R/usr/local/BerkeleyDB/lib' ./configure --prefix=/usr/local" lief erfolgreich durch.

ct,