I didn't try to make spamc with mine. If you're doing that, it is possible that there could be a configuration situation that prevents it. I'm not sure why else it would fail. For the few items I had to manually compile and install I used Visual Studio 2008 Express.

Bret

On 3/22/2010 10:40 AM, weirdbeardmt wrote:
Actually, I was using the x64 bit version of AP, hence the need to use the
CPAN route for NetAddr-IP as I couldn't find a repo that included it for
x64.

Have tried your suggestions below using x86 AP, and, still not working.
Nmake fails with the same error. 

<quote=Error>
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::SSL
optional module missing: Encode::Detect

warning: some functionality may not be available,
please read the above report before continuing!

Checking if your kit is complete...
Looks good
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.55

C:\Program Files (x86)\Neolane\Neolane v5\bin\SpamAssassin>nmake

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

syntax error at -e line 1, next char )
Missing right curly or square bracket at -e line 1, at end of line
Execution of -e aborted due to compilation errors.
NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code
'0xff'
Stop.


Dmake (installed via PPM) also fails.

The only thing that's slightly weird is the makefile complaining about a
lack of nmake on my path, despite C:\perl\bin; being set in PATH, PERLLIB
and PERL5LIB.

What else can I try?


C:\Program Files (x86)\Neolane\Neolane v5\bin\SpamAssassin>perl makefile.pl
Set up gcc environment - 3.4.5 (mingw-vista special r3)

It looks like you don't have either nmake.exe or dmake.exe on your PATH,
so you will not be able to execute the commands from a Makefile. 



Is there a reason why you use CPAN? If adding the right repositories there
is no need for that.
3.3.1 has just been released, so first download this from the official site.
Then try the following:

1. Stop the "Windows Installer" service. This can be accomplished from the
command prompt using the following command: 
c:\> net stop "Windows Installer"

2.Temporarily remove or rename PERLLIB and PERL5LIB environment variables in
the system environment.

3. Temporarily remove or rename the following registry values:

          [\\HKEY_LOCAL_MACHINE\Software\Perl] lib = <directory> (REG_SV)
          [\\HKEY_LOCAL_MACHINE\Software\Perl] sitelib = <directory>
(REG_SV)
          [\\HKEY_LOCAL_MACHINE\Software\Perl] lib-<PerlVersion> =
<directory> (REG_SV)
          [\\HKEY_LOCAL_MACHINE\Software\Perl] sitelib-<PerlVersion> =
<directory>(REG_SV)

4. Install ActivePerl 5.10 (x86)

5. Open Dos Box, type the following

	ppm remove --area perl DB_File
	ppm repo add bribes
	ppm repo add trouchelle
	ppm install Prompt-Timeout
	ppm install Net-DNS
	ppm install NetAddr-IP
	ppm install DB_File
	ppm install Mail-SPF
	ppm install IP-Country
	ppm install IO-Socket-INET6
	ppm install Mail-DKIM

6. go to SA Source and type
perl makefile.pl
nmake
nmake install


If this fails again, it has definitely nothing to do with your perl
installation or some modules. 


  

Reply via email to