Skip Menu |
 

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 1422
Status: resolved
Priority: 0/
Queue: JavaScript

People
Owner: CLAESJAC [...] cpan.org
Requestors: crazyinsomniac [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.5
  • 0.51
  • 0.52
Fixed in:
  • 1.00
  • 1.00_02
  • 1.02



Subject: Compilation errors under win32 ~ a solution
Download (untitled) / with headers
text/plain 1.3k
This failed to compile on Win32, as per my report at http://testers.cpan.org/search?request=dist&dist=JavaScript#0.52+MSWin32+4.0+MSWin32-x86-multi-thread I have contacted the author with the folling email, but I haven't heard from him, or seen an updated version released to cpan, so here is the email I sent him (the bug-fix is ridiculously simple) In JavaScript.xs, I just switched the order of the includes like so. #include <jsapi.h> #include <malloc.h> #include "EXTERN.h" #include "perl.h" #include "XSUB.h" This fixes all the errors, but there are still warnings (but the tests all pass, see cpan-test'ers report for the errors and warnings, as until you upload a new version, the report will have to read FAIL) Also, in JavaScript.pod, in the first example you use q!! ad delimeters, but this fails cause you say call 'strange("JavaScript.pm rox!", 10);' the ! causes a compile error. Anyone remotely experienced with perl could figure this out, but there are way too many cluess folks out there so it helps to fix this. Just use "balanced" delimiters, like q[] or q(), or even q{} Also, in the Makefile.PL, you don't set the AUTHOR attribute but just leave the default h2xs one. If i were you i'd set that ;) If you want to check out a win32 version of JavaScript, I have a PPM package available at my repository, http://crazyinsomniac.perlmonk.org/perl/ppm Thanks.


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.