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]

Re: Building SpamAssassin for Cygwin


On Thu, Sep 19, 2002 at 06:59:06PM +0200, news@garydjones.mailshell.com wrote:
> 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

I got the exact same error when building 2.31.

> 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?

I "fixed" problem with the (first hunk of the) first patch.  Since I'm
not a Perl person, I haven't figured out the right way to fix the
problem -- for example, patching Makefile.PL or whatever generates the
offending line in Makefile.  Does anyone know the right way to do this?

BTW, I needed the second patch to stop spamassassin from thinking that
Perl was running under Windows instead of Cygwin.

Jason

Attachment: Makefile.diff
Description: Text document

Attachment: spamassassin.raw.diff
Description: Text document

--
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]