This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building SpamAssassin for Cygwin


I noticed that a couple of people on the list seem to have managed to get
SpamAssassin running on Cygwin. I am trying to build SA-2.41 (on Win 98) but
I'm encountering a problem. I tried the SA mailing list but mostly I got
blank looks (their list-archives only have something relating to a previous
version, and which does not apply to the error I am getting).

perl Makefile.PL seems to go okay, but the make process then fails as
follows:

make -f binaries.mk spamd/spamc
make[1]: Entering directory /home/eye/develop/Mail-SpamAssassin-2.41'
gcc -g -O2 spamd/spamc.c spamd/libspamc.c spamd/utils.c \
        -o spamd/spamc  
make[1]: Leaving directory /home/eye/develop/Mail-SpamAssassin-2.41'
cp spamd/spamc blib/script/spamc
/usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/spamc
Can't process 'blib/script/spamc': No such file or directory at -e line 1
make: *** [blib/script/spamc] Error 255

$ ls -la blib/script
total 60
drwxr-xr-x    2 eye      users           0 Sep 18 12:38 .
drwxr-xr-x    7 eye      users           0 Sep 18 12:34 ..
-rw-r--r--    1 eye      users           0 Aug 22  2001 .exists
-rwxr-xr-x    1 eye      users       61206 Sep 18 12:38 spamc.exe

What I think is happening is that the .exe suffix is being added to the
binary (I'm assuming this is one of the executable files), but something
then can't find the executable file as a result. The /usr/bin/perl line,
correct? Can anyone who has got it working give me a few clues please?

perl is v5.6.1, if it makes any diff.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]