Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Win XP problems

7 views
Skip to first unread message

Christian Lott

unread,
Nov 8, 2004, 1:21:51 AM11/8/04
to perl6-i...@perl.org
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

Nicholas Clark

unread,
Nov 8, 2004, 6:58:02 AM11/8/04
to Christian Lott, perl6-i...@perl.org
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.

What's the POW version of Parrot? This some source for parrot which isn't
cvs.perl.org, or a release on CPAN?

Nicholas Clark

Peter Sinnott

unread,
Nov 8, 2004, 7:47:07 AM11/8/04
to Leopold Toetsch, Christian Lott, perl6-i...@perl.org
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?
>

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.

--
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

st...@fisharerojo.org

unread,
Nov 8, 2004, 8:36:24 AM11/8/04
to Christian Lott, perl6-i...@perl.org
On Mon, Nov 08, 2004 at 12:21:51AM -0600, Christian Lott wrote:

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.

Steve Peters
st...@fisharerojo.org

Christian Lott

unread,
Nov 8, 2004, 10:45:06 AM11/8/04
to perl6-i...@perl.org

"Do you hvae msvc (cl.exe) in the path?"

No. I thought I did but looks like I don't...

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.
>
>
>

What's that?
You mean the MSVC prompt?

>Steve Peters
>st...@fisharerojo.org
>
>
>
>


Christian Lott

unread,
Nov 8, 2004, 11:46:47 AM11/8/04
to perl6-i...@perl.org
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?


>It just fires up a command prompt with the vcvars32.bat executed.
>
>Ron
>
>
>
>


Ron Blaschke

unread,
Nov 8, 2004, 12:14:18 PM11/8/04
to perl6-i...@perl.org
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...)

Christian Lott

unread,
Nov 8, 2004, 6:50:24 PM11/8/04
to perl6-i...@perl.org
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

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.


Christian Lott

unread,
Nov 8, 2004, 1:32:16 PM11/8/04
to perl6-i...@perl.org
Jonathan Worthington wrote:

> "Peter Sinnott" <psinn...@aol.com> wrote:
>
>> 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?
>>>
>>
>> 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.
>>

> '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.
--

Ok. Just downloaded it at -

http://www.dll-files.com/dllindex/dll-files.shtml?msvcrtd


placed it in the MSVC \bin directory and typed "perl t\harness"

At the end this is what I got:

--
t/library/streams..............ok 21/21# Looks like you failed 2 tests
of 21.
t/library/streams..............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 14, 18
Failed 2/21 tests, 90.48% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------------
imcc/t/imcpasm/cfg.t 3 768 3 3 100.00% 1-3
imcc/t/imcpasm/opt0.t 6 1536 6 6 100.00% 1-6
imcc/t/imcpasm/opt1.t 47 12032 49 47 95.92% 1-47
imcc/t/imcpasm/pcc.t 1 256 11 1 9.09% 1
imcc/t/imcpasm/sub.t 2 512 2 2 100.00% 1-2
t/library/streams.t 2 512 21 2 9.52% 14 18
t/pmc/nci.t 6 1536 46 6 13.04% 33 35-37 42-43
t/pmc/perlnum.t 1 256 43 1 2.33% 36
t/pmc/sub.t 255 65280 76 28 36.84% 63-76
6 tests and 54 subtests skipped.
Failed 9/111 test scripts, 91.89% okay. 82/1859 subtests failed, 95.59%
okay.

C:\parrot>
--

Sound right?

Thanks Johnathan.

I get frustrated and side tracked really easy when I have no idea what
I'm doing. My fault.

Christian

Andrew Rodland

unread,
Nov 9, 2004, 8:07:31 PM11/9/04
to perl6-i...@perl.org


From editor/Makefile:

imc.vim: imc.vim.in ../ops/*.ops
cp -f imc.vim.in imc.vim
perl ops2vim.pl ../ops/*.ops >> imc.vim


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

Christian Lott

unread,
Nov 10, 2004, 12:41:16 PM11/10/04
to perl6-i...@perl.org
Andrew Rodland wrote:

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?

Christian

Leopold Toetsch

unread,
Nov 10, 2004, 11:03:18 AM11/10/04
to Christian Lott, perl6-i...@perl.org
Christian Lott <sag...@cox.net> wrote:

> The only ops directory I have is under the docs directory. I assume
> ops2vim will parse it:

No. It's in the sources.

> Christian

leo

0 new messages