Hello,

I have some issues with building  dspam from devel version from
2 Aug 2009 18:10:50 +0000. DSPAM is configured with:

--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu 
--target=i586-redhat-linux-gnu --program-prefix= --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib 
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib 
--mandir=/usr/share/man --infodir=/usr/share/info 
--sysconfdir=/etc/dspam --with-storage-driver=hash_drv,mysql_drv 
--with-mysql-includes=/usr/include/mysql --with-mysql-libraries=/usr/lib/mysql 
--with-delivery-agent=/usr/bin/procmail.dspam --disable-homedir 
--with-dspam-home=/var/dspam --with-dspam-home-mode=775 
--with-dspam-home-owner=dspam --with-dspam-home-group=dspam 
--with-dspam-mode=2755 --enable-daemon --with-dspam-owner=dspam 
--with-dspam-group=dspam

make ends with error:
mv -f .deps/hash_drv.Tpo .deps/hash_drv.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic 
-fasynchronous-unwind-tables -Wall -Wmissing-prototypes -Wmissing-declarations 
-rpath '/usr/lib/dspam' -version-info 7:0:0 -rdynamic -o libhash_drv.la -rpath 
/usr/lib/dspam hash_drv.lo -L -ldspam -lm -pthread -ldl
libtool: link: require no space between `-L' and `-ldspam'
make[3]: *** [libhash_drv.la] Error 1
make[3]: Leaving directory 
`/home/hanzlik/src/rpm/BUILD/dspam-3.9.0-git.2009.08.03/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/hanzlik/src/rpm/BUILD/dspam-3.9.0-git.2009.08.03/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/hanzlik/src/rpm/BUILD/dspam-3.9.0-git.2009.08.03/src'
make: *** [all-recursive] Error 1

With djustment "-L" to "-L." in src/Makefile.am work OK.
I have:
gcc-4.4.0-4.i586
libtool-2.2.6-11.fc11.i586
make-3.81-15.fc11.i586

on Fedora 11 i386

-----------
Further, this warning is suspicious and should be probably fixed too:

gcc -DHAVE_CONFIG_H -DLOGDIR=\"/var/dspam/log\" 
-DCONFIG_DEFAULT=\"/etc/dspam/dspam.conf\" -D_REENTRANT 
-D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -I../../src     -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic 
-fasynchronous-unwind-tables -Wall -Wmissing-prototypes -Wmissing-declarations 
-I../../src 
-MT csscompress-csscompress.o -MD -MP -MF .deps/csscompress-csscompress.Tpo -c 
-o csscompress-csscompress.o `test -f 'csscompress.c' || echo './'`csscompress.c
csscompress.c: In function 'csscompress':
csscompress.c:137: warning: implicit declaration of function 'dirname'
csscompress.c:137: warning: format '%s' expects type 'char *', but argument 4 
has type 'int'
csscompress.c:137: warning: format '%s' expects type 'char *', but argument 4 
has type 'int'


Regards,
Frantisek Hanzlik

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to