Re: Compliation of DBD::Pg fails
David Christensen <[email protected]> Tue, 26 Apr 2016 09:59:29 -0500
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
What architecture are you building under, and what Make version? = Something seems a little off in your build environment. > On Apr 25, 2016, at 5:50 AM, Philipp Reichmuth <[email protected]> = wrote: >=20 > Hi >=20 > I continued to try to install DBD::Pg and fixed a couple of = dependencies issues, but now I am getting an error message not telling = me anything. Can anyone help please. >=20 > [~] # perl -MCPAN -e 'install DBD::Pg' > Reading '/share/CACHEDEV1_DATA/.cpan/Metadata' > Database was generated on Mon, 25 Apr 2016 07:41:02 GMT > Running install for module 'DBD::Pg' > Checksum for = /share/CACHEDEV1_DATA/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.3.= tar.gz ok > Configuring T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz with Makefile.PL > Configuring DBD::Pg 3.5.3 > PostgreSQL version: 90404 (default port: 5432) > POSTGRES_HOME: (not set) > POSTGRES_INCLUDE: /share/CACHEDEV1_DATA/.qpkg/Entware-ng/include > POSTGRES_LIB: /share/CACHEDEV1_DATA/.qpkg/Entware-ng/lib > OS: linux > Checking if your kit is complete... > Looks good > Using DBI 1.634 (for perl 5.022001 on x86_64-linux-glibc) installed in = /opt/lib/perl5/5.22/auto/DBI/ > Generating a Unix-style Makefile > Writing Makefile for DBD::Pg > Writing MYMETA.yml and MYMETA.json > TURNSTEP/DBD-Pg-3.5.3.tar.gz > /share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/perl5.22.1 Makefile.PL -- = OK > Running make for T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz > cp Pg.pm blib/lib/DBD/Pg.pm > cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm > Running Mkbootstrap for Pg () > chmod 644 "Pg.bs" > "/share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/perl5.22.1" = -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs = blib/arch/auto/DBD/Pg/Pg.bs 644 > make: *** No rule to make target = '/opt/lib/perl5/5.22/auto/DBI/Driver_xst.h', needed by 'Pg.xsi'. Stop. > TURNSTEP/DBD-Pg-3.5.3.tar.gz > /opt/bin/make -- NOT OK > [~] #=20 >=20 > If this is successful, I will publish the solution to install it on my = webpage wiki.makeitfit.ch. >=20 > Regards > Philipp >=20 >=20 >> Am 15.04.2016 um 12:39 schrieb Philipp Reichmuth = <[email protected]>: >>=20 >> Dear all >>=20 >> I am tring to get PostgreSQL together with some web server = applications like DAViCal running on my NAS QNAP TS-251+. Therefore I = need the perl module DBD::Pg. >>=20 >> I have installed perl 5.22.1 for x86_64-linux-glibc and a whole range = of moduls for PorstgreSQL etc. (complete list see at the end). >>=20 >> The installation was all running through sucessfull for YAML, but not = for DBD::PG >>=20 >> When I try to install DBD::Pg, I get following feedback and error = message: >>> cpan[1]> install DBD::Pg = =20 >>> Reading '/share/CACHEDEV1_DATA/.cpan/Metadata' = Database was generated on Thu, 14 = Apr 2016 16:53:55 GMT = Running install for module 'DBD::Pg' = =20 >>> Checksum for = /share/CACHEDEV1_DATA/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.3.= tar.gz ok =20 >>> Scanning cache /share/CACHEDEV1_DATA/.cpan/build for sizes = = ..........................................................................= ..DONE =20 >>> Configuring T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz with Makefile.PL = Configuring DBD::Pg 3.5.3 = =20 >>> PostgreSQL version: 90404 (default port: 5432) = POSTGRES_HOME: (not set) = = POSTGRES_INCLUDE: /share/CACHEDEV1_DATA/.qpkg/Entware-ng/include = POSTGRES_LIB: = /share/CACHEDEV1_DATA/.qpkg/Entware-ng/lib = OS: linux = =20 >>> Checking if your kit is complete... = =20 >>> Looks good = =20 >>> Using DBI 1.634 (for perl 5.022001 on x86_64-linux-glibc) installed = in /opt/lib/perl5/5.22/auto/DBI/ Generating a Unix-style Makefile = = Writing Makefile for DBD::Pg = =20 >>> Writing MYMETA.yml and MYMETA.json = TURNSTEP/DBD-Pg-3.5.3.tar.gz = = /share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/perl5.22.1 Makefile.PL -- OK = Running make for = T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz = cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm = cp Pg.pm = blib/lib/DBD/Pg.pm = =20 >>> Running Mkbootstrap for DBD::Pg () = =20 >>> chmod 644 "Pg.bs" = =20 >>> make: *** No rule to make target = '/opt/lib/perl5/5.22/auto/DBI/Driver_xst.h', needed by 'Pg.xsi'. Stop. = TURNSTEP/DBD-Pg-3.5.3.tar.gz = /opt/bin/make -- NOT OK = =20 >>> Failed during this command: = TURNSTEP/DBD-Pg-3.5.3.tar.gz = : make NO=20 >>=20 >> I also tryied the Bundle::DBD::Pg what resultat also in a failure: >>> [/] # perl -MCPAN -e 'install Bundle::DBD::Pg' = Reading = '/share/CACHEDEV1_DATA/.cpan/Metadata' = Database was generated on Thu, 14 Apr 2016 = 16:53:55 GMT Checksum = for = /share/CACHEDEV1_DATA/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.3.= tar.gz ok =20 >>> DBI is up to date (1.634). = =20 >>> Running install for module 'DBD::Pg' = TURNSTEP/DBD-Pg-3.5.3.tar.gz = =20= >>> Has already been unwrapped into directory = /share/CACHEDEV1_DATA/.cpan/build/DBD-Pg-3.5.3-Wb5kTe =20 >>> Configuring T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz with Makefile.PL = Configuring DBD::Pg 3.5.3 = =20 >>> PostgreSQL version: 90404 (default port: 5432) = POSTGRES_HOME: (not set) = = POSTGRES_INCLUDE: /share/CACHEDEV1_DATA/.qpkg/Entware-ng/include = POSTGRES_LIB: = /share/CACHEDEV1_DATA/.qpkg/Entware-ng/lib = OS: linux = =20 >>> Checking if your kit is complete... = =20 >>> Looks good = =20 >>> Using DBI 1.634 (for perl 5.022001 on x86_64-linux-glibc) installed = in /opt/lib/perl5/5.22/auto/DBI/ Generating a Unix-style Makefile = = Writing Makefile for DBD::Pg = =20 >>> Writing MYMETA.yml and MYMETA.json = TURNSTEP/DBD-Pg-3.5.3.tar.gz = = /share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/perl5.22.1 Makefile.PL -- OK = Running make for = T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz = cp Pg.pm blib/lib/DBD/Pg.pm = =20 >>> cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm = Running Mkbootstrap for DBD::Pg () = = chmod 644 "Pg.bs" = =20 >>> make: *** No rule to make target = '/opt/lib/perl5/5.22/auto/DBI/Driver_xst.h', needed by 'Pg.xsi'. Stop. = TURNSTEP/DBD-Pg-3.5.3.tar.gz = /opt/bin/make -- NOT OK >>=20 >> What is wrong or missing? Why does compiling not succeed? >>=20 >>=20 >> Regards >> Philipp >>=20 >> Complete list of installed of installed Perl modules: >>> perl - 5.22.1-2 = =20 >>> perl-dbi - 1.634-1 = =20 >>> perl-dev - 5.22.1-2 = =20 >>> perlbase-autosplit - 5.22.1-2 = =20 >>> perlbase-b - 5.22.1-2 = =20 >>> perlbase-base - 5.22.1-2 = =20 >>> perlbase-benchmark - 5.22.1-2 = =20 >>> perlbase-bytes - 5.22.1-2 = =20 >>> perlbase-class - 5.22.1-2 = =20 >>> perlbase-config - 5.22.1-2 = =20 >>> perlbase-cpan - 5.22.1-2 = =20 >>> perlbase-cwd - 5.22.1-2 = =20 >>> perlbase-data - 5.22.1-2 = =20 >>> perlbase-db - 5.22.1-2 = =20 >>> perlbase-db-file - 5.22.1-2 = =20 >>> perlbase-devel - 5.22.1-2 = =20 >>> perlbase-digest - 5.22.1-2 = =20 >>> perlbase-dirhandle - 5.22.1-2 = =20 >>> perlbase-dynaloader - 5.22.1-2 = =20 >>> perlbase-encode - 5.22.1-2 = =20 >>> perlbase-errno - 5.22.1-2 = =20 >>> perlbase-essential - 5.22.1-2 = =20 >>> perlbase-extutils - 5.22.1-2 = =20 >>> perlbase-fcntl - 5.22.1-2 = =20 >>> perlbase-feature - 5.22.1-2 = =20 >>> perlbase-file - 5.22.1-2 = =20 >>> perlbase-filehandle - 5.22.1-2 = =20 >>> perlbase-filter - 5.22.1-2 = =20 >>> perlbase-findbin - 5.22.1-2 = =20 >>> perlbase-getopt - 5.22.1-2 = =20 >>> perlbase-http-tiny - 5.22.1-2 = =20 >>> perlbase-i18n - 5.22.1-2 = =20 >>> perlbase-if - 5.22.1-2 = =20 >>> perlbase-integer - 5.22.1-2 = =20 >>> perlbase-io - 5.22.1-2 = =20 >>> perlbase-ipc - 5.22.1-2 = =20 >>> perlbase-json-pp - 5.22.1-2 = =20 >>> perlbase-list - 5.22.1-2 = =20 >>> perlbase-locale - 5.22.1-2 = =20 >>> perlbase-meta-notation - 5.22.1-2 = =20 >>> perlbase-mime - 5.22.1-2 = =20 >>> perlbase-mro - 5.22.1-2 = =20 >>> perlbase-net - 5.22.1-2 = =20 >>> perlbase-opcode - 5.22.1-2 = =20 >>> perlbase-ostype - 5.22.1-2 = =20 >>> perlbase-params - 5.22.1-2 = =20 >>> perlbase-perlio - 5.22.1-2 = =20 >>> perlbase-pod - 5.22.1-2 = =20 >>> perlbase-posix - 5.22.1-2 = =20 >>> perlbase-re - 5.22.1-2 = =20 >>> perlbase-safe - 5.22.1-2 = =20 >>> perlbase-scalar - 5.22.1-2 = =20 >>> perlbase-selectsaver - 5.22.1-2 = =20 >>> perlbase-selfloader - 5.22.1-2 = =20 >>> perlbase-socket - 5.22.1-2 = =20 >>> perlbase-storable - 5.22.1-2 = =20 >>> perlbase-symbol - 5.22.1-2 = =20 >>> perlbase-sys - 5.22.1-2 = =20 >>> perlbase-tap - 5.22.1-2 = =20 >>> perlbase-term - 5.22.1-2 = =20 >>> perlbase-test - 5.22.1-2 = =20 >>> perlbase-text - 5.22.1-2 = =20 >>> perlbase-tie - 5.22.1-2 = =20 >>> perlbase-time - 5.22.1-2 = =20 >>> perlbase-unicore - 5.22.1-2 = =20 >>> perlbase-universal - 5.22.1-2 = =20 >>> perlbase-utf8 - 5.22.1-2 = =20 >>> perlbase-xsloader - 5.22.1-2 =20 >>=20 >>=20 >> ------------------------------------ >>=20 >> Philipp Reichmuth >> e-Mail: [email protected] >>=20 >> ------------------------------------ >=20 -- David Christensen End Point Corporation [email protected] 785-727-1171