Skip Menu |
 

This queue is for tickets about the JavaScript-V8 CPAN distribution.

Report information
The Basics
Id: 74357
Status: resolved
Priority: 0/
Queue: JavaScript-V8

People
Owner: Nobody in particular
Requestors: kuchk [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.06
Fixed in: (no value)



Subject: Installing JavaScript::V8 failed V8Context.cpp:288
Download (untitled) / with headers
text/plain 965b
Need for patch of V8Context.cpp: V8Context.cpp:288 -- array->Set(i, sv2v8(*av_fetch(av, i, 0))); ++ array->Set(v8::Int32::New(i), sv2v8(*av_fetch(av, i, 0))); =========== user@host:~/tmp/JavaScript-V8-0.06$ make cp lib/JavaScript/V8/Context.pm blib/lib/JavaScript/V8/Context.pm cp lib/JavaScript/V8.pm blib/lib/JavaScript/V8.pm g++ -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -fPIC "-I/usr/lib/perl/5.10/CORE" V8Context.cpp V8Context.cpp: In member function ‘v8::Handle<v8::Array> V8Context::av2array(AV*)’: V8Context.cpp:288: error: no matching function for call to ‘v8::Array::Set(I32&, v8::Handle<v8::Value>)’ /usr/include/v8.h:1145: note: candidates are: bool v8::Object::Set(v8::Handle<v8::Value>, v8::Handle<v8::Value>, v8::PropertyAttribute) make: *** [V8Context.o] Error 1
Download (untitled) / with headers
text/plain 166b
It seems the code has moved past this; the line now says: array->Set(Integer::New(i), sv2v8(*sv, seen)); Closing, but please reopen if problems persist.


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.