Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created December 4, 2009 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/249257 to your computer and use it in GitHub Desktop.
Save luislavena/249257 to your computer and use it in GitHub Desktop.
luis@seyori ~/projects/oss/ffi[master]$ rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.1
(in /Users/luis/projects/oss/ffi)
mkdir -p build/i386-mswin32/ffi_c/1.8.6
cp /Users/luis/.rake-compiler/ruby/ruby-1.8.6-p368/lib/ruby/1.8/i386-mingw32/rbconfig.rb build/i386-mswin32/ffi_c/1.8.6/rbconfig.rb
cp /Users/luis/.rake-compiler/ruby/ruby-1.8.6-p368/lib/ruby/1.8/mkmf.rb build/i386-mswin32/ffi_c/1.8.6/mkmf.rb
cd build/i386-mswin32/ffi_c/1.8.6
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I. -rfake /Users/luis/projects/oss/ffi/ext/ffi_c/extconf.rb
checking for rb_thread_blocking_region()... no
creating extconf.h
creating Makefile
cd -
cd build/i386-mswin32/ffi_c/1.8.6
make
Configuring libffi
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
libtool: line 341: cygpath: command not found
cd /Users/luis/projects/oss/ffi/build/i386-mswin32/ffi_c/1.8.6/libffi && make
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /Users/luis/projects/oss/ffi/ext/ffi_c/libffi/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "AR=i386-mingw32-ar" "AS=as" "CC=i386-mingw32-gcc" "CXX=i386-mingw32-g++" "LD=ld" "NM=" "RANLIB=i386-mingw32-ranlib" "DESTDIR=" all-recursive
Making all in include
/bin/sh: line 0: cd: include: No such file or directory
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [/Users/luis/projects/oss/ffi/build/i386-mswin32/ffi_c/1.8.6/libffi/.libs/libffi_convenience.a] Error 2
rake aborted!
Command failed with status (2): [make...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment