Hi! Thanks for your help.
Actually I am using Node, but for some reason ruby-clean-css (https://github.com/joseph/ruby-clean-css) -- which looks like it's specifically made for Node -- requires libv8 as well. I've contacted the author. All the best, O.D. On 29. september 2014 at 1:12 PM, "Edho Arief" wrote:On Mon, Sep 29, 2014 at 9:40 PM, wrote: > Hi, > > Does anybody have experience compiling the Ruby libv8 JavaScript > engine (https://github.com/cowboyd/libv8) on OpenBSD 5.5? > > It says it can't find a supported compiler despite repeated attempts > to point it to `gcc` or `g++` 4.8.2 or 4.6.4 > (https://github.com/cowboyd/libv8#bring-your-own-compiler), either via > the environment variable below or through symlinking: > > % export cxx=/usr/local/bin/eg++ the correct variable is CXX (and make sure to install gmake). Also it's better to just install nodejs if what you need is execjs' javascript runtime. -bash-4.2$ CXX=/usr/local/bin/eg++ GEM_HOME="$HOME/app/rubygems" gem install libv8 Building native extensions. This could take a while... ...a long time with hopefully expected result but I stopped because it's running in a low end box... alternatively, install libv8 package and tell gem installer to use system libv8 library as per documentation: -bash-4.2$ GEM_HOME="$HOME/app/rubygems" gem install libv8 -- --with-system-v8 Fetching: libv8-3.16.14.7.gem (100%) Building native extensions with: '--with-system-v8' This could take a while... Successfully installed libv8-3.16.14.7 Parsing documentation for libv8-3.16.14.7 Installing ri documentation for libv8-3.16.14.7 Done installing documentation for libv8 after 2 seconds 1 gem installed

