Re: Strawberry Perl Bugs Report

2006-10-26 Thread as-win32-users
On Mon, 23 Oct 2006, Michael Papet wrote:

> After some more testing, errors appear related to
> Log::Log4Perl
>
> This is the package that seems to trigger the
> dependency to IO::Tty.

Log::Log4perl does *not* depend on IO::Tty and works fine on Windows.

If you see a problem, please narrow it down to a couple of lines of
reproducable code and post them.

-- Mike

Mike Schilli
[EMAIL PROTECTED]

>
> You can reproduce the bug by starting cpan and
> entering upgrade.  Admittedly, this is not a great
> idea right now, but it produces the issue on XPSP2.
>
> Any ideas on how to address this one?
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ___
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Strawberry Perl Bugs Report

2006-10-23 Thread Sisyphus

- Original Message - 
From: "Michael Papet" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, October 24, 2006 5:38 AM
Subject: Strawberry Perl Bugs Report


> After some more testing, errors appear related to
> Log::Log4Perl
>
> This is the package that seems to trigger the
> dependency to IO::Tty.
>
> You can reproduce the bug by starting cpan and
> entering upgrade.  Admittedly, this is not a great
> idea right now, but it produces the issue on XPSP2.
>
> Any ideas on how to address this one?
>

This is probably *not* the best place to report problems with Strawberry
Perl - I don't think there are many here who have any involvement with that
project. There's http://win32.perl.org/wiki/index.php?title=Talk:Main_Page
or you could post to perlmonks where you'd be liklely to attract the
attention of people more actively involved with the Strawberry project (so
long as "Strawberry" appears in the subject line).

To build XML::Parser (which was mentioned in your first post), you first
need an expat library -which is not all that difficult to obtain. See
http://win32.perl.org/wiki/index.php?title=Expat_Hacking

It's probably also worth having a ppm utility on your Strawberry Perl so
that you can make use of all those ppm packages that already exist in the
usual ppm repositories. (Although those packages have generally been built
using the Visual Studio compiler, they will work fine with Strawberry Perl.)
You can install PPM-2.1.7 from cpan but you first need to apply patches
written by Randy Kobes and available at
http://rt.cpan.org//Ticket/Display.html?id=21871 .
(I think XML::Parser is a pre-requisite for PPM.)

Both of the above links are obtained from
http://win32.perl.org/wiki/index.php?title=Vanilla_Perl_Problem_Modules .

I don't know much about Log::Log4Perl, but there's a ppm package of version
1.06 available from the uwinnipeg rep. (See
http://theoryx5.uwinnipeg.ca/ppms/ .)
I can't see any mention of LogLog4Perl having an IO::Tty dependency. It's
certainly not mentioned in the Makefile.PL (
http://search.cpan.org/src/MSCHILLI/Log-Log4perl-1.07/Makefile.PL ) which is
the one place it *ought* to be specified if such a dependency exists.
Perhaps the IO::Tty dependency is creeping in from some other module ?

I wouldn't expect IO::Tty to build on Win32 (including Strawberry Perl), and
I can't find a ppm package for it anywhere. I don't regard Strawberry's
inability to build IO::Tty as a bug. I'm not sure that *any* of your
problems are actually a bug - and it's probably best to avoid using that
term until it has been determined that the problem you face actually *is* a
bug. Some (overly sensitive) people get annoyed if the "bug" accusation is
not really a bug :-)

Also, it would probably help with the diagnosis if you provide a
copy'n'paste of the errors you got.

Cheers,
Rob

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Strawberry Perl Bugs Report

2006-10-23 Thread Michael Papet
After some more testing, errors appear related to
Log::Log4Perl

This is the package that seems to trigger the
dependency to IO::Tty.

You can reproduce the bug by starting cpan and
entering upgrade.  Admittedly, this is not a great
idea right now, but it produces the issue on XPSP2.

Any ideas on how to address this one?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Strawberry Perl Bugs Report

2006-10-23 Thread Michael Papet
Hi,

Some feedback for the strawberry-perl project.

Platform: WinXP SP2, totally up to date.

Install went okay except for environment paths were
not set so dmake didn't work in cpan right away.

To fix dmake, I copied it into c:\OSdir\system32 along
with the folder.  Maybe you want to do that with the
installer?  I can understand why that may not be good,
but FYI.

Set paths in system>System
properties>advanced>Environment Variables by adding
"C:\strawberry-perl\dmake\bin\;C:\strawberry-perl\perl\bin;C:\strawberry-perl\mingw\bin"

After a reboot, there are problems.

Somehow I got XML::Parser and IO::Tty involved and
both fail installation.

IO::Tty fails with this on the CLI
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/
dir)...
Looking for _getpty().. not found.
Looking for getpt() not found.
Looking for grantpt().. not found.
Looking for openpty().. not found.
Looking for ptsname().. not found.
Looking for ptsname_r() not found.
Looking for sigaction() not found.
Looking for strlcpy().. not found.
Looking for ttyname().. not found.
Looking for unlockpt(). not found.
Looking for libutil.h.. not found.
Looking for pty.h.. not found.
Looking for sys/pty.h.. not found.
Looking for sys/ptyio.h not found.
Looking for sys/stropts.h.. not found.
Looking for termio.h... not found.
Looking for termios.h.. not found.
Looking for util.h. not found.

My quick and dirty attempts to find the mingw headers
was unsuccessful.  Does IO:Tty needs different build
instructions for mingw/win32?

Keep up the great work.  Let me know if you need more
info.

MP 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs