Interbase driver problems XP

O

Oniram Atila

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 ?
 
J

Jano Svitok

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-talk/126484
 
O

Oniram Atila

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

Jano Svitok

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

Jano said:
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.
 

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

No members online now.

Forum statistics

Threads
474,285
Messages
2,571,416
Members
48,108
Latest member
Virus9283

Latest Threads

Top