имеется FreeBSD 4.11 с обновленным деревом портов# cat /etc/cvsupfile
*default host=cvsup2.ru.FreeBSD.org
*default base=/var/log
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
ports-all tag=.# pkg_version -v
cvsup-without-gui-16.1h = up-to-date with port
expat-1.95.8 = up-to-date with port
ezm3-1.2 = up-to-date with port
gettext-0.14.1 = up-to-date with port
gmake-3.80_2 = up-to-date with port
libgnugetopt-1.2 = up-to-date with port
libiconv-1.9.2_1 = up-to-date with port
libtool-1.3.5_2 = up-to-date with port
libtool-1.5.10 = up-to-date with port
mysql-client-4.1.10 = up-to-date with port
mysql-server-4.1.10 = up-to-date with port
p5-DBI-1.47 = up-to-date with port
p5-Data-ShowTable-3.3 = up-to-date with port
p5-Text-Iconv-1.4 = up-to-date with port
perl-5.8.6_2 = up-to-date with port
pptpclient-1.5.0 = up-to-date with port
rc_subr-1.31 = up-to-date with portДелаю:
# cd /usr/ports/databases/p5-Mysql
# makeВывод make в следующем посте.
Как поправить?
# cd /usr/ports/databases/p5-Mysql
# make
===> Vulnerability check disabled, database not found
===> Extracting for p5-Mysql-modules-1.2219
=> Checksum OK for Msql-Mysql-modules-1.2219.tar.gz.
===> p5-Mysql-modules-1.2219 depends on file: /usr/local/bin/perl5.8.6 - found
===> Patching for p5-Mysql-modules-1.2219
===> p5-Mysql-modules-1.2219 depends on file: /usr/local/bin/perl5.8.6 - found
===> p5-Mysql-modules-1.2219 depends on file: /usr/local/lib/perl5/site_perl/5.8.6/Data/ShowTable.pm - found
===> p5-Mysql-modules-1.2219 depends on file: /usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm - found
===> p5-Mysql-modules-1.2219 depends on file: /usr/local/bin/perl5.8.6 - found
===> p5-Mysql-modules-1.2219 depends on shared library: mysqlclient.14 - found
===> Configuring for p5-Mysql-modules-1.2219
Creating files for MySQL ....................
WARNING: PL_FILES takes a hash reference not a array reference.
Please inform the author.
Checking if your kit is complete...
Looks good
Using DBI 1.47 (for perl 5.008006 on i386-freebsd-64int) installed in /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI/
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
===> Building for p5-Mysql-modules-1.2219
/usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.8.6/mach -I/usr/local/lib/perl5/5.8.6 -Ilib -MExtUtils::PerlPP -e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
/usr/local/bin/pod2text mysql/lib/DBD/mysql.pm >README
cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/lib/perl5/5.8.6/mach -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/mach/CORE" -DDBD_MYSQL dbdimp.c
dbdimp.c: In function `mysql_db_login':
dbdimp.c:725: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:1013: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1019: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1027: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1048: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1052: warning: cast from pointer to integer of different size
dbdimp.c:1059: warning: initialization discards qualifiers from pointer target type
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:1203: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c:1264: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:1427: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:1867: warning: cast from pointer to integer of different size
dbdimp.c:1983: warning: cast from pointer to integer of different size
dbdimp.c:2052: warning: cast from pointer to integer of different size
dbdimp.c: In function `MysqlReconnect':
dbdimp.c:2164: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI//Driver.xst > mysql.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 281
Warning: duplicate function definition 'rows' detected in mysql.xs, line 407
cc -c -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI -I/usr/local/lib/perl5/5.8.6/mach -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.6/mach/CORE" -DDBD_MYSQL mysql.c
mysql.xs: In function `XS_DBD__mysql__dr__ListDBs':
mysql.xs:98: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:138: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs:144: too few arguments to function `mysql_shutdown'
mysql.xs:186: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__db__ListDBs':
mysql.xs:250: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
mysql.xs: In function `XS_DBD__mysql__db__ListTables':
mysql.xs:271: warning: passing arg 3 of `mysql_dr_error' discards qualifiers from pointer target type
*** Error code 1Stop in /usr/ports/databases/p5-Mysql/work/Msql-Mysql-modules-1.2219/mysql.
*** Error code 1Stop in /usr/ports/databases/p5-Mysql/work/Msql-Mysql-modules-1.2219.
*** Error code 1Stop in /usr/ports/databases/p5-Mysql.
up