OpenOffice: On my FreeBSD ThinkPad

From OpenOffice.org:

Recommendation is FreeBSD 6.2-STABLE (__FreeBSD_version>=602103).

Looks like I should not have any problems, since I recently built a “new world and kernel”. My uname and ports are all up to date:


thinkpad# uname -a
FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jan 21 20:45:28 EST 2007 /usr/obj/usr/src/sys/T43P i386

thinkpad# pwd
/usr/ports/editors/openoffice.org-2
thinkpad# make -DWITH_CUPS -DWITHOUT_MOZILLA -DWITH_EVOLUTION2 -DWITH_TTF_BYTECODE_ENABLED install clean

…edited…

OOo_OOE680_m6_source.tar.bz2 100% of 259 MB 323 kBps 00m00s
===> Vulnerability check disabled, database not found

…edited…

NOTICE:

To build OOo, you should have a lot
of free diskspace (~ 9GB) and memory (~ 2GB).
If you want SDK and/or solver, please type make sdk and/or make solver
=> MD5 Checksum OK for openoffice.org2.0/OOo_OOE680_m6_source.tar.bz2.
=> SHA256 Checksum OK for openoffice.org2.0/OOo_OOE680_m6_source.tar.bz2.
=> MD5 Checksum OK for openoffice.org2.0/unowinreg.dll.
=> SHA256 Checksum OK for openoffice.org2.0/unowinreg.dll.
===> openoffice.org-2.1.0 depends on file: /usr/local/bin/perl5.8.8 – found
===> Applying extra patch /usr/ports/editors/openoffice.org-2/files/optpatch-freetype
===> Applying FreeBSD patches for openoffice.org-2.1.0
===> openoffice.org-2.1.0 depends on file: /usr/local/diablo-jdk1.5.0/bin/java – not found
===> Verifying install for /usr/local/diablo-jdk1.5.0/bin/java in /usr/ports/java/diablo-jdk15
===> diablo-jdk-1.5.0.07.01_1 :
Because of licensing restrictions, you must fetch the distribution
manually. Please access

http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2

with a web browser and “Accept” the End User License Agreement for
“Caffe Diablo 1.5.0”. Please place the downloaded
diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2 in /usr/ports/distfiles.
.*** Error code 1

Stop in /usr/ports/java/diablo-jdk15.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.
123.573u 66.688s 18:54.95 16.7% 35+3100k 22360+9374io 26pf+0w
Fetching diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2


thinkpad# pkg_add -r w3m
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/w3m.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/boehm-gc-6.8.tbz... Done.

thinkpad# w3m ‘http://www.freebsdfoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2’
Place the package in /usr/ports/distfiles and continue.

Conflict with Bison


...edited...
Making all in tests
===> Installing for bison-2.3

===> bison-2.3 conflicts with installed package(s):
bison-1.75_2,1

They install files into the same place.
Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/devel/bison2.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.
1162.082u 144.681s 28:18.88 76.9% 3806+3324k 8895+10699io 4339pf+
This is an easy fix, just remove the lesser version and continue:


thinkpad# pkg_deinstall bison-1.75_2,1
[Updating the pkgdb in /var/db/pkg ... - 43 packages found (-0 +26) .......................... done]
---> Deinstalling 'bison-1.75_2,1'
[Updating the pkgdb in /var/db/pkg ... - 42 packages found (-1 +0) (...) done]

thinkpad# make -DWITH_CUPS -DWITHOUT_MOZILLA -DWITH_EVOLUTION2 -DWITH_TTF_BYTECODE_ENABLED install clean
…edited…
install -o root -g wheel -m 444 /usr/ports/devel/bison2/work/bison-2.3/examples/calc++/*.[chly]* /usr/local/share/examples/bison/calc++
install-info –quiet /usr/local/info/bison.info /usr/local/info/dir
===> Compressing manual pages for bison-2.3
===> Registering installation for bison-2.3
===> Returning to build of openoffice.org-2.1.0
The Show Stopper?


...edited...
rm -f DONE
touch DONE
rm -f encodings.dir fonts.dir
+ /usr/X11R6/bin/mkfontdir -n -r -p /usr/X11R6/lib/X11/fonts/encodings/large/ -e . .
/usr/X11R6/bin/mkfontdir: not found
*** Error code 127

Stop in /usr/ports/x11-fonts/xorg-fonts-truetype/work/xc/fonts/encodings/large./
…edited…

Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1

Stop in /usr/ports/devel/gconf2.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.
774.738u 136.937s 19:12.82 79.0% 3619+2608k 2276+7053io 3617pf+0w
mkfontdir is missing. Which package could this belong to? pkg_which will come in just handy to get that information. Actually, I ran this command on another FreeBSD system that had mkfontdir already installed and saw that mkfontdir was installed by xorg-clients-6.9.0_3.


thinkpad# pwd
/usr/ports/x11/xorg-clients
thinkpad# make install clean
...edited...
===> Registering installation for xorg-clients-6.9.0_3
===> SECURITY REPORT:
This port has installed the following files, which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/X11R6/bin/xdm
/usr/X11R6/bin/xfwp
...edited...

Now we can continue with OpenOffice.org:)


/usr/ports/editors/openoffice.org-2
thinkpad# make -DWITH_CUPS -DWITHOUT_MOZILLA -DWITH_EVOLUTION2 -DWITH_TTF_BYTECODE_ENABLED install clean
...edited...
===> Checking if editors/openoffice.org-2 already installed
cd: can't cd to /usr/ports/editors/openoffice.org-2/work/OOE680_m6/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/
*** Error code 2

Stop in /usr/ports/editors/openoffice.org-2.
1073.690u 270.267s 29:03.53 77.0% 3191+2035k 19840+9734io 4832pf+0w
That is what I was afraid of.

Advertisements
This entry was posted in *Nix. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s