At 07:40 PM 10/27/2004, Adam Wang wrote:
I install SpamAssassin 3.0.1 on Fedora 2, like this:
#perl Makefile.PL #make
error message;
----- /usr/bin/perl version.h.pl version.h.pl: creating version.h spamc/configure.pl: version.h.pl: Fail to get the version from Mail::SpamAssassin Please use the --with-version= switch to specify it mannually. ------
How to fix it? Any idea?
That message is generated from part of the build process for spamc, which has a little perl script to extract the version number from the main perl code.
Relative to the directory your running make from, is lib/Mail/SpamAssassin.pm corrupted in some way? It should be about 52kb.
I might try downloading a fresh tarball, double-checking the md5sum, unpacking and building that..