I am trying to get DBD::Sybase working on a Windows platform with Activestate perl 5.8. I could not find a PPM module already compiled for the platform that works with Sybase 15.0. All the errors are "Can't find libct". In Sybase 15, the libraries are all renamed to libsybct, libsybdb, libsybblk, and so on.
So I downloaded all of the programs from http://www.perlmonks.org/index.pl?node_id=387070, downloaded DBD::Sybase 1.08, modified the Makefile.PL to reference the new library names and attempted to compile. It's not working (note, this is only part of the error messages):
dbdimp.c(513) : warning C4996: 'sprintf' was declared deprecated
C:\msvs8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf
+'
Message: 'This function or variable may be unsafe. Consider us
+ing sprin
f_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
+ online h
lp for details.'
dbdimp.c(516) : warning C4996: 'sprintf' was declared deprecated
C:\msvs8\VC\INCLUDE\stdio.h(345) : see declaration of 'sprintf
+'
Message: 'This function or variable may be unsafe. Consider us
+ing sprin
f_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
+ online h
lp for details.'
dbdimp.c(694) : warning C4018: '>' : signed/unsigned mismatch
dbdimp.c(746) : error C2065: 'sigset_t' : undeclared identifier
dbdimp.c(746) : error C2146: syntax error : missing ';' before identif
+ier 'set'
dbdimp.c(746) : error C2065: 'set' : undeclared identifier
dbdimp.c(3915) : warning C4244: 'function' : conversion from 'CS_BIGIN
+T' to 'NV
, possible loss of data
dbdimp.c(3920) : warning C4244: 'function' : conversion from 'CS_UBIGI
+NT' to 'N
', possible loss of data
dbdimp.c(4926) : warning C4244: '=' : conversion from 'long' to 'CS_BI
+NARY', po
sible loss of data
NMAKE : fatal error U1077: 'C:\msvs8\VC\BIN\cl.EXE' : return code '0x2
+'
Stop.
Does anyone have this working? Any help or tips?
Thanks
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.