Re[2]: [Clamav-users] problem during compilling clamav-0.90.1
Sorry, but it didnt help. Hello Walter, Friday, March 16, 2007, 6:21:39 PM, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Sergio, do you have libgmp on your system ? If yes, do the following: setenv CFLAGS -O2 -I/usr/local/include setenv LDFLAGS -s -L/usr/local/lib ./configure ... The -L/usr/local/lib is to make sure, if libgmp is in /usr/local/lib, it will be found and linked against. If this doesn't help, edit the line: dependency_libs=' -L/usr/local/lib -lgmp' in ../libclamav/libclamav.la If you do not have libgmp, download, compile and install it. Best regards, Walter. sergio schrieb: Hello Matthias, Friday, March 16, 2007, 1:40:44 PM, you wrote: sergio schrieb: Hello clamav-users, I tried to install new clamav on my freebsd-4.8. ./configure with enable-experimental was good. but make ends with error code 1. Clamav-0.90.1 is not installable on freebsd-4.8,yes? Help please. Thanks. I have Clamav-0.90.1 running and compiled on freebsd-4.8 without any Problem. first i uninstalled Clamav-0.90 with make uninstall from the source folder of Clamav-0.90 then i changed to the folder where i unpacked the Clamav-0.90.1.tar.gz ./configure make make install some changes to freshclam.conf and clamd.conf and it is stable running since then . Matthias ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html Its good,but I just did like you and recieve this Making all in clamscan source='../shared/output.c' object='output.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c source='../shared/getopt.c' object='getopt.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c source='../shared/cfgparser.c' object='cfgparser.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c source='../shared/misc.c' object='misc.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c source='../shared/options.c' object='options.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c source='clamscan.c' object='clamscan.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c clamscan.c source='others.c' object='others.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c others.c source='manager.c' object='manager.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c manager.c In file included from /usr/include/sys/param.h:74, from ../libclamav/others.h:54, from manager.c:62: /usr/include/sys/syslimits.h:47: warning: `NAME_MAX' redefined ../shared/misc.h:29: warning: this is the location of the previous definition manager.c: In function `move_infected': manager.c:552: warning: assignment discards qualifiers from pointer target type source='treewalk.c' object='treewalk.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c treewalk.c /usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2-o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/libclamav.la -pthread -lc_r gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o
Re[2]: [Clamav-users] problem during compilling clamav-0.90.1
And, I found that I dont have libthread library on my server. Maybe, this is my problem. But if thats right, I dont know how to install this library to my pc... Hello Walter, Friday, March 16, 2007, 6:21:39 PM, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Sergio, do you have libgmp on your system ? If yes, do the following: setenv CFLAGS -O2 -I/usr/local/include setenv LDFLAGS -s -L/usr/local/lib ./configure ... The -L/usr/local/lib is to make sure, if libgmp is in /usr/local/lib, it will be found and linked against. If this doesn't help, edit the line: dependency_libs=' -L/usr/local/lib -lgmp' in ../libclamav/libclamav.la If you do not have libgmp, download, compile and install it. Best regards, Walter. sergio schrieb: Hello Matthias, Friday, March 16, 2007, 1:40:44 PM, you wrote: sergio schrieb: Hello clamav-users, I tried to install new clamav on my freebsd-4.8. ./configure with enable-experimental was good. but make ends with error code 1. Clamav-0.90.1 is not installable on freebsd-4.8,yes? Help please. Thanks. I have Clamav-0.90.1 running and compiled on freebsd-4.8 without any Problem. first i uninstalled Clamav-0.90 with make uninstall from the source folder of Clamav-0.90 then i changed to the folder where i unpacked the Clamav-0.90.1.tar.gz ./configure make make install some changes to freshclam.conf and clamd.conf and it is stable running since then . Matthias ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html Its good,but I just did like you and recieve this Making all in clamscan source='../shared/output.c' object='output.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c source='../shared/getopt.c' object='getopt.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c source='../shared/cfgparser.c' object='cfgparser.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c source='../shared/misc.c' object='misc.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c source='../shared/options.c' object='options.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c source='clamscan.c' object='clamscan.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c clamscan.c source='others.c' object='others.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c others.c source='manager.c' object='manager.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c manager.c In file included from /usr/include/sys/param.h:74, from ../libclamav/others.h:54, from manager.c:62: /usr/include/sys/syslimits.h:47: warning: `NAME_MAX' redefined ../shared/misc.h:29: warning: this is the location of the previous definition manager.c: In function `move_infected': manager.c:552: warning: assignment discards qualifiers from pointer target type source='treewalk.c' object='treewalk.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c treewalk.c /usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2-o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o
Re[2]: [Clamav-users] problem during compilling clamav-0.90.1
Hello Matthias, Friday, March 16, 2007, 1:40:44 PM, you wrote: sergio schrieb: Hello clamav-users, I tried to install new clamav on my freebsd-4.8. ./configure with enable-experimental was good. but make ends with error code 1. Clamav-0.90.1 is not installable on freebsd-4.8,yes? Help please. Thanks. I have Clamav-0.90.1 running and compiled on freebsd-4.8 without any Problem. first i uninstalled Clamav-0.90 with make uninstall from the source folder of Clamav-0.90 then i changed to the folder where i unpacked the Clamav-0.90.1.tar.gz ./configure make make install some changes to freshclam.conf and clamd.conf and it is stable running since then . Matthias ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html Its good,but I just did like you and recieve this Making all in clamscan source='../shared/output.c' object='output.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c source='../shared/getopt.c' object='getopt.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c source='../shared/cfgparser.c' object='cfgparser.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c source='../shared/misc.c' object='misc.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c source='../shared/options.c' object='options.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c source='clamscan.c' object='clamscan.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c clamscan.c source='others.c' object='others.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c others.c source='manager.c' object='manager.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c manager.c In file included from /usr/include/sys/param.h:74, from ../libclamav/others.h:54, from manager.c:62: /usr/include/sys/syslimits.h:47: warning: `NAME_MAX' redefined ../shared/misc.h:29: warning: this is the location of the previous definition manager.c: In function `move_infected': manager.c:552: warning: assignment discards qualifiers from pointer target type source='treewalk.c' object='treewalk.o' libtool=no DEPDIR=.deps depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I.. -I../shared -I../libclamav -I/usr/include -I/usr/local/include -g -O2 -c treewalk.c /usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2-o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/libclamav.la -pthread -lc_r gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o -pthread ../libclamav/.libs/libclamav.so -lbz2 -lgmp -L/usr/local/lib -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib ../libclamav/.libs/libclamav.so: undefined reference to `mpz_powm' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_get_ui' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_tdiv_qr_ui' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_add' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_clear' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_init_set_str' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_mul_2exp' ../libclamav/.libs/libclamav.so: undefined reference to `mpz_init'