Subject: | can't install the module with the cpan shell |
# uname -a
FreeBSD sanzo.knkorp.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jan 22
14:46:31 UTC 2006 root@sanzo.knkorp.org:/usr/obj/usr/src/sys/GENERIC
i386
# perl -v
This is perl, v5.8.7 built for i386-freebsd-64int
(with 2 registered patches, see perl -V for more detail)
# perl -MCPAN -e "install DBD::Pg" 2>> result.txt
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 12 Feb 2006 02:18:16 GMT
Running install for module DBD::Pg
Running make for D/DB/DBDPG/DBD-Pg-1.43.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DB/DBDPG/DBD-Pg-1.43.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Removing previously used /root/.cpan/build/DBD-Pg-1.43
CPAN.pm: Going to build D/DB/DBDPG/DBD-Pg-1.43.tar.gz
Configuring DBD::Pg 1.43
Remember to actually read the README file!
Path to pg_config?
OS: freebsd
PostgreSQL version: 00000
****************
WARNING! DBD::Pg no longer supports versions less than 7.2.
It is highly recommended that you upgrade PostgreSQL to a newer version.
****************
****************
WARNING! Support for servers older than version 7.4 will soon end.
It is highly recommended that you upgrade PostgreSQL to a newer version.
****************
Checking if your kit is complete...
Looks good
Using DBI 1.50 (for perl 5.008007 on i386-freebsd-64int) installed in
/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/DBI/
Writing Makefile for DBD::Pg
cp Pg.pm blib/lib/DBD/Pg.pm
/usr/bin/perl -p -e "s/~DRIVER~/Pg/g"
/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/DBI//Driver.xst > Pg.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.7/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc
Pg.c
cc -c -I -I/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/DBI/
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
-DPGLIBVERSION=00000 -O -pipe -DPERL_EXTMALLOC_DEF
-Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc
-Dcalloc=Perl_calloc -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" -DPIC
-fPIC "-I/usr/local/lib/perl5/5.8.7/mach/CORE" Pg.c
*** Error code 1
Stop in /root/.cpan/build/DBD-Pg-1.43.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
That's all
Subject: | result.txt |
Message body is not shown because it is too large.