MySQL(mysql51)をインストール ※試行錯誤中

いろいろ足らないものがあり試行錯誤中

bsd# portinstall mysql-server
--->  Found 5 ports matching 'mysql-server':
	databases/mysql323-server
	databases/mysql40-server
	databases/mysql41-server
	databases/mysql50-server
	databases/mysql51-server
Install 'databases/mysql323-server'? [yes] no
Install 'databases/mysql40-server'? [yes] no
Install 'databases/mysql41-server'? [yes] no
Install 'databases/mysql50-server'? [yes] no
Install 'databases/mysql51-server'? [yes] yes
[Gathering depends for databases/mysql51-server ......... done]
--->  Installing 'libtool-1.5.24' from a port (devel/libtool15)
--->  Building '/usr/ports/devel/libtool15'
===>  Cleaning for libtool-1.5.24
===>  Vulnerability check disabled, database not found
=> libtool-1.5.24.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://ftp.gnu.org/gnu/libtool/.
libtool-1.5.24.tar.gz                         100% of 2851 kB  197 kBps 00m00s
 ・
 ・
 ・
 ・
 ・
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for libiconv-1.11_1
=> libiconv-1.11.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://ftp.gnu.org/gnu/libiconv/.
libiconv-1.11.tar.gz                          100% of 4327 kB  349 kBps 00m00s
===>  Extracting for libiconv-1.11_1
=> MD5 Checksum OK for libiconv-1.11.tar.gz.
=> SHA256 Checksum OK for libiconv-1.11.tar.gz.
===>  Patching for libiconv-1.11_1
===>  Applying FreeBSD patches for libiconv-1.11_1
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to configure.rej
=> Patch patch-configure failed to apply cleanly.
=> Patch(es) patch-ae applied cleanly.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.1064.2 env make
** Fix the problem and try again.
--->  Skipping 'devel/gettext' because a requisite port 'converters/libiconv' failed (specify -k to force)
--->  Skipping 'databases/mysql51-server' because a requisite port 'databases/mysql51-client' failed (specify -k to force)
--->  Skipping 'devel/gmake' because a requisite port 'devel/gettext' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! databases/mysql51-client	(fetch error)
	! converters/libiconv	(patch error)
	* devel/gettext
	* databases/mysql51-server
	* devel/gmake


何かエラーになってる。

sysinstallでmysql51-clientとlibiconvをインストール



portversionでインストール済みのportsを確認

bsd# portversion -v
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 10 packages found (-0 +2) .. done]
db41-4.1.25_4               >  succeeds port (port has 4.1.25_3) 
libiconv-1.9.2_2            =  up-to-date with port 
libtool-1.5.24              >  succeeds port (port has 1.5.22_2) 
linux_base-fc-4_9           =  up-to-date with port 
lynx-2.8.5_2                =  up-to-date with port 
mysql-client-5.0.27         =  up-to-date with port 
perl-5.8.8_1                >  succeeds port (port has 5.8.8) 
portupgrade-2.4.3_2,2       =  up-to-date with port 
ruby-1.8.5_3,1              =  up-to-date with port 
ruby18-bdb-0.6.2            >  succeeds port (port has 0.5.9_2) 
bsd# 


mysql-client-5.0.27とlibiconv-1.9.2_2がインストールされている。
この状態でmysql51-serverをインストールしてみる。

mysql51-serverをインストール

bsd# portinstall mysql-server
--->  Found 5 ports matching 'mysql-server':
	databases/mysql323-server
	databases/mysql40-server
	databases/mysql41-server
	databases/mysql50-server
	databases/mysql51-server
Install 'databases/mysql323-server'? [yes] no
Install 'databases/mysql40-server'? [yes] no
Install 'databases/mysql41-server'? [yes] no
Install 'databases/mysql50-server'? [yes] no
Install 'databases/mysql51-server'? [yes] yes
[Gathering depends for databases/mysql51-server ......... done]
--->  Installing 'mysql-client-5.1.24_1' from a port (databases/mysql51-client)
--->  Building '/usr/ports/databases/mysql51-client'
===>  Cleaning for mysql-client-5.1.24_1
===>  Vulnerability check disabled, database not found
=> mysql-5.1.24-rc.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.easynet.be/mysql/Downloads/MySQL-5.1/.
 ・
 ・
 ・
 ・
 ・
=> Attempting to fetch from ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/.
fetch: ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://netmirror.org/mirror/mysql.com/Downloads/MySQL-5.1/.
fetch: http://netmirror.org/mirror/mysql.com/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: Not Found
=> Attempting to fetch from ftp://netmirror.org/mysql.com/Downloads/MySQL-5.1/.
fetch: ftp://netmirror.org/mysql.com/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://mirrors.ntua.gr/MySQL/Downloads/MySQL-5.1/.
fetch: http://mirrors.ntua.gr/MySQL/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: Not Found
=> Attempting to fetch from ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/MySQL-5.1/.
fetch: ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://mysql.sote.hu/Downloads/MySQL-5.1/.
fetch: http://mysql.sote.hu/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: Not Found
=> Attempting to fetch from ftp://ftp.rhnet.is/pub/mysql/Downloads/MySQL-5.1/.
fetch: ftp://ftp.rhnet.is/pub/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://mirror.widexs.nl/pub/mysql/Downloads/MySQL-5.1/.
fetch: ftp://mirror.widexs.nl/pub/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://mirror.etf.bg.ac.yu/mysql/Downloads/MySQL-5.1/.
fetch: ftp://mirror.etf.bg.ac.yu/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/.
fetch: ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://mysql.dp.ua/Downloads/MySQL-5.1/.
fetch: http://mysql.dp.ua/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: No address record
=> Attempting to fetch from http://mysql.mirrored.ca/Downloads/MySQL-5.1/.
fetch: http://mysql.mirrored.ca/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: size mismatch: expected 27501156, actual 593
=> Attempting to fetch from ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.1/.
fetch: ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.orst.edu/pub/mysql/Downloads/MySQL-5.1/.
fetch: ftp://ftp.orst.edu/pub/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: No address record
=> Attempting to fetch from http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/.
fetch: http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: Not Found
=> Attempting to fetch from ftp://mysql.bannerlandia.com.ar/mirrors/mysql/Downloads/MySQL-5.1/.
fetch: ftp://mysql.bannerlandia.com.ar/mirrors/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: Connection refused
=> Attempting to fetch from ftp://ftp.linorg.usp.br/mysql/Downloads/MySQL-5.1/.
fetch: ftp://ftp.linorg.usp.br/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.cbn.net.id/mirror/mysql/Downloads/MySQL-5.1/.
fetch: ftp://ftp.cbn.net.id/mirror/mysql/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://download.softagency.net/MySQL/Downloads/MySQL-5.1/.
fetch: http://download.softagency.net/MySQL/Downloads/MySQL-5.1/mysql-5.1.24-rc.tar.gz: Not Found
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mysql-5.1.24-rc.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/databases/mysql51-client.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.9687.0 env make
** Fix the problem and try again.
--->  Installing 'gettext-0.16.1_3' from a port (devel/gettext)
--->  Building '/usr/ports/devel/gettext'
===>  Cleaning for libiconv-1.11_1
===>  Cleaning for gettext-0.16.1_3
===>  Vulnerability check disabled, database not found
=> gettext-0.16.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://ftp.gnu.org/gnu/gettext/.
gettext-0.16.1.tar.gz                         100% of 8339 kB  240 kBps 00m00s
===>  Extracting for gettext-0.16.1_3
=> MD5 Checksum OK for gettext-0.16.1.tar.gz.
=> SHA256 Checksum OK for gettext-0.16.1.tar.gz.
===>  Patching for gettext-0.16.1_3
===>  Applying FreeBSD patches for gettext-0.16.1_3
File to patch: 
No file found--skip this patch? [n] 
File to patch: 
No file found--skip this patch? [n] y
3 out of 3 hunks ignored--saving rejects to gettext-tools/lib/Makefile.in.rej
Can't create gettext-tools/lib/Makefile.in.rej, output is in /tmp//patchrGr9ygR: No such file or directory
=> Patch patch-gettext-tools_lib_Makefile.in failed to apply cleanly.
=> Patch(es) patch-ad patch-ak patch-gettext-runtime_configure patch-gettext-runtime_intl_Makefile.in patch-gettext-runtime_man_Makefile.in patch-gettext-tools_Makefile.in patch-gettext-tools_config.h.in patch-gettext-tools_configure applied cleanly.
*** Error code 1

Stop in /usr/ports/devel/gettext.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.9687.1 env make
** Fix the problem and try again.
--->  Skipping 'databases/mysql51-server' because a requisite port 'databases/mysql51-client' failed (specify -k to force)
--->  Skipping 'devel/gmake' because a requisite port 'devel/gettext' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! databases/mysql51-client	(fetch error)
	! devel/gettext	(patch error)
	* databases/mysql51-server
	* devel/gmake
bsd# 

まだエラーだ。

sysinstallでgettextをインストール

インストール後にportversionで確認

bsd# portversion -v
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 11 packages found (-0 +2) .. done]
db41-4.1.25_4               >  succeeds port (port has 4.1.25_3) 
gettext-0.14.5_2            =  up-to-date with port 
libiconv-1.9.2_2            =  up-to-date with port 
libtool-1.5.24              >  succeeds port (port has 1.5.22_2) 
linux_base-fc-4_9           =  up-to-date with port 
lynx-2.8.5_2                =  up-to-date with port 
mysql-client-5.0.27         =  up-to-date with port 
perl-5.8.8_1                >  succeeds port (port has 5.8.8) 
portupgrade-2.4.3_2,2       =  up-to-date with port 
ruby-1.8.5_3,1              =  up-to-date with port 
ruby18-bdb-0.6.2            >  succeeds port (port has 0.5.9_2) 

portsのINDEXファイルを更新してみる

bsd# rm /var/db/pkg/pkgdb.db /usr/ports/INDEX*.db
bsd# portversion -v
[Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 11 packages found (-0 +11) ........... done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 15918 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000......... ..... done]
db41-4.1.25_4               >  succeeds port (port has 4.1.25_3) 
gettext-0.14.5_2            =  up-to-date with port 
libiconv-1.9.2_2            =  up-to-date with port 
libtool-1.5.24              >  succeeds port (port has 1.5.22_2) 
linux_base-fc-4_9           =  up-to-date with port 
lynx-2.8.5_2                =  up-to-date with port 
mysql-client-5.0.27         =  up-to-date with port 
perl-5.8.8_1                >  succeeds port (port has 5.8.8) 
portupgrade-2.4.3_2,2       =  up-to-date with port 
ruby-1.8.5_3,1              =  up-to-date with port 
ruby18-bdb-0.6.2            >  succeeds port (port has 0.5.9_2) 
bsd# portsdb -uU
Updating the ports index ... Generating INDEX.tmp - please wait.."/usr/ports/chinese/links/../../www/links/Makefile", line 75: warning: duplicate script for target "pre-configure" ignored
 Done.
done
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 18592 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000..... ..... done]
bsd# 

portversionで確認してみる。

bsd# portversion -v
db41-4.1.25_4               =  up-to-date with port 
gettext-0.14.5_2            <  needs updating (port has 0.16.1_3) 
libiconv-1.9.2_2            <  needs updating (port has 1.11_1) 
libtool-1.5.24              =  up-to-date with port 
linux_base-fc-4_9           <  needs updating (port has 4_13) 
lynx-2.8.5_2                <  needs updating (port has 2.8.6.5_2,1) 
mysql-client-5.0.27         <  needs updating (port has 5.0.51a) 
perl-5.8.8_1                =  up-to-date with port 
portupgrade-2.4.3_2,2       =  up-to-date with port 
ruby-1.8.5_3,1              <  needs updating (port has 1.8.6.111_2,1) 
ruby18-bdb-0.6.2            =  up-to-date with port 
bsd# 

gettextの左側に表示されるバージョンが変わっている。

portupgrade -aでバージョンの古いportsを最新にする

bsd# portupgrade -a 
--->  Upgrading 'libiconv-1.9.2_2' to 'libiconv-1.11_1' (converters/libiconv)
--->  Building '/usr/ports/converters/libiconv'
===>  Cleaning for libiconv-1.11_1
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for libiconv-1.11_1
===>  Extracting for libiconv-1.11_1
=> MD5 Checksum OK for libiconv-1.11.tar.gz.
=> SHA256 Checksum OK for libiconv-1.11.tar.gz.
===>  Patching for libiconv-1.11_1
===>  Applying FreeBSD patches for libiconv-1.11_1
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to configure.rej
=> Patch patch-configure failed to apply cleanly.
=> Patch(es) patch-ae applied cleanly.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.21429.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libiconv-1.9.2_2 UPGRADE_PORT_VER=1.9.2_2 make
** Fix the problem and try again.
--->  Skipping 'devel/gettext' (gettext-0.14.5_2) because a requisite package 'libiconv-1.9.2_2' (converters/libiconv) failed (specify -k to force)
--->  Upgrading 'linux_base-fc-4_9' to 'linux_base-fc-4_13' (emulators/linux_base-fc4)
--->  Building '/usr/ports/emulators/linux_base-fc4'
===>  Cleaning for linux_base-fc-4_13
===>  Vulnerability check disabled, database not found
=> basesystem-8.0-5.noarch.rpm doesn't seem to exist in /usr/ports/distfiles/rpm/i386/fedora/4.
=> Attempting to fetch from http://mirrors.kernel.org/fedora/core/4/i386/os/Fedora/RPMS/.
 ・
 ・
 ・
 ・
 ・
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
mysql-5.0.51a.tar.gz                          100% of   26 MB  242 kBps 00m00s
===>  Extracting for mysql-client-5.0.51a
=> MD5 Checksum OK for mysql-5.0.51a.tar.gz.
=> SHA256 Checksum OK for mysql-5.0.51a.tar.gz.
===>  Patching for mysql-client-5.0.51a
===>  Applying FreeBSD patches for mysql-client-5.0.51a
1 out of 1 hunks failed--saving rejects to include/mysql_com.h.rej
=> Patch patch-include__mysql_com.h failed to apply cleanly.
=> Patch(es) patch-Docs::Makefile.in patch-Makefile.in patch-client_mysql_upgrade.c patch-configure applied cleanly.
*** Error code 1

Stop in /usr/ports/databases/mysql50-client.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.21429.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mysql-client-5.0.27 UPGRADE_PORT_VER=5.0.27 make
** Fix the problem and try again.
--->  Upgrading 'ruby-1.8.5_3,1' to 'ruby-1.8.6.111_2,1' (lang/ruby18)
--->  Building '/usr/ports/lang/ruby18'
===>  Cleaning for ruby-1.8.6.111_2,1
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for ruby-1.8.6.111_2,1
===>  Extracting for ruby-1.8.6.111_2,1
=> MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
=> SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/
===>  Patching for ruby-1.8.6.111_2,1
===>  Applying FreeBSD patches for ruby-1.8.6.111_2,1
1 out of 1 hunks failed--saving rejects to ext/dbm/extconf.rb.rej
=> Patch patch-ext-dbm-extconf.rb failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.21429.2 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ruby-1.8.5_3,1 UPGRADE_PORT_VER=1.8.5_3,1 make
** Fix the problem and try again.
--->  Upgrading 'lynx-2.8.5_2' to 'lynx-2.8.6.5_2,1' (www/lynx)
--->  Building '/usr/ports/www/lynx'
===>  Cleaning for lynx-2.8.6.5_2,1
===>  Vulnerability check disabled, database not found
=> lynx2.8.6rel.5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://lynx.isc.org/current/.
lynx2.8.6rel.5.tar.bz2                        100% of 2237 kB  357 kBps
===>  Extracting for lynx-2.8.6.5_2,1
=> MD5 Checksum OK for lynx2.8.6rel.5.tar.bz2.
=> SHA256 Checksum OK for lynx2.8.6rel.5.tar.bz2.
===>  Patching for lynx-2.8.6.5_2,1
===>  Applying FreeBSD patches for lynx-2.8.6.5_2,1
3 out of 3 hunks failed--saving rejects to src/HTInit.c.rej
=> Patch patch-src__HTInit.c failed to apply cleanly.
=> Patch(es) patch-LYCharSets patch-aa applied cleanly.
*** Error code 1

Stop in /usr/ports/www/lynx.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.21429.3 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=lynx-2.8.5_2 UPGRADE_PORT_VER=2.8.5_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! converters/libiconv (libiconv-1.9.2_2)	(patch error)
	* devel/gettext (gettext-0.14.5_2)
	! databases/mysql50-client (mysql-client-5.0.27)	(patch error)
	! lang/ruby18 (ruby-1.8.5_3,1)	(patch error)
	! www/lynx (lynx-2.8.5_2)	(patch error)
bsd# 


エラーになっているものがあるな...

portversionで確認
bsd# portversion -v
autoconf-2.13.000227_6      =  up-to-date with port 
autoconf-2.61_2             =  up-to-date with port 
autoconf-wrapper-20071109   =  up-to-date with port 
automake-1.4.6_4            =  up-to-date with port 
automake-wrapper-20071109   =  up-to-date with port 
db41-4.1.25_4               =  up-to-date with port 
gettext-0.14.5_2            <  needs updating (port has 0.16.1_3) 
gmake-3.81_2                =  up-to-date with port 
help2man-1.36.4_1           =  up-to-date with port 
libiconv-1.9.2_2            <  needs updating (port has 1.11_1) 
libtool-1.5.24              =  up-to-date with port 
linux_base-fc-4_13          =  up-to-date with port 
lynx-2.8.5_2                <  needs updating (port has 2.8.6.5_2,1) 
m4-1.4.9,1                  =  up-to-date with port 
mysql-client-5.0.27         <  needs updating (port has 5.0.51a) 
p5-gettext-1.05_1           =  up-to-date with port 
perl-5.8.8_1                =  up-to-date with port 
popt-1.7_4                  =  up-to-date with port 
portupgrade-2.4.3_2,2       =  up-to-date with port 
rpm-3.0.6_13                =  up-to-date with port 
ruby-1.8.5_3,1              <  needs updating (port has 1.8.6.111_2,1) 
ruby18-bdb-0.6.2            =  up-to-date with port 
bsd# 
gettextをアプグレードしてみる
bsd# portupgrade gettext
--->  Upgrading 'gettext-0.14.5_2' to 'gettext-0.16.1_3' (devel/gettext)
--->  Building '/usr/ports/devel/gettext'
===>  Cleaning for gettext-0.16.1_3
===>  Vulnerability check disabled, database not found
===>  Extracting for gettext-0.16.1_3
=> MD5 Checksum OK for gettext-0.16.1.tar.gz.
=> SHA256 Checksum OK for gettext-0.16.1.tar.gz.
===>  Patching for gettext-0.16.1_3
===>  Applying FreeBSD patches for gettext-0.16.1_3
File to patch:             
No file found--skip this patch? [n] y
3 out of 3 hunks ignored--saving rejects to gettext-tools/lib/Makefile.in.rej
Can't create gettext-tools/lib/Makefile.in.rej, output is in /tmp//patchrY0P0rL: No such file or directory
=> Patch patch-gettext-tools_lib_Makefile.in failed to apply cleanly.
=> Patch(es) patch-ad patch-ak patch-gettext-runtime_configure patch-gettext-runtime_intl_Makefile.in patch-gettext-runtime_man_Makefile.in patch-gettext-tools_Makefile.in patch-gettext-tools_config.h.in patch-gettext-tools_configure applied cleanly.
*** Error code 1

Stop in /usr/ports/devel/gettext.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.75352.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gettext-0.14.5_2 UPGRADE_PORT_VER=0.14.5_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! devel/gettext (gettext-0.14.5_2)	(patch error)

gettext-0.16.1_3をどうにかしないとダメなのか
あと、mysql51-clientをインストールするつもりが5.0をインストールしたりしてるな。
どうすれば良いかよくわからなくなって来たので
ちょっと整理して再開。


↓状況を整理して再開
http://d.hatena.ne.jp/kurusaki/20080915/1221467180