This is a discussion on Problems by configure / make on squidguard 1.2.0 within the Linux Security forums, part of the System Security and Security Related category; Hello, ive got some problems with squidGuard and arch-linux ... could u help me ? Best thanks Ralf -------------------------------------------- [root@]# ../configure --prefix=/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
ive got some problems with squidGuard and arch-linux ... could u help me ? Best thanks Ralf -------------------------------------------- [root@]# ../configure --prefix=/usr --with-sg-config=/etc/squidguard/squidguardfilters.conf <<< in append :-) --with-sg-logdir=/usr/var/log/squidguard --with-db-lib=/usr/lib --with-db-inc=/usr/include checking for gcc... gcc checking for C compiler default output...a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /bin/install -c checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for lynx... false checking for perl... /usr/bin/perl checking for db_version in -ldb... yes checking for ANSI C header files... yes checking for db.h... yes checking for regex.h... yes checking for unistd.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... 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... (cached) yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for regcomp... yes checking for regerror... yes checking for regexec... yes checking for strdup... yes checking for strerror... yes checking for vsprintf... yes checking for sigaction... yes checking for signal... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sg.h config.status: creating doc/Makefile config.status: creating test/Makefile config.status: creating test/test1.conf config.status: creating test/test2.conf config.status: creating samples/Makefile config.status: creating samples/sample.conf config.status: creating samples/squidGuard.cgi config.status: creating samples/squidGuard-simple.cgi config.status: creating contrib/Makefile config.status: creating contrib/squidGuardRobot/squidGuardRobot config.status: creating contrib/sgclean/sgclean config.status: creating contrib/hostbyname/hostbyname config.status: creating src/config.h -------------------------------------------- [root@]# make test making test in squidGuard-1.2.0 (cd test && make test) make[1]: Entering directory `/tmp/squidGuard-1.2.0/test' making ../src/squidGuard in test (cd ../src; make squidGuard) make[2]: Entering directory `/tmp/squidGuard-1.2.0/src' gcc -I.. -I. -I. -I/usr/include -DHAVE_CONFIG_H -g -O2 -I/usr/include -c main.c gcc -I.. -I. -I. -I/usr/include -DHAVE_CONFIG_H -g -O2 -I/usr/include -c sgLog.c gcc -I.. -I. -I. -I/usr/include -DHAVE_CONFIG_H -g -O2 -I/usr/include -c sgDb.c sgDb.c: In function `sgDbInit': sgDb.c:101: warning: passing arg 2 of pointer to function from incompatible pointer type sgDb.c:101: warning: passing arg 4 of pointer to function makes pointer from integer without a cast sgDb.c:101: error: too few arguments to function sgDb.c:107: warning: passing arg 2 of pointer to function from incompatible pointer type sgDb.c:107: warning: passing arg 4 of pointer to function makes pointer from integer without a cast sgDb.c:107: error: too few arguments to function make[2]: *** [sgDb.o] Error 1 make[2]: Leaving directory `/tmp/squidGuard-1.2.0/src' make[1]: *** [../src/squidGuard] Error 2 make[1]: Leaving directory `/tmp/squidGuard-1.2.0/test' make: *** [test] Error 2 -------------------------------------------- Installed Progs.: alsa-driver 1.0.5-1 alsa-lib 1.0.5-1 apache 2.0.49-2 arts 1.2.3-1 atk 1.6.1-1 audiofile 0.2.6-1 autoconf 2.59-1 automake 1.8.5-1 bash 2.05b-12 bc 1.06-2 bftpd 1.0.24-2 bin86 0.16.15-1 bind 9.2.3-2 binutils 2.15-1 bison 1.875-2 bridge-utils 0.9.6-1 bzip2 1.0.2-3 coreutils 5.2.1-1 cpio 2.5-4 cups 1.1.20-2 curl 7.11.1-1 cvsup 16.1h-1 db 4.2.52-1 dbh 1.0.18-1 dcron 2.9-2 devfsd 1.3.25-3 device-mapper 1.00.17-1 dhcpcd 1.3.22pl4-3 dialog 0.9b-4 diffutils 2.8.1-2 dillo 0.8.1-1 dosfstools 2.9-1 doxygen 1.3.7-1 e2fsprogs 1.35-1 ed 0.2-2 esd 0.2.33-2 ethereal 0.10.4-3 expat 1.95.7-1 fakeroot 0.9.0-2 fam 2.6.10-3 fetchmail 6.2.5-1 file 4.09-1 filesystem 0.6-1 findutils 4.1.20-1 flex 2.5.31-2 fnlib 0.5-3 fontconfig 2.2.1-2 freetype1 1.3.1-2 freetype2 2.1.7-1 fribidi 0.10.4-1 gaim 0.78-1 gc 6.2-1 gcc 3.4.0-1 gd 2.0.15-1 gdbm 1.8.3-2 gdk-pixbuf 0.22.0-2 gentoo 0.11.48-1 gettext 0.14.1-2 ghostscript 7.07.1-5 gimp 2.0.1-1 gimp-print 4.2.6-2 gkrellm 2.2.1-1 glib 1.2.10-4 glib2 2.4.2-1 glibc 2.3.2-3 gmp 4.1.3-1 gnupg 1.2.4-2 gnutls 1.0.8-1 gpm 1.20.1-4 grep 2.5-2 groff 1.19.1-2 grub 0.94-2 gtk 1.2.10-4 gtk2 2.4.2-1 gv 3.5.8-4 gzip 1.2.4a-2 hdparm 5.5-1 hotplug 2004_04_01-1 hylafax 4.1.6-2 imap 2002e-3 imlib 1.9.14-4 initscripts 0.6-9 intltool 0.30-1 iproute 010824-1 iptables 1.2.9-5 iputils 021109-2 irssi 0.8.9-4 isapnptools 1.26-1 isdn4k-utils 3.2p1-1 jfsutils 1.1.5-1 john 1.6-1 kbd 1.12-1 kde-i18n-de 3.2.1-1 kdeadmin 3.2.3-1 kdebase 3.2.3-1 kdebindings 3.2.3-1 kdelibs 3.2.3-1 kdenetwork 3.2.3-1 kdetoys 3.2.3-1 kdeutils 3.2.3-1 kernel26 2.6.6-1 less 382-1 lesstif 0.93.94-1 lesstifextensions 9.0.9-2 lftp 3.0.4-1 libao 0.8.5-1 libart-lgpl 2.3.16-1 libcroco 0.5.1-1 libgcrypt 1.1.94-1 libglade 2.4.0-1 libgpg-error 0.6-1 libgtop 2.6.0-1 libid3tag 0.15.1b-1 libidl2 0.8.3-1 libjpeg 6b-3 libmad 0.15.1b-1 libmikmod 3.1.11-1 libmng 1.0.5-2 libogg 1.1-1 libpcap 0.8.1-2 libpng 1.2.5-2 librsvg 2.6.5-1 libtar 1.2.11-1 libtasn1 0.2.7-1 libtiff 3.6.1-3 libtool 1.5.6-1 libungif 4.1.0-2 libvorbis 1.0.1-1 libxml2 2.6.9-1 libxslt 1.1.6-1 lilo 22.5.9-1 links 2.1pre15-1 logrotate 3.6.5-3 lsof 4.70-2 lvm2 2.00.15-2 lzo 1.08-1 m4 1.4.1-1 mailx 8.1.1-2 make 3.80-1 man 1.5m2-2 man-pages 1.67-1 mawk 1.3.3-6 mc 4.6.0-4 mktemp 1.5-1 mm 1.3.0-1 module-init-tools 0.9.14-4 mt-st 0.7-1 mtx 1.2.18-1 mutt 1.4.2.1-1 mysql 4.0.20-2 naim 0.11.6.6-1 ncurses 5.4-1 net-tools 1.60-8 netcat 1.10-4 netkit-bootparamd 0.17-1 netkit-bsd-finger 0.17-3 netkit-ftp 0.17-2 netkit-ntalk 0.17-2 netkit-rsh 0.17-2 netkit-telnet 0.17-5 netkit-tftp 0.17-3 ngrep 1.40.1-3 nmap 3.50-3 opencdk 0.5.4-1 openldap 2.1.30-1 openssh 3.8.1p1-1 openssl 0.9.7d-1 openvpn 1.6.0-1 pacman 2.7.9-1 pam 0.77-6 pango 1.4.0-1 parted 1.6.10-1 patch 2.5.4-2 pciutils 2.1.11-2 pcre 4.5-1 perl 5.8.4-1 perlxml 2.34-3 php 4.3.7-1 phpmyadmin 2.5.7-1 pine 4.60-1 pkgconfig 0.15.0-1 popt 1.7-2 portmap 5beta-9 postfix 2.0.19-1 ppp 2.4.2-1 procinfo 18-2 procmail 3.22-1 procps 3.2.1-1 psmisc 21.4-1 python 2.3.4-1 qt 3.3.2-1 quota-tools 3.10-2 raidtools 1.00.3-3 rar 3.3.0-1 rcs 5.7-2 rdate 990821-2 readline 4.3-4 reiserfsprogs 3.6.17-1 rp-pppoe 3.5-1 rssh 2.1.1-1 rsync 2.6.2-1 samba 3.0.4-2 screen 4.0.2-1 sdl 1.2.7-1 sed 4.0.9-1 shadow 4.0.4.1-2 slocate 2.7-2 snarf 7.0-2 squid 2.5.STABLE5-2 startup-notification 0.6-1 sudo 1.6.7p5-1 sysklogd 1.4.1-9 sysvinit 2.85-2 tar 1.14-1 tcl 8.4.6-2 tcp_wrappers 7.6-4 tcpdump 3.8.3-1 tcsh 6.12-3 tin 1.7.4-1 tk 8.4.6-1 traceroute 1.4a12-2 unzip 5.51-1 usbutils 0.11-4 usbview 1.0-1 util-linux 2.12-3 vconfig 1.8-1 vim 6.3-2 w3m 0.4.2-3 wget 1.9.1-2 which 2.16-1 whois 4.6.13-1 wvdial 1.54.0-2 wvstreams 3.75.0-1 xaw3d 1.5-2 xfree86 4.4.0-2 xfsprogs 2.5.6-1 xinetd 2.3.13-1 yp-tools 2.8-1 ypbind-mt 1.16-1 zip 2.3-2 zlib 1.2.1-1 |
|
|||
|
"Ralf Heesen" <ralf@404net.de> wrote in message
news:40d207f2$0$25264$9b4e6d93@newsread2.arcor-online.net > ive got some problems with squidGuard and arch-linux ... could u help > me ? > [root@]# ./configure --prefix=/usr [...] > [root@]# make test [...] > sgDb.c:107: error: too few arguments to function Does the INSTALL file say to "make test" before "make" ? -- use hotmail for email replies |
|
|||
|
"ynotssor" <ynotssor@example.net> writes:
> "Ralf Heesen" <ralf@404net.de> wrote in message > news:40d207f2$0$25264$9b4e6d93@newsread2.arcor-online.net > >> ive got some problems with squidGuard and arch-linux ... could u help >> me ? > >> [root@]# ./configure --prefix=/usr > [...] >> [root@]# make test > [...] >> sgDb.c:107: error: too few arguments to function > > Does the INSTALL file say to "make test" before "make" ? Well, if configure generates a Makefile where test does not depend on a valid subset of targets, I would suggest it was rather sub-optimally designed. There are other problems apparent; never compile stuff as root, and don't abuse /usr as the destination for home-compiled software, either, as it'll create an untidy mess. Use _stow_ or an equivalent system instead. ~Tim -- No more sun, No more wind |piglet@stirfried.vegetable.org.uk Only this strange feeling |http://spodzone.org.uk/ Living without moving | |
|
|||
|
"Tim Haynes" <usenet-20040618@stirfried.vegetable.org.uk> wrote in
message news:86pt7xiy8z.fsf@potato.vegetable.org.uk >> Does the INSTALL file say to "make test" before "make" ? > > Well, if configure generates a Makefile where test does not depend on > a valid subset of targets, I would suggest it was rather sub-optimally > designed. I would suggest the INSTALL file is rather clear in the matter. -- use hotmail for email replies |
|
|||
|
> >> Does the INSTALL file say to "make test" before "make" ?
> > > > Well, if configure generates a Makefile where test does not depend on > > a valid subset of targets, I would suggest it was rather sub-optimally > > designed. > > I would suggest the INSTALL file is rather clear in the matter. > THX :-) |