[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Interbase driver problems XP

Oniram Atila

3/17/2008 8:52:00 PM

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 ?
--
Posted via http://www.ruby-....

3 Answers

Jano Svitok

3/18/2008 7:43:00 AM

0

On Mon, Mar 17, 2008 at 9:52 PM, Oniram Atila <oniram@gmail.com> wrote:
> 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.

Does this help?
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...

Oniram Atila

3/18/2008 6:56:00 PM

0

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

Jano Svitok wrote:
> On Mon, Mar 17, 2008 at 9:52 PM, Oniram Atila <oniram@gmail.com> 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-t...

--
Posted via http://www.ruby-....

Jano Svitok

3/18/2008 10:07:00 PM

0

On Tue, Mar 18, 2008 at 7:55 PM, Oniram Atila <oniram@gmail.com> wrote:
> in this link he say "I also forgot to set my vcvars32.bat" what this is?
> i=B4m using windows xp
>
> Jano Svitok wrote:
> > On Mon, Mar 17, 2008 at 9:52 PM, Oniram Atila <oniram@gmail.com> wrote=
:
>
> >> Could not create Makefile due to some reason, probably lack of
> >> necessary libraries and/or headers. Check the mkmf.log file for mor=
e
> >> details. You may need configuration options.
> >
> > Does this help?
> > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...

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.