|
|
sybperl-l Archive
Up Prev Next
From: William Bell <william dot m dot bell at gmail dot com>
Subject: Re: Need some help -- trying ot install Sybperl
Date: May 25 2007 10:37PM
I have been following in your footsteps... I removed all instances of
the DBI module from both vendor_perl and site_perl....
I successfully (I think) reinstalled DBI 1.56 - all tests succeeded and
the make install ran to completion....
I then ran perl Makefile.PL for the DBD::Sybase package and it completes
correctly... however when I run make test I get the following
errors.....Any thoughts?
[root@wmblin01 DBD-Sybase-1.08]# make test
gcc -c -I/opt/syblibs_15/OCS-15_0/include
-I/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"
-fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Sybase.c
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'
Sybase.xsi: In function 'XS_DBD__Sybase__db_disconnect':
Sybase.xsi:277: error: invalid lvalue in assignment
Sybase.xsi: In function 'XS_DBD__Sybase__db_DESTROY':
Sybase.xsi:336: error: invalid lvalue in assignment
make: *** [Sybase.o] Error 1
On Fri, 2007-05-25 at 15:40 +0200, Rob Verschoor wrote:
> There seems to be something wrong with today....
> I managed to install Sybase::CTlib correctly with the hitns from Michael,
> so my next attempt is DBD::Sybase. Here I get a compilation error about a
> missing 'my_perl' symbol. I've googled and searched in the mailing list
> archive but I cannot find an answer so far.
>
> In the dialog I chose not to use chained mode, and as recommended to use
> the normal libraries (instead of the threaded ones).
>
> Any hints much appreciated!
>
> Rob V.
> rob@sypron.nl
>
>
>
> cpan[1]> install DBD::Sybase
>
> ...
> ...
>
> Checking if your kit is complete...
> Looks good
> Using DBI 1.32 installed in
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
> Writing Makefile for DBD::Sybase
> Could not read '/root/.cpan/build/DBD-Sybase-1.08-FdCImL/META.yml'.
> Falling back to other methods to determine prerequisites
> 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.0/i386-linux-thread-multi/auto/DBI/Driver.xst
> > Sybase.xsi
> /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
> /usr/lib/perl5/5.8.0/ExtUtils/typemap Sybase.xs > Sybase.xsc && mv
> Sybase.xsc Sybase.c
> gcc -c -I/opt/sybase1501/OCS-15_0/include -DNO_CHAINED_TRAN=1 -I/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
> -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
> -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"
> -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Sybase.c
> In file included from Sybase.h:16,
> from Sybase.xs:14:
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:
> In function `get_dbistate':
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:413:
> `my_perl' undeclared (first use in this function)
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:413:
> (Each undeclared identifier is reported only once
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/DBIXS.h:413:
> for each function it appears in.)
> In file included from Sybase.c:352:
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:
> In function `dbixst_bounce_method':
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:14:
> `my_perl' undeclared (first use in this function)
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:
> In function `dbdxst_bind_params':
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:54:
> `my_perl' undeclared (first use in this function)
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:
> In function `dbdxst_fetchall_arrayref':
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/Driver_xst.h:80:
> `my_perl' undeclared (first use in this function)
> make: *** [Sybase.o] Error 1
> MEWP/DBD-Sybase-1.08.tar.gz
> /usr/bin/make -- NOT OK
>
|