When I try to build the d8 shell with readline support I get an error. I can build the sample=shell shell fine, and run the benchmarks, etc.
Thanks, Perrin $ scons d8 console=readline gives: scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ -o obj/release/d8-readline.o -c -ansi -pedantic -Wall -Werror -W - Wno-unused-parameter -O3 -fomit-frame-pointer -m32 -fno-rtti -fno- exceptions -ansi -pedantic -Wall -Werror -W -Wno-unused-parameter -O3 - fomit-frame-pointer -m32 -DENABLE_LOGGING_AND_PROFILING src/d8- readline.cc /usr/include/readline/rltypedefs.h:65: error: typedef 'rl_getc_func_t' is initialized (use __typeof__ instead) /usr/include/readline/rltypedefs.h:65: error: 'FILE' was not declared in this scope /usr/include/readline/rltypedefs.h:65: error: expected primary- expression before ')' token /usr/include/readline/readline.h:416: error: 'FILE' was not declared in this scope /usr/include/readline/readline.h:416: error: expected primary- expression before ')' token /usr/include/readline/readline.h:532: error: expected initializer before '*' token /usr/include/readline/readline.h:533: error: expected initializer before '*' token /usr/include/readline/readline.h:555: error: expected initializer before '*' token /usr/include/readline/readline.h:827: error: expected ';' before '*' token /usr/include/readline/readline.h:828: error: expected ';' before '*' token scons: *** [obj/release/d8-readline.o] Error 1 scons: building terminated because of errors. I'm on a gentoo box, I tried an $ emerge readline (which seemed to install readline-5.2_p12-r1 --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
