Journal(2005) | Blog(2006) | RandomLink | WhoAmI | LiveBookmark | HomePage

<<Previous: Synopsis 1 / 纲要一  >>Next: Synopsis 13: 重载

weird thing with nmake pugs

Category: Diary   Keywords: nmake pugs

I want to install the newest pugs.
http://svn.openfoundry.org/pugs
so I 'svn up', then 'perl Makefile.PL'. all is okay. but when i 'nmake test', it returns:
cp lib/Perl6/Pugs.pm blib\lib\Perl6\Pugs.pm
NMAKE : fatal error U1052: file 'Makefile' not found
Stop.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0x2'
Stop.
But I can find the 'Makefile' file in the folder. and when I install other modules like 'HTML::Format', 'nmake test|install' is okay. "that's weird." Autrijus said.
Then he told me several ways to make things going on. such as:
  1. remove the C:\Program Files\Microsoft Visual Studio* from my path. (That doesn't work.)
  2. rename nmake.exe @ c:\usr\bin. (remain the same.)
  3. nmake /f Makefile || nmake /f c:\absolute\path\to\Makefile (no help)
At last, Autrijus says:
perl -Iutil -MPugsConfig -e "PugsConfig->write_config_module" > src\Config.hs
perl Makefile.PL -version
ghc --make -o pugs src/Main.hs -isrc
I followed, and compiled the pugs v6.0.10.
Thank God. but the nmake problem is still there. I'll talk with autrijus tomorrow.
May good luck.

u can find the talk at http://colabti.de/irclogger//irclogger_log/perl6?date=2005-03-08,Tue

Add @ 2005/3/9

It's more weird. After i installed the parrot, use nmake twice. Then go to nmake pugs, it works.
Oh, my God. just unbelievable.

<<Previous: Synopsis 1 / 纲要一  >>Next: Synopsis 13: 重载

Options: +Del.icio.us

Related items Created on 2005-03-08 23:53:21, Last modified on 2005-05-20 23:51:37
Copyright 2004-2005 All Rights Reserved. Powered by Eplanet && Catalyst 5.62.