# Interbase driver problems XP

**URL:** <https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206>\
**Category:** Ruby\
**Created:** [March 17, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206 "2008-03-17T21:52:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oniram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8797f3/32.png) [@oniram](https://www.ruby-forum.com/u/oniram)\
**Post date:** [March 17, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206/1 "2008-03-17T21:52:09Z")

</div>

I am trying to compile the ruby Interbase module, but failing.

when I try :

ruby extconf.rb, I get the following error:

checking for main() in gdslib.lib… no  
checking for main() in gds.lib… no  
checking for main() in fbclient\_ms.lib… no  
\*\*\* 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.

someone had this problem ?

---

<div class="post-metadata">

**Author:** ![oniram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8797f3/32.png) [@oniram](https://www.ruby-forum.com/u/oniram)\
**Post date:** [March 18, 2008, 8:43am UTC](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206/2 "2008-03-18T08:43:33Z")

</div>

On Mon, Mar 17, 2008 at 9:52 PM, Oniram A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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.

Does this help?  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/126484](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/126484)

---

<div class="post-metadata">

**Author:** ![oniram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8797f3/32.png) [@oniram](https://www.ruby-forum.com/u/oniram)\
**Post date:** [March 18, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206/3 "2008-03-18T19:55:53Z")

</div>

in this link he say “I also forgot to set my vcvars32.bat” what this is?  
iÂ´m using windows xp

Jano S. wrote:

> On Mon, Mar 17, 2008 at 9:52 PM, Oniram A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > 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.
> 
> Does this help?  
> [http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/126484](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/126484)

---

<div class="post-metadata">

**Author:** ![oniram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8797f3/32.png) [@oniram](https://www.ruby-forum.com/u/oniram)\
**Post date:** [March 18, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/interbase-driver-problems-xp/132206/4 "2008-03-18T23:08:10Z")

</div>

On Tue, Mar 18, 2008 at 7:55 PM, Oniram A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Does this help?  
> > [http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/126484](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/126484)

Without any knowledge of Interbase itself:

To successfully compile the extension you’ll need:

1. development enviroment - C compiler, make tool etc. - if you want  
to use the extension with the one-click installer,  
you need either VC6 or mingw. If you don’t have VC6 already, it’s hard  
to obtain. There’s a free VC8 out there, but it won’t work.  
Mingw is free.

2. libraries and headers for interbase - I won’t help you here.

To compile from command line with VC6, there’s a batch file called  
vcvars32.bat that sets the required environment (search paths, include  
paths, etc.).  
So you basically start cmd, run vcvars32 and then you are prepared to  
compile the extension by calling mkmf or whatever is needed.

J.
