0 Replies Latest reply: Oct 18, 2013 1:30 AM by 1048364 RSS

    Problem in configure the DBD:pg in unix

    1048364

      When I try to install DBD:pg using below command

       

      perl -MCPAN -e 'install DBD::Pg'

       

      It loaded some files below directory.It asking the path for pg_config

       

      [root@localhost ~]# perl -MCPAN -e 'install DBD::Pg'

      CPAN: Storable loaded ok

      Going to read /root/.cpan/Metadata

        Database was generated on Thu, 17 Oct 2013 03:53:03 GMT

      Running install for module DBD::Pg

      Running make for T/TU/TURNSTEP/DBD-Pg-2.19.3.tar.gz

      CPAN: LWP::UserAgent loaded ok

      Fetching with LWP:

        http://perlmirror.indialinks.com/authors/id/T/TU/TURNSTEP/DBD-Pg-2.19.3.tar.gz

      CPAN: Digest::MD5 loaded ok

      Checksum for /root/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-2.19.3.tar.gz ok

      Scanning cache /root/.cpan/build for sizes

      DBD-Pg-2.19.3/

      DBD-Pg-2.19.3/dbivport.h

      DBD-Pg-2.19.3/META.yml

      DBD-Pg-2.19.3/SIGNATURE

      DBD-Pg-2.19.3/LICENSES/

      DBD-Pg-2.19.3/LICENSES/gpl-2.0.txt

      DBD-Pg-2.19.3/LICENSES/artistic.txt

      DBD-Pg-2.19.3/dbdimp.h

      DBD-Pg-2.19.3/Makefile.PL

      DBD-Pg-2.19.3/README

      DBD-Pg-2.19.3/TODO

      DBD-Pg-2.19.3/t/

      DBD-Pg-2.19.3/t/07copy.t

      DBD-Pg-2.19.3/t/12placeholders.t

      DBD-Pg-2.19.3/t/01connect.t

      DBD-Pg-2.19.3/t/06bytea.t

      DBD-Pg-2.19.3/t/lib/

      DBD-Pg-2.19.3/t/lib/App/

      DBD-Pg-2.19.3/t/lib/App/Info/

      DBD-Pg-2.19.3/t/lib/App/Info/Handler/

      DBD-Pg-2.19.3/t/lib/App/Info/Handler/Prompt.pm

      DBD-Pg-2.19.3/t/lib/App/Info/RDBMS.pm

      DBD-Pg-2.19.3/t/lib/App/Info/Request.pm

      DBD-Pg-2.19.3/t/lib/App/Info/Util.pm

      DBD-Pg-2.19.3/t/lib/App/Info/RDBMS/

      DBD-Pg-2.19.3/t/lib/App/Info/RDBMS/PostgreSQL.pm

      DBD-Pg-2.19.3/t/lib/App/Info/Handler.pm

      DBD-Pg-2.19.3/t/lib/App/Info.pm

      DBD-Pg-2.19.3/t/00_signature.t

      DBD-Pg-2.19.3/t/08async.t

      DBD-Pg-2.19.3/t/dbdpg_test_setup.pl

      DBD-Pg-2.19.3/t/04misc.t

      DBD-Pg-2.19.3/t/20savepoints.t

      DBD-Pg-2.19.3/t/99cleanup.t

      DBD-Pg-2.19.3/t/02attribs.t

      DBD-Pg-2.19.3/t/00basic.t

      DBD-Pg-2.19.3/t/01constants.t

      DBD-Pg-2.19.3/t/03dbmethod.t

      DBD-Pg-2.19.3/t/09arrays.t

      DBD-Pg-2.19.3/t/03smethod.t

      DBD-Pg-2.19.3/README.dev

      DBD-Pg-2.19.3/Pg.xs

      DBD-Pg-2.19.3/quote.h

      DBD-Pg-2.19.3/lib/

      DBD-Pg-2.19.3/lib/Bundle/

      DBD-Pg-2.19.3/lib/Bundle/DBD/

      DBD-Pg-2.19.3/lib/Bundle/DBD/Pg.pm

      DBD-Pg-2.19.3/Pg.pm

      DBD-Pg-2.19.3/Changes

      DBD-Pg-2.19.3/Pg.h

      DBD-Pg-2.19.3/README.win32

      DBD-Pg-2.19.3/testme.tmp.pl

      DBD-Pg-2.19.3/dbdimp.c

      DBD-Pg-2.19.3/quote.c

      DBD-Pg-2.19.3/types.h

      DBD-Pg-2.19.3/.perlcriticrc

      DBD-Pg-2.19.3/win32.mak

      DBD-Pg-2.19.3/types.c

      DBD-Pg-2.19.3/MANIFEST

      DBD-Pg-2.19.3/MANIFEST.SKIP

      Removing previously used /root/.cpan/build/DBD-Pg-2.19.3

       

       

        CPAN.pm: Going to build T/TU/TURNSTEP/DBD-Pg-2.19.3.tar.gz

       

       

      Configuring DBD::Pg 2.19.3

      Path to pg_config?  

       

      But in these PATH .I am not able to find any configuration files .Please help me to resolve this issue

       

      Below are the files and folders for DBD::Pg 2.19.3.

       

      [root@localhost DBD-Pg-2.19.3]# ls

      Changes     LICENSES       Pg.h     README        testme.tmp.pl

      dbdimp.c    Makefile.PL    Pg.pm    README.dev    TODO

      dbdimp.h    MANIFEST       Pg.xs    README.win32  types.c

      dbivport.h  MANIFEST.SKIP  quote.c  SIGNATURE     types.h

      lib         META.yml       quote.h  t             win32.mak