Skip Menu |
 

This queue is for tickets about the Coro CPAN distribution.

Report information
The Basics
Id: 20634
Status: rejected
Priority: 0/
Queue: Coro

People
Owner: Nobody in particular
Requestors: BROQ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.9
Fixed in: (no value)

Attachments


Subject: Compile failure with mingw32 and dmake
Download (untitled) / with headers
text/plain 434b
When using Strawberry Perl (5.8.8-alpha-1) to install Coro from CPAN there are compile errors. It looks like the mingw32 includes are getting things mixed up as a syntax error is reported in signal.h, which I'm guessing is due to a conflicting #define. I tried a few variations on the default options and got different errors, although my efforts weren't exhaustive. If you need any more info, just give me a shout. Cheers, Dan Brook
Subject: Coro CPAN make errors.txt

Message body is not shown because it is too large.

CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20634] Compile failure with mingw32 and dmake
Date: Mon, 24 Jul 2006 03:52:18 +0200
To: via RT <bug-Coro [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Download (untitled) / with headers
text/plain 798b
On Sun, Jul 23, 2006 at 07:51:14AM -0400, via RT <bug-Coro@rt.cpan.org> wrote: Show quoted text
> When using Strawberry Perl (5.8.8-alpha-1) to install Coro from CPAN > there are compile errors. It looks like the mingw32 includes are getting
Show quoted text
> In file included from State.xs:33: > C:/strawberry-perl/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h:84: error: syntax error before '->' token
This looks like a bug in your perl/build setup. Can you try to move the libcoro.h include line in Coro/State.xs below the patchlevel.h? -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ pcg@goof.com --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20634] Compile failure with mingw32 and dmake
Date: Mon, 24 Jul 2006 03:53:55 +0200
To: via RT <bug-Coro [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
Download (untitled) / with headers
text/plain 382b
Show quoted text
> Can you try to move the libcoro.h include line in Coro/State.xs below the
Meant coro/libcoro.c, not libcoro.h -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ pcg@goof.com --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
From: BROQ [...] cpan.org
Download (untitled) / with headers
text/plain 300b
On Mon Jul 24 03:42:25 2006, schmorp@schmorp.de wrote: Show quoted text
> > Can you try to move the libcoro.h include line in Coro/State.xs
below the Show quoted text
> > Meant coro/libcoro.c, not libcoro.h
I gave that a quick go and got pretty much the same thing. Will investigate further at a later date ... Cheers, Dan Brook.
Subject: Re: [rt.cpan.org #20634] Compile failure with mingw32 and dmake
Date: Thu, 26 Oct 2006 09:51:18 +0200
To: bug-Coro [...] rt.cpan.org
From: Marc Lehmann <schmorp [...] schmorp.de>
Download (untitled) / with headers
text/plain 868b
After playing around, it seems perl on native windows redefines setjmp and longjmp in weird ways, causing "not enough arguments" errors when calling setjmp and parse errors when including signal.h. This *is* a bug in perl and needs to be fixed there. While it would be possible to use the perl setjmp/longjmp functions for Coro, they do not compile as it stands. libcoro does not have specific support for native win32 (it works fine on cygwin), but latets CVS has some preliminary and untested patches. It is not possible to work around the perl bugs, though, so that needs to be fixed somehow. -- The choice of a -----==- _GNU_ ----==-- _ generation Marc Lehmann ---==---(_)__ __ ____ __ pcg@goof.com --==---/ / _ \/ // /\ \/ / http://schmorp.de/ -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE
Closed due to lakc of response.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.