Re: Need some help -- trying ot install Sybperl
"Rob Verschoor" <[email protected]> Fri, 25 May 2007 17:55:48 +0200
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Organization | Sypron B.V. |
| Message-ID | <0e0e01c79ee5$b8efef60$6601a8c0@ZEUS> |
Thanks Michael; it seems I have it working. It's wasn't fully automtic though: both for DBI 1.56 as for DBD::Sybase some of the tests complained although when I ran then individually they were OK -- so I had to do a manual make install. Thanks again for the help! Rob V. ----- Original Message ----- From: <[email protected]> To: <[email protected]> Cc: <[email protected]> Sent: Friday, May 25, 2007 15:53 Subject: Re: Need some help -- trying ot install Sybperl > Mea culpa... Unfortunately there is a missing dependency in DBD::Sybase > 1.08. It requires DBI 1.51 or more recent. > > You can update DBI from the CPAN interface. > > Michael > > > > > Internet > [email protected]@peppler.org - 25.05.2007 15:40 > > Please respond to [email protected] > Sent by: [email protected] > To: sybperl-l > cc: > Subject: Re: Need some help -- trying ot install Sybperl > > 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. > [email protected] > > > > 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 > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > --------------------------------------------- > > Ce message et toutes les pieces jointes (ci-apres le > "message") sont etablis a l'intention exclusive de ses > destinataires et sont confidentiels. Si vous recevez ce > message par erreur, merci de le detruire et d'en avertir > immediatement l'expediteur. Toute utilisation de ce > message non conforme a sa destination, toute diffusion > ou toute publication, totale ou partielle, est interdite, sauf > autorisation expresse. L'internet ne permettant pas > d'assurer l'integrite de ce message, BNP PARIBAS (et ses > filiales) decline(nt) toute responsabilite au titre de ce > message, dans l'hypothese ou il aurait ete modifie. > >