DBD::Pg 3.5.3: Compilation fails - help

Philipp Reichmuth <[email protected]> Sat, 16 Apr 2016 14:21:34 +0200
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
--Apple-Mail=_0FC1107B-65EB-411C-BDF0-ABF1760A5EAC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

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]

----------------------------------------





--Apple-Mail=_0FC1107B-65EB-411C-BDF0-ABF1760A5EAC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">Hi</div><div class=3D""><br =
class=3D""></div><div class=3D"">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.</div><div =
class=3D""><br class=3D""></div><div class=3D"">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.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Here the output on Perl =
5.22.1:</div><div class=3D""><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; background-color: rgb(146, 146, 146);" class=3D"">[/] =
# perl -MCPAN -e 'install DBD::Pg'</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; background-color: rgb(146, 146, =
146);" class=3D"">Reading =
'/share/CACHEDEV1_DATA/.cpan/Metadata'</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; background-color: rgb(146, 146, =
146);" class=3D"">&nbsp; Database was generated on Fri, 15 Apr 2016 =
17:17:02 GMT</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; background-color: rgb(146, 146, 146);" =
class=3D"">Running install for module 'DBD::Pg'</div><div style=3D"margin:=
 0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">Checksum for =
/share/CACHEDEV1_DATA/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.3.=
tar.gz ok</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo; background-color: rgb(146, 146, 146);" class=3D"">Configuring =
T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz with Makefile.PL</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo; =
background-color: rgb(146, 146, 146);" class=3D"">Configuring DBD::Pg =
3.5.3</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo; background-color: rgb(146, 146, 146);" class=3D"">PostgreSQL =
version: 90404 (default port: 5432)</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; background-color: rgb(146, 146, =
146);" class=3D"">POSTGRES_HOME: (not set)</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">POSTGRES_INCLUDE: =
/share/CACHEDEV1_DATA/.qpkg/Entware-ng/include</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">POSTGRES_LIB: =
/share/CACHEDEV1_DATA/.qpkg/Entware-ng/lib</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">OS: linux</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; background-color: rgb(146, 146, =
146);" class=3D"">Checking if your kit is complete...</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo; =
background-color: rgb(146, 146, 146);" class=3D"">Looks good</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo; =
background-color: rgb(146, 146, 146);" class=3D"">Using DBI 1.634 (for =
perl 5.022001 on x86_64-linux-glibc) installed in =
/opt/lib/perl5/5.22/auto/DBI/</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo; background-color: rgb(146, 146, 146);" =
class=3D"">Generating a Unix-style Makefile</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">Writing Makefile for DBD::Pg</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo; =
background-color: rgb(146, 146, 146);" class=3D"">Writing MYMETA.yml and =
MYMETA.json</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo; background-color: rgb(146, 146, 146);" =
class=3D"">&nbsp; TURNSTEP/DBD-Pg-3.5.3.tar.gz</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">&nbsp; =
/share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/perl5.22.1 Makefile.PL -- =
OK</div><div style=3D"margin: 0px; font-size: 11px; font-family: Menlo; =
background-color: rgb(146, 146, 146);" class=3D"">Running make for =
T/TU/TURNSTEP/DBD-Pg-3.5.3.tar.gz</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; background-color: rgb(146, 146, =
146);" class=3D"">cp Pg.pm blib/lib/DBD/Pg.pm</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">cp lib/Bundle/DBD/Pg.pm =
blib/lib/Bundle/DBD/Pg.pm</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo; background-color: rgb(146, 146, 146);" =
class=3D"">Running Mkbootstrap for DBD::Pg ()</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo; background-color: rgb(146, =
146, 146);" class=3D"">chmod 644 "Pg.bs"</div><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo; background-color: rgb(146, 146, =
146);" class=3D"">make: *** No rule to make target =
'/opt/lib/perl5/5.22/auto/DBI/Driver_xst.h', needed by 'Pg.xsi'.&nbsp; =
Stop.</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo; background-color: rgb(146, 146, 146);" class=3D"">&nbsp; =
TURNSTEP/DBD-Pg-3.5.3.tar.gz</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo; background-color: rgb(146, 146, 146);" =
class=3D"">&nbsp; /opt/bin/make -- NOT OK</div></div><div class=3D""><br =
class=3D""></div>Please help.<div class=3D""><br class=3D""></div><div =
class=3D"">Regards</div><div class=3D"">Philipp</div><div class=3D""><br =
class=3D""><div apple-content-edited=3D"true" class=3D"">
<div style=3D"orphans: auto; text-align: start; text-indent: 0px; =
widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;" class=3D""><div style=3D"orphans: =
2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;" class=3D""><div style=3D"margin: 0px; font-size: =
12px;" class=3D"">----------------------------------------</div><div =
style=3D"margin: 0px; font-size: 12px; min-height: 14px;" class=3D""><br =
class=3D""></div><div style=3D"margin: 0px; font-size: 12px;" =
class=3D"">Philipp Reichmuth</div><div style=3D"margin: 0px; font-size: =
12px;" class=3D"">e-Mail: <a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a></div><div style=3D"margin: 0px; =
font-size: 12px; min-height: 14px;" class=3D""><br class=3D""></div><div =
style=3D"margin: 0px; font-size: 12px;" =
class=3D"">----------------------------------------</div><div =
style=3D"margin: 0px; font-size: 12px; min-height: 14px;" class=3D""><br =
class=3D""></div><br class=3D""><br class=3D""></div></div>
</div>
<br class=3D""></div></body></html>=

--Apple-Mail=_0FC1107B-65EB-411C-BDF0-ABF1760A5EAC--