Qsheff-II ve qsheff-2 versiyonlarının her ikisini de kurmaya çalıştım ama

Aşağıdaki hataları aldım. Debug ı ya da local users ı enable ettiğim zaman
hata alıyorum o nedenle sadce clamav ilederlemek sorunda kalıyorum. Bu
şekilde sorunsuz kurabiliyorum. Sorun olarka da main.c dosyasında charset
hatası alıyorum. Sorun ne olabilir ve nasıl düzeltebilirim.

-su-2.05b# ./configure --enable-local-users --with-clamav
--with-clamd-socket=/var/run/clamav/clamd
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking if debugging mode enabled... no
checking for qmail installation dir... /var/qmail
checking qmailgroup... qmail
checking if backup mode enabled... no
checking Maximum file in the quarantine... 32000
checking Maximum lines will be filtered... 40
checking if local-users enabled... yes
checking if subject tag enabled... no
checking for qmailqueue_patch... disabled
checking if custom-error enabled... no
checking for custom filter... no
checking ClamAv... yes
checking clamd socket path... /var/run/clamav/clamd
checking whether snprintf correctly terminates long strings... yes
checking for ripmime... /usr/local/bin/ripmime
configure: creating ./config.status
config.status: creating Makefile
config.status: creating etc/install-wrapper.sh
config.status: creating etc/uninstall-wrapper.sh
config.status: creating etc/Makefile
config.status: creating etc/qsheff.conf-default
config.status: creating share/Makefile
config.status: creating docs/Makefile
config.status: creating docs/manual-en/Makefile
config.status: creating contribute/Makefile
config.status: creating config.h
config.status: executing depfiles commands
-su-2.05b# make
make  all-recursive
Making all in etc
Making all in share
Making all in contribute
Making all in docs
Making all in manual-en
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o
main.c;  then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
main.c: In function `main':
main.c:718: error: missing terminating " character
main.c:718: error: syntax error before ',' token
main.c: At top level:
main.c:730: error: syntax error before "if"
main.c:716:1: unterminated #ifdef
*** Error code 1

Stop in /usr/ports/distfiles/qsheff-2.0-r1.
*** Error code 1

Stop in /usr/ports/distfiles/qsheff-2.0-r1.
*** Error code 1

Stop in /usr/ports/distfiles/qsheff-2.0-r1.
-su-2.05b# ./configure --with-clamav
--with-clamd-socket=/var/run/clamav/clamd                     
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking if debugging mode enabled... no
checking for qmail installation dir... /var/qmail
checking qmailgroup... qmail
checking if backup mode enabled... no
checking Maximum file in the quarantine... 32000
checking Maximum lines will be filtered... 40
checking if local-users enabled... no
checking if subject tag enabled... no
checking for qmailqueue_patch... disabled
checking if custom-error enabled... no
checking for custom filter... no
checking ClamAv... yes
checking clamd socket path... /var/run/clamav/clamd
checking whether snprintf correctly terminates long strings... yes
checking for ripmime... /usr/local/bin/ripmime
configure: creating ./config.status
config.status: creating Makefile
config.status: creating etc/install-wrapper.sh
config.status: creating etc/uninstall-wrapper.sh
config.status: creating etc/Makefile
config.status: creating etc/qsheff.conf-default
config.status: creating share/Makefile
config.status: creating docs/Makefile
config.status: creating docs/manual-en/Makefile
config.status: creating contribute/Makefile
config.status: creating config.h
config.status: executing depfiles commands
-su-2.05b# make
make  all-recursive
Making all in etc
Making all in share
Making all in contribute
Making all in docs
Making all in manual-en
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o
main.c;  then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT loadconfig.o -MD -MP -MF ".deps/loadconfig.Tpo"
-c -o loadconfig.o loadconfig.c;  then mv -f ".deps/loadconfig.Tpo"
".deps/loadconfig.Po"; else rm -f ".deps/loadconfig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT toolkit.o -MD -MP -MF ".deps/toolkit.Tpo" -c -o
toolkit.o toolkit.c;  then mv -f ".deps/toolkit.Tpo" ".deps/toolkit.Po";
else rm -f ".deps/toolkit.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o
log.c;  then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f
".deps/log.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT smtp.o -MD -MP -MF ".deps/smtp.Tpo" -c -o smtp.o
smtp.c;  then mv -f ".deps/smtp.Tpo" ".deps/smtp.Po"; else rm -f
".deps/smtp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT wblist.o -MD -MP -MF ".deps/wblist.Tpo" -c -o
wblist.o wblist.c;  then mv -f ".deps/wblist.Tpo" ".deps/wblist.Po"; else rm
-f ".deps/wblist.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT scanengine.o -MD -MP -MF ".deps/scanengine.Tpo"
-c -o scanengine.o scanengine.c;  then mv -f ".deps/scanengine.Tpo"
".deps/scanengine.Po"; else rm -f ".deps/scanengine.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT miscutil.o -MD -MP -MF ".deps/miscutil.Tpo" -c
-o miscutil.o miscutil.c;  then mv -f ".deps/miscutil.Tpo"
".deps/miscutil.Po"; else rm -f ".deps/miscutil.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -I/usr/local/include -L/usr/local/lib
-Iyes/include -Lyes/lib -MT clam.o -MD -MP -MF ".deps/clam.Tpo" -c -o clam.o
clam.c;  then mv -f ".deps/clam.Tpo" ".deps/clam.Po"; else rm -f
".deps/clam.Tpo"; exit 1; fi
gcc -I/usr/local/include -L/usr/local/lib  -Iyes/include -Lyes/lib   -o
qsheff  main.o loadconfig.o  toolkit.o log.o smtp.o  wblist.o scanengine.o
miscutil.o  clam.o  
-su-2.05b# make install
Making install in etc
test -z "/usr/local/etc/qsheff" ||
/usr/ports/distfiles/qsheff-2.0-r1/install-sh -d "/usr/local/etc/qsheff"
 /usr/bin/install -c -m 644 'qsheff.attach-default'
'/usr/local/etc/qsheff/qsheff.attach-default'
 /usr/bin/install -c -m 644 'qsheff.conf-default'
'/usr/local/etc/qsheff/qsheff.conf-default'
 /usr/bin/install -c -m 644 'qsheff.rules-default'
'/usr/local/etc/qsheff/qsheff.rules-default'
 /usr/bin/install -c -m 644 'qsheff.wblist-default'
'/usr/local/etc/qsheff/qsheff.wblist-default'
make  install-data-hook
cp -f qsheff.conf-default /usr/local/etc/qsheff/qsheff.conf
if [ ! -f "/usr/local/etc/qsheff/qsheff.attach" ]; then cp -f
qsheff.attach-default /usr/local/etc/qsheff/qsheff.attach; fi
if [ ! -f "/usr/local/etc/qsheff/qsheff.wblist" ]; then cp -f
qsheff.wblist-default /usr/local/etc/qsheff/qsheff.wblist; fi
if [ ! -f "/usr/local/etc/qsheff/qsheff.rules" ]; then cp -f
qsheff.rules-default /usr/local/etc/qsheff/qsheff.rules; fi
chmod 755 uninstall-wrapper.sh install-wrapper.sh
cp -f uninstall-wrapper.sh install-wrapper.sh /usr/local/etc/qsheff/
Making install in share
test -z "/usr/local/share/qsheff" ||
/usr/ports/distfiles/qsheff-2.0-r1/install-sh -d "/usr/local/share/qsheff"
 /usr/bin/install -c -m 644 'eicar.com.txt'
'/usr/local/share/qsheff/eicar.com.txt'
 /usr/bin/install -c -m 644 'sample-OK.msg'
'/usr/local/share/qsheff/sample-OK.msg'
 /usr/bin/install -c -m 644 'sample-SPAM.msg'
'/usr/local/share/qsheff/sample-SPAM.msg'
 /usr/bin/install -c -m 644 'sample-VIRUS.msg'
'/usr/local/share/qsheff/sample-VIRUS.msg'
make  install-data-hook
Making install in contribute
test -z "/usr/local/share/doc/qsheff" ||
/usr/ports/distfiles/qsheff-2.0-r1/install-sh -d
"/usr/local/share/doc/qsheff"
 /usr/bin/install -c -m 644 'spamass-qsheff.en.html'
'/usr/local/share/doc/qsheff/spamass-qsheff.en.html'
 /usr/bin/install -c -m 644 'qSheff-Klavuzu.html'
'/usr/local/share/doc/qsheff/qSheff-Klavuzu.html'
 /usr/bin/install -c -m 644 'qmailqueue-patch'
'/usr/local/share/doc/qsheff/qmailqueue-patch'
 /usr/bin/install -c -m 644 'qmail-queue-custom-error.patch'
'/usr/local/share/doc/qsheff/qmail-queue-custom-error.patch'
 /usr/bin/install -c -m 644 'qsheff_patch.diff'
'/usr/local/share/doc/qsheff/qsheff_patch.diff'
Making install in docs
Making install in manual-en
test -z "/usr/local/docs" || /usr/ports/distfiles/qsheff-2.0-r1/install-sh
-d "/usr/local/docs"
 /usr/bin/install -c -m 644 'authors.html' '/usr/local/docs/authors.html'
 /usr/bin/install -c -m 644 'book.html' '/usr/local/docs/book.html'
 /usr/bin/install -c -m 644 'configuration.html'
'/usr/local/docs/configuration.html'
 /usr/bin/install -c -m 644 'contribute.html'
'/usr/local/docs/contribute.html'
 /usr/bin/install -c -m 644 'credits.html' '/usr/local/docs/credits.html'
 /usr/bin/install -c -m 644 'faq.html' '/usr/local/docs/faq.html'
 /usr/bin/install -c -m 644 'index.html' '/usr/local/docs/index.html'
 /usr/bin/install -c -m 644 'installation.html'
'/usr/local/docs/installation.html'
 /usr/bin/install -c -m 644 'platform.html' '/usr/local/docs/platform.html'
 /usr/bin/install -c -m 644 'principles.html'
'/usr/local/docs/principles.html'
 /usr/bin/install -c -m 644 'support.html' '/usr/local/docs/support.html'
 /usr/bin/install -c -m 644 'usage.html' '/usr/local/docs/usage.html'
 /usr/bin/install -c -m 644 'what.html' '/usr/local/docs/what.html'
test -z "/usr/local/bin" || /usr/ports/distfiles/qsheff-2.0-r1/install-sh -d
"/usr/local/bin"
  /usr/bin/install -c 'qsheff' '/usr/local/bin/qsheff'
test -z "/usr/local/share/doc/qsheff" ||
/usr/ports/distfiles/qsheff-2.0-r1/install-sh -d
"/usr/local/share/doc/qsheff"
 /usr/bin/install -c -m 644 'README' '/usr/local/share/doc/qsheff/README'
 /usr/bin/install -c -m 644 'COPYING' '/usr/local/share/doc/qsheff/COPYING'
 /usr/bin/install -c -m 644 'AUTHORS' '/usr/local/share/doc/qsheff/AUTHORS'
 /usr/bin/install -c -m 644 'ChangeLog'
'/usr/local/share/doc/qsheff/ChangeLog'
 /usr/bin/install -c -m 644 'INSTALL' '/usr/local/share/doc/qsheff/INSTALL'
 /usr/bin/install -c -m 644 'UPGRADE' '/usr/local/share/doc/qsheff/UPGRADE'
 /usr/bin/install -c -m 644 'THANKS' '/usr/local/share/doc/qsheff/THANKS'
 /usr/bin/install -c -m 644 'TODO' '/usr/local/share/doc/qsheff/TODO'
make  install-data-hook
cp -f qsheff /var/qmail/bin/qmail-qsheff
chown root:qmail /var/qmail/bin/qmail-qsheff
chmod 4511 /var/qmail/bin/qmail-qsheff

/---------------------------------------------------------------------------
-----------/
 NOTICE! qsheff has not installed yet.                                
 Type '/usr/local/etc/qsheff/install-wrapper.sh' to install it manually.
/---------------------------------------------------------------------------
-----------/

-su-2.05b# /usr/local/etc/qsheff
qsheff      qsheff.bak  
-su-2.05b# /usr/local/etc/qsheff/install-wrapper.sh 
>>> Installing qSheff wrapper <<<

* qmail root directory is /var/qmail
* Creating /var/qsheff directories.
* Moving qmail-queue to /var/qmail/bin/qmail-queue.orig... ok
* Creating qmail-queue link to /var/qmail/bin/qmail-qsheff... ok

EnderUNIX Software Development Team @ Turkey
http://www.enderunix.org/qsheff/

-su-2.05b# 


---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php


Cevap