[MingRuby-users] Problems compiling 0.1.7 on OSX Tiger

Benjamin Jackson bhjackson at gmail.com
Fri Sep 1 20:32:15 EDT 2006


I've got all my libs installed with darwinports. Here's my output.
Thanks in advance any help,

Ben

******************************

(21:30:07 <~/src/ming-ruby-0.1.7>) 0 $ ruby setup.rb config --
--with-png-dir=/opt/local
---> lib
---> lib/ming
<--- lib/ming
<--- lib
---> ext
---> ext/ming
---> ext/ming/mingc
/usr/local/bin/ruby
/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc/extconf.rb
--with-png-dir=/opt/local
checking for ming.h... yes
checking for ming_config.h... yes
checking for mingpp.h... yes
checking for main() in -lpng... yes
checking for main() in -lungif... yes
checking for main() in -lz... yes
checking for main() in -lming... yes
creating extconf.h
creating Makefile
---> ext/ming/mingc/missing
<--- ext/ming/mingc/missing
<--- ext/ming/mingc
<--- ext/ming
<--- ext
(21:30:28 <~/src/ming-ruby-0.1.7>) 0 $ ruby setup.rb setup
---> lib
---> lib/ming
<--- lib/ming
<--- lib
---> ext
---> ext/ming
---> ext/ming/mingc
make
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c mingc.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfaction.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfbitmap.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfbrowserfont.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfbutton.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfcharacter.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfdisplayitem.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swffill.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swffillstyle.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swffont.c
swffont.c: In function ‘rb_SWFFont_get_string_width’:
swffont.c:69: warning: pointer targets in passing argument 2 of
‘SWFFont_getStringWidth’ differ in signedness
swffont.c: In function ‘rb_SWFFont_get_utf8_string_width’:
swffont.c:80: warning: pointer targets in passing argument 2 of
‘SWFFont_getUTF8StringWidth’ differ in signedness
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfgradient.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfmorph.c
gcc -fno-common -g -O2 -pipe -fno-common  -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin8.7.0
-I/Users/bjackson/src/ming-ruby-0.1.7/ext/ming/mingc -DHAVE_MING_H
-DHAVE_MING_CONFIG_H -DHAVE_MINGPP_H -I/opt/local/include  -c
swfmovie.c
swfmovie.c: In function ‘rb_SWFMovie_output’:
swfmovie.c:231: error: too many arguments to function ‘SWFMovie_output’
swfmovie.c: In function ‘rb_SWFMovie_save’:
swfmovie.c:252: error: too many arguments to function ‘SWFMovie_save’
make: *** [swfmovie.o] Error 1
setup.rb:535:in `command': 'system make ' failed (RuntimeError)
        from setup.rb:543:in `make'
        from setup.rb:1156:in `setup_dir_ext'
        from setup.rb:1321:in `traverse'
        from setup.rb:1338:in `dive_into'
        from setup.rb:1319:in `traverse'
        from setup.rb:1323:in `traverse'
        from setup.rb:1322:in `traverse'
        from setup.rb:1338:in `dive_into'
         ... 8 levels...
        from setup.rb:883:in `exec_setup'
        from setup.rb:710:in `invoke'
        from setup.rb:674:in `invoke'
        from setup.rb:1352


More information about the MingRuby-users mailing list