Loading ...
Sorry, an error occurred while loading the content.

[PBML] Re: DBI and DBD installation

Expand Messages
  • Manolo.Marzan@icl.com
    I think so that I installed DBI successfully because this is the instruction given... Writing Makefile for DBI Remember to actually *read* the README file! Use
    Message 1 of 8 , Dec 2, 1999
    • 0 Attachment
      I think so that I installed DBI successfully because this is the instruction
      given...

      Writing Makefile for DBI

      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.

      This is the result of "make test"

      CORRECT> gmake test (y|n|e|a)? yes
      PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
      -I/usr/local/lib/perl5/sun4-solaris/5.00404 -I/usr/local/lib/perl5 -e 'use
      Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
      t/basics............ok
      t/dbidrv............ok
      t/examp.............ok
      t/meta..............ok
      t/proxy.............skipping test on this platform
      t/shell.............skipping test on this platform
      t/subclass..........ok
      All tests successful.
      Files=7, Tests=176, 2 secs ( 1.34 cusr 0.39 csys = 1.73 cpu)
      PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
      -I/usr/local/lib/perl5/sun4-solaris/5.00404 -I/usr/local/lib/perl5 test.pl
      test.pl
      DBI test application $Revision: 10.3 $
      Using /usr/local/lib/perl5/DBI/blib
      Switch: DBI 1.13 by Tim Bunce, 1.13
      Available Drivers: ADO, ExampleP, Proxy
      dbi:ExampleP:: testing 5 sets of 20 connections:
      Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
      Disconnecting...
      Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
      Disconnecting...
      Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
      Disconnecting...
      Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
      Disconnecting...
      Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
      Disconnecting...
      Made 100 connections in 0 secs ( 0.08 usr 0.00 sys = 0.08 cpu)

      Testing handle creation speed...
      5000 NullP statement handles cycled in 2.4 cpu+sys seconds (2040 per sec)

      test.pl done


      This is the result of "gmake install"

      CORRECT>gmake install (y|n|e|a)? yes
      Installing /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBI/DBIXS.h
      Installing /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBI/dbd_xsh.h
      Installing /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBI/dbi_sql.h
      Installing /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBI/Driver.xst
      Installing /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBI/DBI.so
      Installing /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBI/DBI.bs
      Installing /usr/local/lib/perl5/site_perl/./DBI/W32ODBC.pm
      Installing /usr/local/lib/perl5/site_perl/./DBI/Shell.pm
      Installing /usr/local/lib/perl5/site_perl/./DBI/FAQ.pm
      Installing /usr/local/lib/perl5/site_perl/./DBI/ProxyServer.pm
      Installing /usr/local/lib/perl5/site_perl/./DBI/Format.pm
      Installing /usr/local/lib/perl5/site_perl/./DBI/DBD.pm
      Installing /usr/local/lib/perl5/site_perl/./DBD/ExampleP.pm
      Installing /usr/local/lib/perl5/site_perl/./DBD/Proxy.pm
      Installing /usr/local/lib/perl5/site_perl/./DBD/NullP.pm
      Installing /usr/local/lib/perl5/site_perl/./DBD/Sponge.pm
      Installing /usr/local/lib/perl5/site_perl/./DBD/ADO.pm
      Installing /usr/local/lib/perl5/site_perl/./Bundle/DBI.pm
      Installing /usr/local/lib/perl5/site_perl/./Win32/DBIODBC.pm
      Installing /usr/local/lib/perl5/site_perl/./DBI.pm
      Installing /usr/local/man/man1/./dbiproxy.1
      Installing /usr/local/man/man1/./dbish.1
      Installing /usr/local/lib/perl5/man/man3/./DBI::W32ODBC.3
      Installing /usr/local/lib/perl5/man/man3/./DBI::FAQ.3
      Installing /usr/local/lib/perl5/man/man3/./DBI::Shell.3
      Installing /usr/local/lib/perl5/man/man3/./DBI::Format.3
      Installing /usr/local/lib/perl5/man/man3/./DBI::ProxyServer.3
      Installing /usr/local/lib/perl5/man/man3/./Bundle::DBI.3
      Installing /usr/local/lib/perl5/man/man3/./DBI::DBD.3
      Installing /usr/local/lib/perl5/man/man3/./DBI.3
      Installing /usr/local/lib/perl5/man/man3/./Win32::DBIODBC.3
      Installing /usr/local/lib/perl5/man/man3/./DBD::Proxy.3
      Installing /usr/local/lib/perl5/man/man3/./DBD::ADO.3
      Installing /usr/local/bin/./dbiproxy
      Installing /usr/local/bin/./dbish
      Writing /usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI/.packlist
      ## Differing version of ./DBI.pm found. You might like to
      rm /usr/local/lib/perl5/./DBI.pm
      ## Running 'make install UNINST=1' will unlink this file for you.
      Appending installation info to
      /usr/local/lib/perl5/sun4-solaris/5.00404/perllocal.pod
    • Jeff Boes
      ... What you probably need is a line like this: use lib /usr/local/lib/perl5/site_perl ; at the top of your script, before use DBI; ... Jeffery Boes |ferric
      Message 2 of 8 , Dec 2, 1999
      • 0 Attachment
        > -----Original Message-----
        > From: Manolo.Marzan@... [mailto:Manolo.Marzan@...]
        > Sent: Thursday, December 02, 1999 12:51 PM
        > To: perl-beginner@egroups.com
        > Subject: [PBML] Re: DBI and DBD installation
        >
        >
        > I think so that I installed DBI successfully because this is the
        > instruction
        > given...

        What you probably need is a line like this:

        use lib '/usr/local/lib/perl5/site_perl';

        at the top of your script, before

        use DBI;

        ----
        ~~~~~~~~~~~~~|The tusks that clashed in mighty brawls of mastodons are
        |billiard balls./The sword of Charlemagne the Just is
        Jeffery Boes |ferric oxide, known as rust./The grizzly bear whose potent
        jboes@...|hug was feared by all, is now a rug./Great Caesar's bust
        |is on the shelf, and I don't feel so well myself.
        |"On the Vanity of Earthly Greatness", A.Guiterman (1871-1943)
      Your message has been successfully submitted and would be delivered to recipients shortly.