DBI V 1.58 && Can"t exec "svnversion" under SunOS
DBI V 1.58 && Can"t exec "svnversion" under SunOS
am 03.07.2007 02:48:17 von ron
Hi Tim
278 vusbac001 perl-modules> cd DBI-1.58
279 vusbac001 DBI-1.58> perl Makefile.PL
*** Note:
The optional PlRPC-modules (RPC::PlServer etc) are not installed.
If you want to use the DBD::Proxy driver and DBI::ProxyServer
modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
You can install them any time after installing the DBI.
You do *not* need these modules for typical DBI usage.
Optional modules are available from any CPAN mirror, in particular
http://search.cpan.org/
http://www.perl.com/CPAN/modules/by-module
http://www.perl.org/CPAN/modules/by-module
ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
Your perl was compiled with gcc (version 3.3.2), okay.
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
[snip]
t/zvp_86gofer_fail.t
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
[snip]
t/zvg_86gofer_fail.t
Creating test wrappers for PurePerl & Gofer:
t/zvxgp_01basics.t
[snip
t/zvxgp_86gofer_fail.t
Checking if your kit is complete...
Looks good
I see you're using perl 5.008007 on sun4-solaris, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Writing Makefile for DBI
280 vusbac001 DBI-1.58> make
/usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
/usr/local/bin/perl dbixs_rev.pl
Can't exec "svnversion": No such file or directory at dbixs_rev.pl line 5.
Use of uninitialized value in string eq at dbixs_rev.pl line 8.
Neither current directory nor parent directory are an svn working copy
make: *** [dbixs_rev.h] Error 2
281 vusbac001 DBI-1.58> uname -a
SunOS vusbac001 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-280R
Help!
--
Ron Savage
ron@savage.net.au
Re: DBI V 1.58 && Can"t exec "svnversion" under SunOS
am 04.07.2007 09:49:29 von Martin.Evans
Ron Savage wrote:
> Hi Tim
>
> 278 vusbac001 perl-modules> cd DBI-1.58
> 279 vusbac001 DBI-1.58> perl Makefile.PL
> *** Note:
> The optional PlRPC-modules (RPC::PlServer etc) are not installed.
> If you want to use the DBD::Proxy driver and DBI::ProxyServer
> modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
> Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
> You can install them any time after installing the DBI.
> You do *not* need these modules for typical DBI usage.
>
> Optional modules are available from any CPAN mirror, in particular
> http://search.cpan.org/
> http://www.perl.com/CPAN/modules/by-module
> http://www.perl.org/CPAN/modules/by-module
> ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
>
> Your perl was compiled with gcc (version 3.3.2), okay.
> Creating test wrappers for DBI::PurePerl:
> t/zvp_01basics.t
> [snip]
> t/zvp_86gofer_fail.t
> Creating test wrappers for DBD::Gofer:
> t/zvg_01basics.t
> [snip]
> t/zvg_86gofer_fail.t
> Creating test wrappers for PurePerl & Gofer:
> t/zvxgp_01basics.t
> [snip
> t/zvxgp_86gofer_fail.t
> Checking if your kit is complete...
> Looks good
>
> I see you're using perl 5.008007 on sun4-solaris, okay.
> Remember to actually *read* the README file!
> Use 'make' to build the software (dmake or nmake on Windows).
> Then 'make test' to execute self tests.
> Then 'make install' to install the DBI and then delete this working
> directory before unpacking and building any DBD::* drivers.
>
> Writing Makefile for DBI
> 280 vusbac001 DBI-1.58> make
> /usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
> rm -f blib/lib/DBI/Changes.pm
> cp Changes blib/lib/DBI/Changes.pm
> /usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
> rm -f blib/lib/DBI/Roadmap.pm
> cp Roadmap.pod blib/lib/DBI/Roadmap.pm
> /usr/local/bin/perl dbixs_rev.pl
> Can't exec "svnversion": No such file or directory at dbixs_rev.pl line 5.
> Use of uninitialized value in string eq at dbixs_rev.pl line 8.
> Neither current directory nor parent directory are an svn working copy
> make: *** [dbixs_rev.h] Error 2
> 281 vusbac001 DBI-1.58> uname -a
> SunOS vusbac001 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-280R
>
> Help!
Obviously because you don't have subversion client installed which I'm
surprised you need. Do you have dbixs_rev.h in the untarred DBI tree? I
can see from the Makefile:
dbixs_rev.h: DBIXS.h Driver_xst.h dbipport.h dbivport.h dbixs_rev.pl
$(PERL) dbixs_rev.pl
The dbixs_rev.h which came with my distribution contained:
#define DBIXS_REVISION 9659
Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com
Re: DBI V 1.58 && Can"t exec "svnversion" under SunOS
am 16.07.2007 13:15:27 von Tim.Bunce
On Wed, Jul 04, 2007 at 08:49:29AM +0100, Martin Evans wrote:
> Ron Savage wrote:
> >/usr/local/bin/perl dbixs_rev.pl
> >Can't exec "svnversion": No such file or directory at dbixs_rev.pl line 5.
> >Use of uninitialized value in string eq at dbixs_rev.pl line 8.
> >Neither current directory nor parent directory are an svn working copy
> >make: *** [dbixs_rev.h] Error 2
>
> Obviously because you don't have subversion client installed which I'm
> surprised you need. Do you have dbixs_rev.h in the untarred DBI tree? I
> can see from the Makefile:
>
> dbixs_rev.h: DBIXS.h Driver_xst.h dbipport.h dbivport.h dbixs_rev.pl
> $(PERL) dbixs_rev.pl
>
> The dbixs_rev.h which came with my distribution contained:
>
> #define DBIXS_REVISION 9659
Looks like the timestamps on Ron's files made the make want to
regenerate dbixs_rev.h. My dbixs_rev.pl script stupidly assumed
the svnversion command would be available if the script was run.
I've checked in a new one that should do the right thing:
http://svn.perl.org/modules/dbi/trunk/dbixs_rev.pl
Ron, please try it if you have the time, otherwise just run
touch dbixs_rev.h
Tim [just back from vacation]
Re: DBI V 1.58 && Can"t exec "svnversion" under SunOS
am 17.07.2007 03:20:34 von ron
Hi Tim
> I've checked in a new one that should do the right thing:
> http://svn.perl.org/modules/dbi/trunk/dbixs_rev.pl
Downloads...
518 vusbac001 DBI-1.58> make
/usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/local/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
/usr/local/bin/perl dbixs_rev.pl
Skipping regeneration of dbixs_rev.h
....
Looks good to me.
$many x $thanx;
> Tim [just back from vacation]
I'm not envious - mine starts at 3 pm today :-).
--
Ron Savage
ron@savage.net.au
http://savage.net.au/