# Build sybase adapter on winxp with eclipse/cdt

**URL:** <https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395>\
**Category:** Rails\
**Created:** [November 9, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395 "2006-11-09T17:35:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [November 9, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/1 "2006-11-09T17:35:23Z")

</div>

Hi folks,

I try to get the sybase adapter installed. I downloaded the  
sybase-ctlib from here: [http://raa.ruby-lang.org/project/sybase-ctlib](http://raa.ruby-lang.org/project/sybase-ctlib)  
and now want to build the stuff on my winxp machine somehow. I decided  
to eclipse/cdt and downloaded mingw32-make, gdp and gcc.

I created a new project and imported the sybase-ctlib sources. With the  
extconf.rb I created the makefile and after cleaning up some of the  
windows-specific paths I run “mingw32-make all”.

When running mingw32-make I get this error:  
mingw32-make all  
makefile:123: \*\*\* target pattern contains no `%'. Stop.

The affected lines:  
117 site-install: site-install-so site-install-rb  
118 site-install-so: install-so  
119 site-install-rb: install-rb  
120  
121 .SUFFIXES: .c .m .cc .cxx .cpp .obj  
122  
123 {$(srcdir)}.cc{}.obj:  
124 $(CXX) $(INCFLAGS) $(CXXFLAGS) $(CPPFLAGS) -c -Tp$(\<:=/)  
[…] lots more off this stuff

I try to help myself reading the make manual, but I want to get the  
sybase adapter running and not to become c/make expert ☹

Has anybody experienced this problem? Is there a good tutorial  
available on how to set up this lib on windows using eclipse/cdt (I  
found one using visual studio, which I don´t have)?

Thanks for any hint!

Regard,

Christian

---

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [November 9, 2006, 9:03pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/2 "2006-11-09T21:03:37Z")

</div>

sorry i can’t help with your error but i can offer the binaries.

What version of SybaseAse are you using? I have 12.5 and 15.

---

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [November 9, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/3 "2006-11-09T22:46:39Z")

</div>

Jeremy Burks schrieb:

> sorry i can’t help with your error but i can offer the binaries.
> 
> What version of SybaseAse are you using? I have 12.5 and 15.  
> That would be great! Do you have both? I need then for ASE 12.5. But I  
> would be glad if you could provide the files for ASE 15.0 as well. Can  
> you provide a download link or do you want to send them per mail?

Thanks in advance!

Regards,

Christian

---

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [November 9, 2006, 11:51pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/4 "2006-11-09T23:51:10Z")

</div>

Here is a zip that contains the combinations:

SybaseAse 12.5 / [VS.Net](http://VS.Net) 2003  
SybaseAse 15 / [VS.Net](http://VS.Net) 2003  
SybaseAse 12.5 / [VS.Net](http://VS.Net) 2005  
SybaseAse 15 / [VS.Net](http://VS.Net) 2005

[http://runnerskingdom.com/sybase-ctlib-bin.zip](http://runnerskingdom.com/sybase-ctlib-bin.zip)

---

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [November 10, 2006, 9:54am UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/5 "2006-11-10T09:54:11Z")

</div>

Jeremy Burks wrote:

> Here is a zip that contains the combinations:
> 
> SybaseAse 12.5 / [VS.Net](http://VS.Net) 2003  
> SybaseAse 15 / [VS.Net](http://VS.Net) 2003  
> SybaseAse 12.5 / [VS.Net](http://VS.Net) 2005  
> SybaseAse 15 / [VS.Net](http://VS.Net) 2005
> 
> [http://runnerskingdom.com/sybase-ctlib-bin.zip](http://runnerskingdom.com/sybase-ctlib-bin.zip)

Perfect! It works! Thanks a lot!

Christian

P.S. When the binaries are portable so easily, why does anybody has to  
build them themselfes. Would be nice, if somebody would provide them  
officially.

---

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [November 24, 2006, 2:01pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/6 "2006-11-24T14:01:50Z")

</div>

Hello,

I have only one ruby installation, I install the sybase adapter and try  
the isql.rb and other stuff directly from irb and it works.

However, if I tried under RadRails I can neither open the database or  
if I try using the RadRails console the require “sybsql” answers  
“false”.

Does anybody has an idea ?

---

<div class="post-metadata">

**Author:** ![cschlaefcke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7c8e57/32.png) [@cschlaefcke](https://www.ruby-forum.com/u/cschlaefcke)\
**Post date:** [August 10, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/build-sybase-adapter-on-winxp-with-eclipse-cdt/75395/7 "2007-08-10T17:55:03Z")

</div>

Jeremy,

Are you the author of these binaries?

Can you have a look at my error -  
[http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/6bcff034a6d7466d](http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/6bcff034a6d7466d)

Thank you!

Andrey

On Nov 9 2006, 6:51 pm, Jeremy Burks \<rails-mailing-l…@andreas-
