I can try to get automated_pp_test.pl running on cygwin. Bear in mind that
I do not know C and I did not have to do with writing any PAR or pp code, so
I can only help from the testing side of things. Currently,
automated_pp_test.pl works just fine from a Windows command prompt. Now,
on to cygwin ...
Let me ask some questions. I currently have (from uname -a)
CYGWIN_NT-5.1 quartz 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown
Cygwin
My cygwin INC is as shown below
$ perl -wle 'print for @INC'
c:\cygwin\usr\ActivePerl\Perl\lib
c:\cygwin\usr\ActivePerl\Perl\site
c:\cygwin\usr\ActivePerl\Perl\site\lib
C:\cygwin\lib
C:\cygwin\lib\perl5\5.8.2
C:\cygwin\lib\perl5\site_perl\5.8.2
C:/cygwin/lib
I cannot get PAR to install due to needed modules. I am stuck trying to get
needed modules.
perl -MCPAN does not work.
/usr/ActivePerl/Perl/bin/ppm.bat does not work
/usr/ActivePerl/Perl/bin/ppm3.bat does not work
I would like to try
perl -MCPANPLUS -e shell
and go from there, but I cannot. I downloaded CPANPLUS.pm into both
c:\cygwin\lib\perl5\site_perl\5.8.2
and
c:\cygwin\user\ActivePerl\Perl\site\lib
to no avail. I get
----------------paste
$ perl -MCPANPLUS -e shell
Can't locate CPANPLUS/I18N.pm in @INC (@INC contains:
c:\cygwin\usr\ActivePerl\Perl\lib c:\cygwin\us
r\ActivePerl\Perl\site c:\cygwin\usr\ActivePerl\Perl\site\lib C:\cygwin\lib
C:\cygwin\lib\perl5\5.8.
2 C:\cygwin\lib\perl5\site_perl\5.8.2 C:/cygwin/lib .) at
c:\cygwin\usr\ActivePerl\Perl\site\lib/CPA
NPLUS.pm line 16.
BEGIN failed--compilation aborted at
c:\cygwin\usr\ActivePerl\Perl\site\lib/CPANPLUS.pm line 16.
Compilation failed in require.
BEGIN failed--compilation aborted.
---------------------end paste
After doing a search, I have found that I18N.pm does not exist on my
machine. The only reference to I18N.pm seems to be at
http://search.cpan.org/~autrijus/CPANPLUS-0.049/lib/CPANPLUS/I18N.pm
however, that file holds the description of I18N.pm, not the source
code itself, and there are no links to the real I18N.pm
Help!
----------------------------------------------------------------------------
-
Laurent Perez <[EMAIL PROTECTED]> wrote:
Well, I don't have vc6 and I've had troubles with activeperl in the past so
I rely on cygwin.
This isn't an urgent problem, thanks for later reply
laurent
----------------------------------------------------------------------------
-
Autrijus Tang <[EMAIL PROTECTED]> wrote:
Hey, we lost cygwin support during the past few versions of PAR;
I had not tracked whether it's a problem due to recent cygwin/cygperl,
or if it's a problem with PAR.
Sadly, my laptop is broken and I will not be able to investigate this
until 72 hours from now. :-/
> I really like PAR (works fine on my *nix) but I need to produce a win32
> .exe from my script, so I'm lost.
Any reason why ActivePerl (or self-compiled Perl using MingW / VC6)
would not work for your purpose?
Thanks,
/Autrijus/
----------------------------------------------------------------------------
-
Laurent Perez <[EMAIL PROTECTED]> wrote:
Hello
I'm trying to install PAR on Win32 (cygwin, not activestate) from perl
-MCPAN -e shell, however problems happen :(, it seems to fail several tests
on t/2-pp.t automated_pp_test.pl, and prevents the make install since too
many errors roll up.
Sadly I can't copy/paste full error log because cygwin window doesn't seem
to allow copy/paste (mouse doesn't work ..), but messages are :
- t/2-pp................. NOK number# Failed test (automated_pp_test.pl at
line 5180)
- DIED. FAILED tests 1-3, 6, 11, 14-30
- 68.75% of tests from 2-pp failed (22/32 ok)
PAR 0.80, Windows XP, perl 5.8 and latest cygwin setup.
I really like PAR (works fine on my *nix) but I need to produce a win32
.exe from my script, so I'm lost.
Thanks for any support
laurent
----- Original Message -----
From: "Autrijus Tang" <[EMAIL PROTECTED]>
To: "Laurent Perez" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, April 18, 2004 9:31 AM
Subject: Re: Can't install PAR on Win32 (cygwin)