Hi all, I'm getting warnings when I'm installing th DBD::Sybase module. Here are the details of that.

station295:/tmp/DBD-Sybase-1.10 # perl Makefile.PL Unknown Client Library version - assuming FreeTDS. By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where av +ailable) when 'AutoCommit' is turned off. Versions 1.04 and older instead manag +ed the transactions explicitly with a 'BEGIN TRAN' before the first DML statement. Using the 'CHAINED' mode is preferable as it is the way tha +t Sybase implements AutoCommit handling for both its ODBC and JDBC drive +rs. Use 'CHAINED' mode by default (Y/N) [Y]: Running in threaded mode - looking for _r libraries... ***NOTE*** There is an incompatibility between perl (5.8.x) built in threaded mod +e and Sybase's threaded libraries, which means that signals delivered to the + perl process result in a segment violation. I suggest building DBD::Sybase with the normal libraries in this case +to get reasonable behavior for signal handling. Use the threaded (lib..._r) libraries [N]: OK - I'll use the normal libs Running in 64bit mode - looking for '64' libraries... BLK api NOT available. The DBD::Sybase module need access to a Sybase server to run the tests +. To clear an entry please enter 'undef' Sybase server to use (default: SYBASE): 192.168.2.95 User ID to log in to Sybase (default: sa): root Password (default: undef): Sybase database to use on 192.168.2.95 (default: undef): alerts * Writing login information, including password, to file PWD. Note (probably harmless): No library found for -lcs Note (probably harmless): No library found for -lsybtcl Note (probably harmless): No library found for -lcomn Note (probably harmless): No library found for -lintl Note (probably harmless): No library found for -lblk Using DBI 1.50 (for perl 5.008008 on x86_64-linux-thread-multi) instal +led in /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/aut +o/DBI/ Writing Makefile for DBD::Sybase station295:/tmp/DBD-Sybase-1.10 # make cp dbd-sybase.pod blib/lib/DBD/dbd-sybase.pod cp Sybase.pm blib/lib/DBD/Sybase.pm /usr/bin/perl -p -e "s/~DRIVER~/Sybase/g" /usr/lib/perl5/vendor_perl/5 +.8.8/x86_64-linux-thread-multi/auto/DBI//Driver.xst > Sybase.xsi /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/ +perl5/5.8.8/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv Sybase.xsc + Sybase.c cc -c -I/usr/local/include -DSYB_LP64 -DNO_BLK=1 -I/usr/lib/perl5/ven +dor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU +_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -W +declaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6 +4 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe - +DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" -fPIC "-I/usr/lib/perl5/5.8.8 +/x86_64-linux-thread-multi/CORE" Sybase.c In file included from /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-th +read-multi/auto/DBI/DBIXS.h:31, from Sybase.h:16, from Sybase.xs:14: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/db +ipport.h:227:1: warning: "PERL_UNUSED_DECL" redefined In file included from /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-th +read-multi/auto/DBI/DBIXS.h:19, from Sybase.h:16, from Sybase.xs:14: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:163:1: warn +ing: this is the location of the previous definition Sybase.c: In function âXS_DBD__Sybase__db__isdeadâ: Sybase.c:103: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__db__date_fmtâ: Sybase.c:121: warning: unused variable âixâ Sybase.xs: In function âXS_DBD__Sybase__db_pingâ: Sybase.xs:83: warning: implicit declaration of function âsyb_pingâ Sybase.xs: In function âXS_DBD__Sybase__st_cancelâ: Sybase.xs:95: warning: implicit declaration of function âsyb_st_cancel +â Sybase.c:157: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_get_dataâ: Sybase.c:175: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_data_infoâ: Sybase.c:205: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_send_dataâ: Sybase.c:240: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_prepare_sendâ: Sybase.c:260: warning: unused variable âixâ Sybase.c: In function âXS_DBD__Sybase__st_ct_finish_sendâ: Sybase.c:278: warning: unused variable âixâ In file included from Sybase.c:366: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h: In function âdbixst_bounce_methodâ: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h:14: error: âmy_perlâ undeclared (first use in this functio +n) /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h:14: error: (Each undeclared identifier is reported only on +ce /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h:14: error: for each function it appears in.) /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h: In function âdbdxst_bind_paramsâ: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h:57: error: âmy_perlâ undeclared (first use in this functio +n) /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h: In function âdbdxst_fetchall_arrayrefâ: /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/Dr +iver_xst.h:78: error: âmy_perlâ undeclared (first use in this functio +n) make: *** [Sybase.o] Error 1 station295:/tmp/DBD-Sybase-1.10 # uname -a Linux station295 2.6.16.60-0.21-default #1 Tue May 6 12:41:02 UTC 2008 + x86_64 x86_64 x86_64 GNU/Linux

and I'm using FrreTDS for this. Please give me some suggestions.

Thank you,

In reply to DBD::Sybase make problem by ashok.g

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.