----- Original Message ----- 
From: "Ed S. Peschko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Jan Dubois" <[EMAIL PROTECTED]>; "Eric Promislow" 
<[EMAIL PROTECTED]>; "Gisle Aas" <[EMAIL PROTECTED]>; 
<[email protected]>; "Todd Whiteman" 
<[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2007 4:15 PM
Subject: [SPAM?] Compilation of Inline::Ruby on win32


> All,
>
> I'm trying to compile Inline::Ruby on win32, using visualc++ v6 and
> activestate perl, without too much luck, in trying to get HttpWatch
> to work with perl.
>
> In particular, I'm having difficulty with the headers.

As it stands, signal.h and Win32 perl are incompatible. You can't #include 
<signal.h> on Win32 when building perl extensions. And I think signal.h gets 
pulled in as soon as you #include "ruby.h".

So it looks like an impasse to me - though, faik, it may be possible to hack 
your way through it.

---------------------------------------
C:\_32\pscrpt\inline>type try.pl

use warnings;

use Inline C => <<'EOC';

#include <signal.h>

void foo() {
     printf("Hello World\n");
}

EOC

foo();

C:\_32\pscrpt\inline>perl try.pl
.
<snipped>
.
In file included from try_pl_3fe7.xs:6:
C:/_32/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h:84: 
error: syntax error before '(' token
dmake:  Error code 129, while making 'try_pl_3fe7.o'
.
<snipped>
.
BEGIN failed--compilation aborted at try.pl line 12.

---------------------------------------

I could find ppm's for many of the Inline::* modules, but not Inline::Ruby - 
which also is not a good sign.

Cheers,
Rob 

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to