P
pt
note: this post started off as a question, but turned into a blog and
eventually became an answer. I just hate to have anyone else go
through all this nonsense, so I figured I'd post it as an example of
"when in doubt, google it out".
I successfully installed ActiveState 5.8.8 (after uninstalling
5.6.something) on an XP laptop. I installed it to "C:\Program FIles
\Activestate.com\Perl". After the install, I changed the "Program
files" part of the ActiveState dirs in my PATH env var from long DOS
format to 8.3 format:
"C:\Program Files\ActiveState.com\Perl\site\bin"
to
"C:\Progra~1\ActiveState.com\Perl\site\bin"
and
"C:\Program Files\ActiveState.com\Perl\bin"
to
"C:\Progra~1\ActiveState.com\Perl\bin"
Now, when I attempt to build a CPAN module (BitTorrent), I get:
<pre>
C:\blah... \BitTorrent>perl makefile.pl
Have C:\Progra~1\ActiveState.com\Perl\lib\Config.pm expected C:
\Program Files\ActiveState.com\Perl\lib\Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [lib]
Config says: [MSWin32-x86-multi-thread]
This may or may not cause problems. Please check your installation of
perl
if you have problems building this extension.
Writing Makefile for BitTorrent
</pre>
It *looks* like Perl is just unhappy about the directory rename. I
changed the PATH back to the original install dir and the new message
is:
C:\blahblah...\BitTorrent>perl -c Makefile.PL
Makefile.PL syntax OK
C:\blahblah...\BitTorrent>perl Makefile.PL
Unable to find a perl 5 (by these names:
C:\Program Files\ActiveState.com\Perl\bin\perl.exe
perl.exe perl5.exe perl5.8.8.exe miniperl.exe, in these dirs:
eventually became an answer. I just hate to have anyone else go
through all this nonsense, so I figured I'd post it as an example of
"when in doubt, google it out".
I successfully installed ActiveState 5.8.8 (after uninstalling
5.6.something) on an XP laptop. I installed it to "C:\Program FIles
\Activestate.com\Perl". After the install, I changed the "Program
files" part of the ActiveState dirs in my PATH env var from long DOS
format to 8.3 format:
"C:\Program Files\ActiveState.com\Perl\site\bin"
to
"C:\Progra~1\ActiveState.com\Perl\site\bin"
and
"C:\Program Files\ActiveState.com\Perl\bin"
to
"C:\Progra~1\ActiveState.com\Perl\bin"
Now, when I attempt to build a CPAN module (BitTorrent), I get:
<pre>
C:\blah... \BitTorrent>perl makefile.pl
Have C:\Progra~1\ActiveState.com\Perl\lib\Config.pm expected C:
\Program Files\ActiveState.com\Perl\lib\Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [lib]
Config says: [MSWin32-x86-multi-thread]
This may or may not cause problems. Please check your installation of
perl
if you have problems building this extension.
Writing Makefile for BitTorrent
</pre>
It *looks* like Perl is just unhappy about the directory rename. I
changed the PATH back to the original install dir and the new message
is:
C:\blahblah...\BitTorrent>perl -c Makefile.PL
Makefile.PL syntax OK
C:\blahblah...\BitTorrent>perl Makefile.PL
Unable to find a perl 5 (by these names:
C:\Program Files\ActiveState.com\Perl\bin\perl.exe
perl.exe perl5.exe perl5.8.8.exe miniperl.exe, in these dirs: