I have Active State Perl. I have MSVC. I have the POW version of Parrot.
In the new POW version of Parrot there is no Configure.pl so I can't compile. Since all I get are "Can't find MSVC" errors I can't follow Leo's advice on CPAN.
Nmake has done nothing for me either on the CVS tar.zip I attempted to make.
As you can see, I'm not a Unix guy. I'd love to experiment with Parrot though since I love assembly language.
I'm pretty competent reporting errors but I've never been able to get this to work (about 4 months ago).
If someone could walk me through this it'd be great. I've searched for quite some time and am very tired of trying a bunch of things that I can't get to work.
On Mon, Nov 08, 2004 at 12:56:50PM +0100, Leopold Toetsch wrote: > Christian Lott <c...@cox.net> wrote: > > I have Active State Perl. I have MSVC. I have the POW version of Parrot.
> What is POW? Parrot on Windows? Who does maintain it?
The website mentions Jonathan Worthington as the maintainer.
-- Our challenge is to competently leverage other's business meta-services such that we may continue to continually supply economically sound sources to exceed customer expectations
On Mon, Nov 08, 2004 at 12:21:51AM -0600, Christian Lott wrote: > I have Active State Perl. I have MSVC. I have the POW version of Parrot.
> In the new POW version of Parrot there is no Configure.pl so I can't > compile. Since all I get are "Can't find MSVC" errors I can't follow > Leo's advice on CPAN.
> Nmake has done nothing for me either on the CVS tar.zip I attempted to make.
> As you can see, I'm not a Unix guy. I'd love to experiment with Parrot > though since I love assembly language.
> I'm pretty competent reporting errors but I've never been able to get > this to work (about 4 months ago).
> If someone could walk me through this it'd be great. I've searched for > quite some time and am very tired of trying a bunch of things that I > can't get to work.
> Help,
> Christian Lott
The most important thing you need to do is use the .NET command line, rather than the regular cmd.exe shell. The .NET shell sets up all the environment variables needed to do a compile of Parrot.
It's at c:\Program Files\Microsoft Visual C++ 2003\bin\cl.exe
How would I set the path without overwriting my previous settings?
set PATH=%PATH%;c:\Program Files\Microsoft Visual C++ 2003\bin\
"Possily he means http://www.jwcs.net/developers/perl/pow/ but that seems to have precompiled for windows parrot binaries with no source. The website mentions Jonathan Worthington as the maintainer. "
Yes. That's the one.
>The most important thing you need to do is use the .NET command line, >rather than the regular cmd.exe shell. The .NET shell sets up all the >environment variables needed to do a compile of Parrot.
Ron Blaschke wrote: >No. Look for a batch file called vcvars32.bat below the Microsoft Visual >C++ 2003 directory, and run it. It'll setup your environment. >"dir /s vcvars32.bat"
On Mon, 08 Nov 2004 10:46:47 -0600, Christian Lott wrote: > Ron Blaschke wrote: >>No. Look for a batch file called vcvars32.bat below the Microsoft Visual >>C++ 2003 directory, and run it. It'll setup your environment. >>"dir /s vcvars32.bat" > OK. Path set. > Now what?
Assuming you got the full source, follow the instructions in README.win32. (I hope we are not still talking about the POW stuff...)
>> The website mentions Jonathan Worthington as the maintainer.
> 'fraid that'd be me. From the Parrot On Win32 documentation:-
> "This distribution contains the Parrot executables that result from > compiling the source under Windows, to save you having to compile it > yourself. Documentation, examples, tests, compilers and interpreters > for a number of languages at various stages of completion and a few > other assorted odds and ends are also included."
> Which (obviously not clearly enough ;-) implies that the source isn't > included. This is like getting ActiveState Perl; you're getting > something ready to run, not something you have to compile. To get > something to compile, look to the Parrot site > (http://www.parrotcode.org/).
> Hope this helps,
> Jonathan
So this is what I get: -- [x] This application has failed to start because MSVCRTD.dll was not found. Re-installing the application may fix this problem. --
> I think the problem is that imc.vim.in needs to go through ops2vim.
> C:\parrot\editor>perl ops2vim.pl imc.vim.in imc.vim > Can't open imc.vim: No such file or directory at ops2vim.pl line 8, <> > line 85. > syn keyword imcOp
> C:\parrot\editor>perl ops2vim.pl imc.vim imc.vim.in > Can't open imc.vim: No such file or directory at ops2vim.pl line 7. > syn keyword imcOp
> C:\parrot\editor>perl ops2vim.pl imc.vim.in > syn keyword imcOp
> This is in the .NET window (MSVC).
> I'm placing these files into the /vimfiles directory which is adjacent > to the vim63 directory both of which are under the VIM directory.
so basically you want to feed all the 'ops' files into ops2vim.pl and then tack the output onto the end of imc.vim.in to make imc.vim.
There are a bunch of other editor-relevant files there, check editor/README.pod for info; just replace ~/.vim with wherever\vimfiles, and ~/.vimrc with wherever\_vimrc.
Andrew Rodland wrote: >On Monday 08 November 2004 06:50 pm, Christian Lott wrote:
>>Having a little trouble with vim.
>>I think the problem is that imc.vim.in needs to go through ops2vim.
>>C:\parrot\editor>perl ops2vim.pl imc.vim.in imc.vim >>Can't open imc.vim: No such file or directory at ops2vim.pl line 8, <> >>line 85. >>syn keyword imcOp
>>C:\parrot\editor>perl ops2vim.pl imc.vim imc.vim.in >>Can't open imc.vim: No such file or directory at ops2vim.pl line 7. >>syn keyword imcOp
>so basically you want to feed all the 'ops' files into ops2vim.pl and then >tack the output onto the end of imc.vim.in to make imc.vim.
>There are a bunch of other editor-relevant files there, check >editor/README.pod for info; just replace ~/.vim with wherever\vimfiles, and >~/.vimrc with wherever\_vimrc.
>Cheers >hobbs
C:\parrot\editor>imc.vim: imc.vim.in ../ops/*.ops 'imc.vim:' is not recognized as an internal or external command, operable program or batch file.
C:\parrot\editor>cp -f imc.vim.in imc.vim 'cp' is not recognized as an internal or external command, operable program or batch file.
C:\parrot\editor>perl ops2vim.pl ../ops/*.ops >> imc.vim Can't open ../ops/*.ops: No such file or directory at ops2vim.pl line 7.
C:\parrot\editor>perl ops2vim.pl ..docs/ops/*.ops >> imc.vim Can't open ..docs/ops/*.ops: No such file or directory at ops2vim.pl line 7.
C:\parrot\editor>perl ops2vim.pl ..parrot/docs/ops/*.ops >> imc.vim Can't open ..parrot/docs/ops/*.ops: No such file or directory at ops2vim.pl line 7.
C:\parrot\editor>perl ops2vim.pl c:\parrot\docs\ops\*.ops >> imc.vim Can't open c:\parrot\docs\ops\*.ops: Invalid argument at ops2vim.pl line 7.
C:\parrot\editor>perl ops2vim.pl c:\parrot/docs/ops/*.ops >> imc.vim Can't open c:\parrot/docs/ops/*.ops: Invalid argument at ops2vim.pl line 7.
C:\parrot\editor> --
The only ops directory I have is under the docs directory. I assume ops2vim will parse it:
#! perl -w
my $cline = my $prefix = 'syn keyword imcOp';
my %seen;
while (<>) { if (/\bop \s+ (\w+) \s* \(/x) { next if $seen{$1}++; if (length($1) + length($cline) > 72) { print "$cline\n"; $cline = $prefix; } $cline .= " $1"; }
}
print "$cline\n"; ---
Would I be better served on the Active State Command Line Interpreter or stick to the .NET prompt?