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:
- remove the C:\Program Files\Microsoft Visual Studio* from my path. (That doesn't work.)
- rename nmake.exe @ c:\usr\bin. (remain the same.)
- nmake /f Makefile || nmake /f c:\absolute\path\to\Makefile (no help)
perl -Iutil -MPugsConfig -e "PugsConfig->write_config_module" > src\Config.hs perl Makefile.PL -version ghc --make -o pugs src/Main.hs -isrcI 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.