Unsupported DBDs: Browse | Submit New | Admin

[#19674] Sybase dbd does not compile

Date:
2008-04-21 03:54
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Sybase dbd does not compile

Detailed description
I get this while trying to compile dbi 0.2.0. Quite a pity since I was planning to use the Sybase DBD... Can you help
me out ?

ruby setup.rb setup
entering setup phase...
setting #! line to "#!/home/gedmonitor/playground/bin/ruby"
setting #! line to "#!/home/gedmonitor/playground/bin/ruby"
/home/gedmonitor/playground/bin/ruby extconf.rb
creating Makefile
make
gcc -I. -I/home/gedmonitor/playground/lib/ruby/1.8/i686-linux -I/home/gedmonitor/playground/lib/ruby/1.8/i686-linux
-I. -I/usr/local/freetds/include  -fPIC -g -O2  -c dbd_sybase.c
dbd_sybase.c: In function `rh_init':
dbd_sybase.c:216: structure has no member named `column_textvalue'
dbd_sybase.c:217: structure has no member named `column_textsize'
dbd_sybase.c:237: `TDS_NO_MORE_ROWS' undeclared (first use in this function)
dbd_sybase.c:237: (Each undeclared identifier is reported only once
dbd_sybase.c:237: for each function it appears in.)
dbd_sybase.c: In function `tdss_new':
dbd_sybase.c:360: warning: passing arg 1 of `tds_connect' from incompatible pointer type
dbd_sybase.c:360: too few arguments to function `tds_connect'
dbd_sybase.c:360: warning: assignment makes pointer from integer without a cast
dbd_sybase.c: In function `value_as_string':
dbd_sybase.c:398: structure has no member named `column_textvalue'
dbd_sybase.c:398: structure has no member named `column_textvalue'
dbd_sybase.c:398: structure has no member named `column_textvalue'
dbd_sybase.c:398: structure has no member named `column_textvalue'
dbd_sybase.c:398: structure has no member named `column_textvalue'
dbd_sybase.c: In function `process_results':
dbd_sybase.c:422: structure has no member named `msg_info'
dbd_sybase.c:424: structure has no member named `msg_info'
make: *** [dbd_sybase.o] Error 1
setup failed
'system make' failed
try "ruby setup.rb --help" for usage

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-07-26 04:16
Sender: Erik Hollensbe

The Sybase DBD is being removed (along with a few others) in
the next release, and is currently unsupported, as mentioned
in the news articles on the project page.

However, 0.4.0 is coming soon which will make it easier to maintain
DBDs separately. If you wish to fix this and maintain it yourself,
feel free to contact me via the email address on my rubyforge
account.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idClosed2008-07-26 04:22erikh
artifact_group_idDBD2008-07-26 04:22erikh
status_idOpen2008-07-26 04:16erikh
close_date2008-07-26 04:162008-07-26 04:16erikh
resolution_idNone2008-07-26 04:16erikh