robinst/taglib-ruby — Issue #5: Compilation error at installation
Author: meurkens
Created: 2011-11-05 12:13:16+00:00
State: open

Hi,
Could you help me out with this one?
Thanks!

```
$sudo gem install taglib-ruby
Password:
Building native extensions. This could take a while...
ERROR: Error installing taglib-ruby:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for main() in -lstdc++... yes
checking for main() in -ltag... yes
creating Makefile

make
g++ -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin11.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -DSWIG_TYPE_TABLE=taglib -c taglib_base_wrap.cxx
taglib_base_wrap.cxx: In function ‘VALUE _wrap_File_read_block(int, VALUE*, VALUE)’:
taglib_base_wrap.cxx:2927: error: ‘ulong’ was not declared in this scope
taglib_base_wrap.cxx:2927: error: expected `;' before ‘arg2’
taglib_base_wrap.cxx:2951: error: ‘arg2’ was not declared in this scope
taglib_base_wrap.cxx:2951: error: expected type-specifier before ‘ulong’
taglib_base_wrap.cxx:2951: error: expected `>' before ‘ulong’
taglib_base_wrap.cxx:2951: error: expected `(' before ‘ulong’
taglib_base_wrap.cxx:2951: error: expected primary-expression before ‘>’ token
taglib_base_wrap.cxx:2951: error: expected `)' before ‘;’ token
taglib_base_wrap.cxx:2954: error: ‘arg2’ was not declared in this scope
taglib_base_wrap.cxx: In function ‘VALUE _wrap_File_insert__SWIG_0(int, VALUE*, VALUE)’:
```