Hi I am trying to get DAViCal running on my Qnap NAS with the current firmware QTS 4.2. As DAViCal is based on a PostgreSQL database I need the module DBD::Pg. Everything was running nicely on my old NAS with an older revision of the firmware.
I have Perl 5.22.1 installed, all other modules could be installed without any issue, just with installing the dependencies. But DBD::Pg fails. The error message does not tell me too much, therefore I need your help. I also tried with Perl 5.10, but I am getting the same error message. Here the output on Perl 5.22.1: [/] # perl -MCPAN -e 'install DBD::Pg' Reading '/share/CACHEDEV1_DATA/.cpan/Metadata' Database was generated on Fri, 15 Apr 2016 17:17: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 DBD::Pg () chmod 644 "Pg.bs" 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 Please help. Regards Philipp ---------------------------------------- Philipp Reichmuth e-Mail: [email protected] ----------------------------------------
