OpenOffice は難しい2009年04月04日 00時23分37秒

OpenOffice のコンパイルに失敗した。ports は三ヵ月前の古いものを使っているので、今日現在の物がどうなっているかは知らない。

そこで、バイナリインストールをすることにした。OpenOffice.org FreeBSD Package からダウンロード。


$ pkg_add ja-openoffice.org-3.0.1-7.tbz 
pkg_add: could not find package ja-ipa-ttfonts-1.0.20060520.p1_2,2 !

フォントが入っていない為に失敗する。

問題が出たら別途対処するとして、強制的にインストールを決行する。


$ pkg_add -f ja-openoffice.org-3.0.1-7.tbz
pkg_add: could not find package ja-ipa-ttfonts-1.0.20060520.p1_2,2  (proceeding 
anyway)
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'xextproto-7.0.5', 
but 'xextproto-7.0.2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'printproto-1.0.4',
 but 'printproto-1.0.3' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'inputproto-1.5.0',
 but 'inputproto-1.4.2.1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gnomehier-2.3_11',
 but 'gnomehier-2.3_10' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'xcb-proto-1.3', bu
t 'xcb-proto-1.2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'perl-5.8.9', but '
perl-5.8.8_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'png-1.2.34', but '
png-1.2.33' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'tiff-3.8.2_3', but
 'tiff-3.8.2_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'jasper-1.900.1_7',
 but 'jasper-1.900.1_6' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'xproto-7.0.14', bu
t 'xproto-7.0.10_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'pixman-0.13.2', bu
t 'pixman-0.10.0_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXau-1.0.4', but
 'libXau-1.0.3_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libSM-1.1.0,1', bu
t 'libSM-1.0.3_1,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'mkfontscale-1.0.6'
, but 'mkfontscale-1.0.3' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'mkfontdir-1.0.4', 
but 'mkfontdir-1.0.3_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'fontconfig-2.6.0,1
', but 'fontconfig-2.5.0,1' is installed
pkg_add: can't open dependency file '/var/db/pkg/ja-ipa-ttfonts-1.0.20060520.p1_
2,2/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'xorg-fonts-truetyp
e-7.4', but 'xorg-fonts-truetype-7.3' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libxcb-1.1.93', bu
t 'libxcb-1.1.90.1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'xcb-util-0.3.2', b
ut 'xcb-util-0.2.1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libX11-1.1.99.2,1'
, but 'libX11-1.1.3_1,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXext-1.0.5,1', 
but 'libXext-1.0.3,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXrandr-1.2.3', 
but 'libXrandr-1.2.2_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXmu-1.0.4,1', b
ut 'libXmu-1.0.3,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXinerama-1.0.3,
1', but 'libXinerama-1.0.2,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXi-1.2.0,1', bu
t 'libXi-1.1.3,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libXaw-1.0.5_1,1',
 but 'libXaw-1.0.4_1,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'cairo-1.8.6,1', bu
t 'cairo-1.6.4_3,1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'samba-libsmbclient
-3.0.34_1', but 'samba-libsmbclient-3.0.32_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libxml2-2.7.2_1', 
but 'libxml2-2.6.32_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libgpg-error-1.7',
 but 'libgpg-error-1.6_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'libgcrypt-1.4.4', 
but 'libgcrypt-1.4.1_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gnutls-2.6.3_1', b
ut 'gnutls-2.4.2_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'glib-2.18.4', but 
'glib-2.16.5_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gamin-0.1.10', but
 'gamin-0.1.9_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gio-fam-backend-2.
18.4', but 'gio-fam-backend-2.16.5' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'pango-1.22.4', but
 'pango-1.20.5' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'dbus-1.2.4.4', but
 'dbus-1.2.1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'dbus-glib-0.78', b
ut 'dbus-glib-0.76' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'policykit-0.9_2', 
but 'policykit-0.9_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'cups-base-1.3.9_3'
, but 'cups-base-1.3.9_2' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'consolekit-0.3.0_4
', but 'consolekit-0.2.10_3' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'hal-0.5.11_16', bu
t 'hal-0.5.11_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'ORBit2-2.14.16', b
ut 'ORBit2-2.14.14' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'atk-1.24.0', but '
atk-1.22.0_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gtk-2.14.7', but '
gtk-2.12.11_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gconf2-2.24.0', bu
t 'gconf2-2.22.0_1' is installed
pkg_add: warning: package 'ja-openoffice.org-3.0.1' requires 'gnome-vfs-2.24.0',
 but 'gnome-vfs-2.22.0_2' is installed

OpenOffice.org Build OOO300_m15 Personal Install How-To

Written by:     Martin Blapp 
                and Maho Nakata 

OpenOffice.org OOO300_m15 will soon been installed in
/usr/local/openoffice.org-3.0.1

1. User installation
--------------------

Just type "openoffice.org-3.0.1" after you have successfully
installed the package. If there is no installed OO.org dir
in your homedir, the setup installs ".openoffice.org3" folder.

2. Starting OO.org
------------------

There are some wrappers installed for faster startup.
Add "/usr/local/bin/" to your PATH and you will be able
to use them.

/usr/local/bin/openoffice.org-3.0.1
/usr/local/bin/openoffice.org-3.0.1-sbase
/usr/local/bin/openoffice.org-3.0.1-scalc
/usr/local/bin/openoffice.org-3.0.1-sdraw
/usr/local/bin/openoffice.org-3.0.1-setofficelang
/usr/local/bin/openoffice.org-3.0.1-smath
/usr/local/bin/openoffice.org-3.0.1-simpress
/usr/local/bin/openoffice.org-3.0.1-spadmin
/usr/local/bin/openoffice.org-3.0.1-swriter

OO.org does need $LANG to be set to a suitable value.

3. If you run into problems
--------------------------------------------------
If you somehow run into problems, please remove the already
installed ".openoffice.org3" dir in your homedir. Redo the user
installation and the problems should go away.

ライブラリ等のマイナーバージョンが違うので大量の警告が出たが無視。

一応、問題なく起動している。当面の間、ある程度動いていれば大丈夫だと思うので、強引な解決策を採った。