Skip to content

Instantly share code, notes, and snippets.

@vertiginous
Created February 25, 2011 16:45
Show Gist options
  • Save vertiginous/844063 to your computer and use it in GitHub Desktop.
Save vertiginous/844063 to your computer and use it in GitHub Desktop.
compile errors
C:\Users\gthiesfeld\Work\repo\rubyinstaller>rake interpreter:shoes:compile
(in C:/Users/gthiesfeld/Work/repo/rubyinstaller)
Temporarily enhancing PATH to include DevKit...
cd C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes
rake -t
(in C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes)
The system cannot find the path specified.
cp platform/msw/shoes.ico shoes/appwin32.ico
** Invoke default (first_time)
** Invoke build (first_time)
** Invoke build_os (first_time)
** Invoke buildenv_linux (first_time)
** Execute buildenv_linux
rm -rf dist
mkdir -p dist
** Invoke build_skel (first_time)
** Execute build_skel
** Invoke dist/shoes (first_time)
** Invoke dist/libshoes.dll (first_time)
** Invoke shoes/version.h (first_time)
** Execute shoes/version.h
** Invoke shoes/app.o (first_time)
** Invoke shoes/app.c (first_time, not_needed)
** Invoke shoes/app.h (first_time, not_needed)
** Invoke shoes/appwin32.h (first_time, not_needed)
** Invoke shoes/canvas.h (first_time, not_needed)
** Invoke shoes/code.h (first_time, not_needed)
** Invoke shoes/config.h (first_time, not_needed)
** Invoke shoes/effects.h (first_time, not_needed)
** Invoke shoes/http.h (first_time, not_needed)
** Invoke shoes/internal.h (first_time, not_needed)
** Invoke shoes/native.h (first_time, not_needed)
** Invoke shoes/ruby.h (first_time, not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (first_time, not_needed)
** Execute shoes/app.o
gcc -I. -c -oshoes/app.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../mingw/in
lude/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-mingw32
IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/i
clude/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHAVE_B
OLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/app.c
** Invoke shoes/canvas.o (first_time)
** Invoke shoes/canvas.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/canvas.o
gcc -I. -c -oshoes/canvas.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../mingw
include/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-mingw
2 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p13
/include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHAV
_BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/canvas.c
shoes/canvas.c: In function 'shoes_canvas_snapshot':
shoes/canvas.c:1424:17: warning: unused variable 'waz_cr'
** Invoke shoes/effects.o (first_time)
** Invoke shoes/effects.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/effects.o
gcc -I. -c -oshoes/effects.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../ming
/include/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-ming
32 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p1
6/include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHA
E_BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/effects.c
** Invoke shoes/image.o (first_time)
** Invoke shoes/image.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/image.o
gcc -I. -c -oshoes/image.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../mingw/
nclude/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-mingw3
-IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136
include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHAVE
BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/image.c
** Invoke shoes/internal.o (first_time)
** Invoke shoes/internal.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/internal.o
gcc -I. -c -oshoes/internal.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../min
w/include/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-min
w32 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p
36/include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DH
VE_BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/internal.c
** Invoke shoes/ruby.o (first_time)
** Invoke shoes/ruby.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/ruby.o
gcc -I. -c -oshoes/ruby.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../mingw/i
clude/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-mingw32
-IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/
nclude/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHAVE_
OOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/ruby.c
** Invoke shoes/world.o (first_time)
** Invoke shoes/world.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/world.o
gcc -I. -c -oshoes/world.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../mingw/
nclude/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-mingw3
-IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136
include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHAVE
BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/world.c
** Invoke shoes/native/windows.o (first_time)
** Invoke shoes/native/windows.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/native/windows.o
gcc -I. -c -oshoes/native/windows.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I
./mingw/include/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i3
6-mingw32 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1
9.2-p136/include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD
H -DHAVE_BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/native/windo
s.c
** Invoke shoes/http/winhttp.o (first_time)
** Invoke shoes/http/winhttp.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/http/winhttp.o
gcc -I. -c -oshoes/http/winhttp.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I..
mingw/include/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386
mingw32 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9
2-p136/include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H
-DHAVE_BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/http/winhttp.c
** Invoke shoes/http/windownload.o (first_time)
** Invoke shoes/http/windownload.c (first_time, not_needed)
** Invoke shoes/app.h (not_needed)
** Invoke shoes/appwin32.h (not_needed)
** Invoke shoes/canvas.h (not_needed)
** Invoke shoes/code.h (not_needed)
** Invoke shoes/config.h (not_needed)
** Invoke shoes/effects.h (not_needed)
** Invoke shoes/http.h (not_needed)
** Invoke shoes/internal.h (not_needed)
** Invoke shoes/native.h (not_needed)
** Invoke shoes/ruby.h (not_needed)
** Invoke shoes/version.h
** Invoke shoes/world.h (not_needed)
** Execute shoes/http/windownload.o
gcc -I. -c -oshoes/http/windownload.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include
I../mingw/include/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/
386-mingw32 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby
1.9.2-p136/include/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DX
D_H -DHAVE_BOOLEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS shoes/http/windo
nload.c
shoes/http/windownload.c: In function 'shoes_download':
shoes/http/windownload.c:22:26: warning: unused variable '_body'
** Execute dist/libshoes.dll
gcc -o dist/libshoes.dll shoes/app.o shoes/canvas.o shoes/effects.o shoes/image.o shoes/internal.o shoes/ruby.o shoes/w
rld.o shoes/native/windows.o shoes/http/winhttp.o shoes/http/windownload.o -DBUILD_DLL -lungif -ljpeg -lglib-2.0 -lgob
ect-2.0 -lgio-2.0 -lgmodule-2.0 -lgthread-2.0 -fPIC -shared -lshell32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lcomctl32
-lole32 -loleaut32 -ladvapi32 -loleacc -lwinhttp -lmsvcrt-ruby191 -lcairo -lpangocairo-1.0 -lungif -LC:/Users/gthiesfel
/.pik/rubies/Ruby-1.9.2-p136/lib -L../mingw/lib -lcairo -lpangocairo-1.0 -lpango-1.0 -lpangoft2-1.0 -lpangowin32-1.0
Info: resolving _rb_mKernel by linking to __imp__rb_mKernel (auto-import)
Info: resolving _rb_cUnboundMethod by linking to __imp__rb_cUnboundMethod (auto-import)
Info: resolving _rb_cObject by linking to __imp__rb_cObject (auto-import)
Info: resolving _rb_cHash by linking to __imp__rb_cHash (auto-import)
Info: resolving _rb_eArgError by linking to __imp__rb_eArgError (auto-import)
Info: resolving _rb_cProc by linking to __imp__rb_cProc (auto-import)
Info: resolving _rb_cFile by linking to __imp__rb_cFile (auto-import)
Info: resolving _rb_cFloat by linking to __imp__rb_cFloat (auto-import)
Info: resolving _rb_cArray by linking to __imp__rb_cArray (auto-import)
Info: resolving _rb_eNoMethodError by linking to __imp__rb_eNoMethodError (auto-import)
Info: resolving _rb_cString by linking to __imp__rb_cString (auto-import)
Info: resolving _rb_cRange by linking to __imp__rb_cRange (auto-import)
Info: resolving _rb_cTime by linking to __imp__rb_cTime (auto-import)
Info: resolving _rb_eStandardError by linking to __imp__rb_eStandardError (auto-import)
Info: resolving _rb_mComparable by linking to __imp__rb_mComparable (auto-import)
Info: resolving _rb_eException by linking to __imp__rb_eException (auto-import)
c:/users/gthiesfeld/work/repo/rubyinstaller/sandbox/devkit/mingw/bin/../lib/gcc/mingw32/4.5.1/../../../../mingw32/bin/l
.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
** Invoke bin/main.o (first_time)
** Invoke bin/main.c (first_time, not_needed)
** Execute bin/main.o
gcc -I. -c -obin/main.o -Wall -I/usr/include -I../mingw/include/glib-2.0 -I../mingw/lib/glib-2.0/include -I../mingw/inc
ude/cairo -I../mingw/include/pango-1.0 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/i386-mingw32 -
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/include/ruby-1.9.1 -IC:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/in
lude/ruby-1.9.1/i386-mingw32 -O -DRUBY_1_9 -I. -I../mingw/include -I../mingw/include/ruby-1.9.1/ruby -DXMD_H -DHAVE_BO
LEAN -DSHOES_WIN32 -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500 -DWINVER=0x0500 -DCOBJMACROS bin/main.c
bin/main.c: In function 'WinMain':
bin/main.c:42:3: warning: implicit declaration of function 'rb_w32_sysinit'
** Invoke shoes/appwin32.o (first_time, not_needed)
** Invoke shoes/appwin32.rc (first_time, not_needed)
** Execute dist/shoes
rm -f dist/shoes
gcc -Ldist -o dist/shoes bin/main.o shoes/appwin32.o -lmsvcrt-ruby191 -lcairo -lpangocairo-1.0 -lungif -LC:/Users/gthie
feld/.pik/rubies/Ruby-1.9.2-p136/lib -L../mingw/lib -lcairo -lpangocairo-1.0 -lpango-1.0 -lpangoft2-1.0 -lpangowin32-1.
-lshoes -L. -mwindows
echo 'cd "$OLDPWD"'
'cd "$OLDPWD"'
echo 'LD_LIBRARY_PATH=$APPPATH $APPPATH/shoes "$@"' >> dist/shoes
chmod 755 dist/shoes
cp platform/msw/shoes.exe.manifest dist/shoes.exe.manifest
** Execute build_os
** Invoke dist/VERSION.txt (first_time)
** Execute dist/VERSION.txt
** Execute build
mkdir -p dist/ruby
cp -r ../ruby19_mingw/lib/ruby/1.9.1 dist/ruby/lib
rm -rf dist/ruby/lib/soap
rm -rf dist/ruby/lib/wsdl
rm -rf dist/ruby/lib/xsd
cp -r req/ftsearch/lib/ftsearch dist/ruby/lib
cd req/binject/ext/binject_c
ruby extconf.rb && make
checking for main() in -lz... no
creating Makefile
cd -
cd req/ftsearch/ext/ftsearchrt
ruby extconf.rb && make
creating Makefile
cd -
cp -r req/ftsearch/ext/ftsearchrt/ftsearchrt.so dist/ruby/lib/i386-mingw32
cd req/bloopsaphone/ext/bloops
ruby extconf.rb && make
checking for main() in -lportaudio... no
creating Makefile
cd -
cd req/chipmunk/ext/chipmunk
ruby extconf.rb && make
creating Makefile
cd -
mkdir -p dist/ruby/gems/1.9.1/specifications
mkdir -p dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib
cp -r req/hpricot/lib/hpricot dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib
cp -r req/hpricot/lib/hpricot.rb dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib
mkdir -p dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib
cd req/hpricot/ext/fast_xs
ruby extconf.rb && make
checking for stdio.h... yes
creating Makefile
cd -
cd req/hpricot/ext/hpricot_scan
ruby extconf.rb && make
checking for main() in -lc... no
creating Makefile
cd -
cp req/hpricot/gemspec dist/ruby/gems/1.9.1/specifications/hpricot-0.8.1.gemspec
mkdir -p dist/ruby/gems/1.9.1/specifications
mkdir -p dist/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib
cp -r req/json/lib/json dist/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib
cp -r req/json/lib/json.rb dist/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib
mkdir -p dist/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/ext
cd req/json/ext/generator
ruby extconf.rb && make
creating Makefile
cd -
cd req/json/ext/parser
ruby extconf.rb && make
creating Makefile
cd -
cp req/json/gemspec dist/ruby/gems/1.9.1/specifications/json-shoes-1.1.3.gemspec
mkdir -p dist/ruby/gems/1.9.1/specifications
mkdir -p dist/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib
cp -r req/sqlite3/lib/sqlite3 dist/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib
cp -r req/sqlite3/lib/sqlite3.rb dist/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib
mkdir -p dist/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib
cd req/sqlite3/ext/sqlite3
ruby extconf.rb && make
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sqlite3-devel'
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/bin/ruby
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
rake aborted!
Command failed with status (1): [ruby extconf.rb && make...]
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:995:in `block in sh'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/make/mingw/tasks.rb:12:in `block in copy_ext'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:121:in `chdir'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/fileutils.rb:121:in `cd'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1094:in `cd'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/make/mingw/tasks.rb:11:in `copy_ext'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/make/make.rb:73:in `block (2 levels) in common_build'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1277:in `each'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1277:in `each'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/make/make.rb:73:in `block in common_build'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/make/make.rb:67:in `each'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/make/make.rb:67:in `common_build'
C:/Users/gthiesfeld/Work/repo/rubyinstaller/sandbox/shoes/Rakefile:100:in `block in <top (required)>'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:636:in `call'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:636:in `block in execut
'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:631:in `each'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:597:in `block in invoke
with_call_chain'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_cal
_chain'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:607:in `block in invoke
prerequisites'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:604:in `each'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequi
ites'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:596:in `block in invoke
with_call_chain'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_cal
_chain'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029:in `block (2 level
) in top_level'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2029:in `block in top_l
vel'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excep
ion_handling'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2001:in `block in run'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excep
ion_handling'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin/rake:31:in `<top (required)>'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/bin/rake:19:in `load'
C:/Users/gthiesfeld/.pik/rubies/Ruby-1.9.2-p136/bin/rake:19:in `<main>'
rake aborted!
Command failed with status (1): [rake -t...]
(See full trace by running task with --trace)
diff --git a/make/mingw/env.rb b/make/mingw/env.rb
index 68e19fb..412603e 100644
--- a/make/mingw/env.rb
+++ b/make/mingw/env.rb
@@ -66,4 +66,4 @@ cp APP['icons']['win32'], "shoes/appwin32.ico"
LINUX_LIBS = LINUX_LIB_NAMES.map { |x| "-l#{x}" }.join(' ')
-LINUX_LIBS << " -L#{Config::CONFIG['libdir']} #{CAIRO_LIB} #{PANGO_LIB} #{VLC_LIB}"
+LINUX_LIBS << " -L#{Config::CONFIG['libdir']} -L../mingw/lib #{CAIRO_LIB} #{PANGO_LIB} #{VLC_LIB}"
diff --git a/make/mingw/tasks.rb b/make/mingw/tasks.rb
index fa3e57f..0166b20 100644
--- a/make/mingw/tasks.rb
+++ b/make/mingw/tasks.rb
@@ -6,15 +6,11 @@ class MakeMinGW
extend Make
class << self
- # Execute shell calls through bash if we are compiling with mingw. This breaks us
- # out of the windows command shell if we are compiling from there.
- def sh(*args)
- cmd = args.join(' ')
- super "bash.exe --login -i -c \"cd #{File.expand_path(File.join(__FILE__, "..", "..", ".."))};#{cmd}\""
- end
def copy_ext xdir, libdir
- sh "cd #{xdir};ruby extconf.rb; make"
+ cd xdir do
+ sh "ruby extconf.rb && make"
+ end
copy_files "#{xdir}/*.so", libdir
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment