You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% git clone git://github.com/nu7hatch/mustang.git
% cd mustang
% rake compile
[1/1] Isolating mocha (>= 0.9).
Fetching: metaclass-0.0.1.gem (100%)
Fetching: mocha-0.12.4.gem (100%)
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
mkdir -p tmp/x86_64-linux/v8/1.9.3
cd tmp/x86_64-linux/v8/1.9.3
/usr/bin/ruby1.9.1 -I. ../../../../ext/v8/extconf.rb
checking for main() in -lv8... yes
checking for main() in -lpthread... yes
checking for string.h... yes
checking for v8.h... yes
checking for v8-debug.h... yes
checking for v8-profiler.h... yes
checking for rb_sym_to_s()... yes
checking for rb_any_to_ary()... no
creating Makefile
cd -
cd tmp/x86_64-linux/v8/1.9.3
make
compiling ../../../../ext/v8/v8_integer.cpp
In file included from ../../../../ext/v8/v8_ref.h:5:0,
from ../../../../ext/v8/v8_integer.cpp:1:
/usr/include/v8.h:1845:26: error: expected identifier before '&' token
make: *** [v8_integer.o] Error 1
rake aborted!
Command failed with status (2): [make...]
Tasks: TOP => compile => compile:x86_64-linux => compile:v8:x86_64-linux => copy:v8:x86_64-linux:1.9.3 => tmp/x86_64-linux/v8/1.9.3/v8.so
(See full trace by running task with --trace)
[1] 6402 exit 1 rake compile
this is not the first occurance of V8EXPORT. Xemacs colours this different than the previous occurance.
I suspect something weird in the templates and/or the version of gcc.
% git clone git://github.com/nu7hatch/mustang.git
% cd mustang
% rake compile
[1/1] Isolating mocha (>= 0.9).
Fetching: metaclass-0.0.1.gem (100%)
Fetching: mocha-0.12.4.gem (100%)
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
mkdir -p tmp/x86_64-linux/v8/1.9.3
cd tmp/x86_64-linux/v8/1.9.3
/usr/bin/ruby1.9.1 -I. ../../../../ext/v8/extconf.rb
checking for main() in -lv8... yes
checking for main() in -lpthread... yes
checking for string.h... yes
checking for v8.h... yes
checking for v8-debug.h... yes
checking for v8-profiler.h... yes
checking for rb_sym_to_s()... yes
checking for rb_any_to_ary()... no
creating Makefile
cd -
cd tmp/x86_64-linux/v8/1.9.3
make
compiling ../../../../ext/v8/v8_integer.cpp
In file included from ../../../../ext/v8/v8_ref.h:5:0,
from ../../../../ext/v8/v8_integer.cpp:1:
/usr/include/v8.h:1845:26: error: expected identifier before '&' token
make: *** [v8_integer.o] Error 1
rake aborted!
Command failed with status (2): [make...]
Tasks: TOP => compile => compile:x86_64-linux => compile:v8:x86_64-linux => copy:v8:x86_64-linux:1.9.3 => tmp/x86_64-linux/v8/1.9.3/v8.so
(See full trace by running task with --trace)
[1] 6402 exit 1 rake compile
This happens with a straight gem install.
obiwan-[/sandel/src/mustang] mcr 3235 %sed -n 1845,1845p /usr/include/v8.h
V8EXPORT Local StringValue() const;
this is not the first occurance of V8EXPORT. Xemacs colours this different than the previous occurance.
I suspect something weird in the templates and/or the version of gcc.
obiwan-[/sandel/src/mustang] mcr 3236 %gcc --version
gcc (Debian 4.7.1-7) 4.7.1
Please suggest something else to check...
obiwan-[/sandel/src/mustang] mcr 3237 %uname -a
Linux obiwan 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux
Debian wheezy.
The text was updated successfully, but these errors were encountered: