Skip to content

Installation on macOS? #87

@jordan-brough

Description

@jordan-brough

What are the installation requirements for installing this gem on macOS?

I don't have any Firebird apps or libraries installed already on my machine so far. I'd like to keep local installs to a minimum as much as possible. I'm connecting to Firebird on a remote machine via a tunnel.

When I run gem install fb I get fatal error: 'ibase.h' file not found:

gem install fb  
Building native extensions. This could take a while...
ERROR:  Error installing fb:
	ERROR: Failed to build gem native extension.

    current directory: /Users/jordan/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/gems/fb-0.10.0
/Users/jordan/.local/share/mise/installs/ruby/3.4.7/bin/ruby extconf.rb
checking for isc_attach_database() in -lfbclient... no
checking for isc_attach_database() in -lgds... no
creating Makefile

current directory: /Users/jordan/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/gems/fb-0.10.0
make DESTDIR\= sitearchdir\=./.gem.20251120-74558-coro52 sitelibdir\=./.gem.20251120-74558-coro52 clean

current directory: /Users/jordan/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/gems/fb-0.10.0
make DESTDIR\= sitearchdir\=./.gem.20251120-74558-coro52 sitelibdir\=./.gem.20251120-74558-coro52
compiling fb.c
fb.c:41:10: fatal error: 'ibase.h' file not found
   41 | #include <ibase.h>
      |          ^~~~~~~~~
1 error generated.
make: *** [fb.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/jordan/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/gems/fb-0.10.0 for inspection.
Results logged to /Users/jordan/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/extensions/arm64-darwin-24/3.4.0/fb-0.10.0/gem_make.out

Thanks 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions