Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

wants to build for ia32 on ARM #42

@nathansamson

Description

@nathansamson

I am trying to install the gem on a ARM machine (a raspberry PI)
THe system apparenlty thinks that I am running on ia32 and is then complaining it can build for ia32

Installing libv8 (3.11.8.1) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb 
creating Makefile
Using compiler: /usr/bin/g++
In file included from ../src/allocation.h:31:0,
                 from ../src/allocation.cc:28:
../src/globals.h:113:2: error: #error Target architecture ia32 is only supported on ia32 host
make[1]: *** [/home/nathan/integrity/builds/5/.bundle/ruby/1.9.1/gems/libv8-3.11.8.1/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o] Error 1
make: *** [ia32.release] Error 2
GYP_GENERATORS=make \
    build/gyp/gyp --generator-output="out" build/all.gyp \
                  -Ibuild/standalone.gypi --depth=. \
                  -Dv8_target_arch=ia32 \
                  -S.ia32 -Dhost_arch=ia32
make[1]: Entering directory `/home/nathan/integrity/builds/5/.bundle/ruby/1.9.1/gems/libv8-3.11.8.1/vendor/v8/out'
  CXX(target) /home/nathan/integrity/builds/5/.bundle/ruby/1.9.1/gems/libv8-3.11.8.1/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o
make[1]: Leaving directory `/home/nathan/integrity/builds/5/.bundle/ruby/1.9.1/gems/libv8-3.11.8.1/vendor/v8/out'


Gem files will remain installed in /home/nathan/integrity/builds/5/.bundle/ruby/1.9.1/gems/libv8-3.11.8.1 for inspection.
Results logged to /home/nathan/integrity/builds/5/.bundle/ruby/1.9.1/gems/libv8-3.11.8.1/ext/libv8/gem_make.out
An error occurred while installing libv8 (3.11.8.1), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.11.8.1'` succeeds before bundling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions