ruby-frontbase doesn't compile on Mac OS X version 10.5

L

lists

Hi,
When trying to compile ruby-frontbase version 1.0.1 on a G5 PPC
machine, I get this:

# gem install ruby-frontbase
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install ruby-frontbase
creating Makefile

make
gcc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/
lib/ruby/1.8/universal-darwin9.0 -I/System/Library/Frameworks/
Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -
I/Library/FrontBase/include -fno-common -arch ppc -arch i386 -Os -pipe
-fno-common -c frontbase.c
frontbase.c:24: error: redefinition of 'struct FBCLob'
frontbase.c:27: error: redefinition of typedef 'FBCLob'
/Library/FrontBase/include/FBCAccess/FBCRow.h:49: error: previous
declaration of 'FBCLob' was here
frontbase.c:29: error: redefinition of typedef 'FBCColumn'
/Library/FrontBase/include/FBCAccess/FBCRow.h:14: error: previous
declaration of 'FBCColumn' was here
frontbase.c:32: error: redefinition of 'union FBCColumn'
frontbase.c:63: error: redefinition of typedef 'FBCRow'
/Library/FrontBase/include/FBCAccess/FBCRow.h:103: error: previous
declaration of 'FBCRow' was here
frontbase.c:24: error: redefinition of 'struct FBCLob'
frontbase.c:27: error: redefinition of typedef 'FBCLob'
/Library/FrontBase/include/FBCAccess/FBCRow.h:49: error: previous
declaration of 'FBCLob' was here
frontbase.c:29: error: redefinition of typedef 'FBCColumn'
/Library/FrontBase/include/FBCAccess/FBCRow.h:14: error: previous
declaration of 'FBCColumn' was here
frontbase.c:32: error: redefinition of 'union FBCColumn'
frontbase.c:63: error: redefinition of typedef 'FBCRow'
/Library/FrontBase/include/FBCAccess/FBCRow.h:103: error: previous
declaration of 'FBCRow' was here
lipo: can't open input file: /var/tmp//ccaAFrao_Out (No such file or
directory)
make: *** [frontbase.o] Error 1


Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ruby-
frontbase-1.0.1 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/ruby-frontbase-1.0.1/
gem_make.out

Does anyone a) how to fix this and/or b) whom I should contact about
getting the gem to work under Leopard?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top