Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 22:12:26 -0800 (PST)
From:      dR <dystopianrebel@yahoo.com>
To:        "Michael W. Oliver" <michael@gargantuan.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: AMD64/rel 5.3 - success with OpenOffice! (linux_compat)
Message-ID:  <20050304061226.91355.qmail@web52307.mail.yahoo.com>
In-Reply-To: <20050304041030.GA6962@gargantuan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
My thanks to you, Mike and Jung-uk!

I am finally able to use OpenOffice on my FreeBSD box!
I'm so happy, I'm typing this in OO to let you know.
:o)

Here are the steps that I followed, slightly adapted
from yours (see **):

1. Rebuild and install kernel with:

options COMPAT_43
options LINPROCFS
options COMPAT_LINUX32

2. reboot
3. add the following to /etc/fstab

linprocfs /usr/compat/linux/proc linprocfs rw 0 0

4. mount /usr/compat/linux/proc
**5. cd /usr/ports/emulators/linux_base-8 && make
install clean

(I could not install linux_base; I had to use
linux_base-8.)

6. cd /usr/ports/java/linux-sun-jdk14 && make install
clean
7. cd /usr/local/src   # or where ever you want
8. fetch 
"http://openoffice.mirrors.pair.com/contrib/rc/2.0bc/OOo_2.0bc_LinuxIntel_install.tar.gz"
9. tar -zxvf OOo_2.0bc_LinuxIntel_install.tar.gz
10. cd RPMS
11. mv openofficeorg* /usr/compat/linux   # (do this
so 
that the extracted usr/bin and usr/share stuff are put
in the right place later)
12. cd /usr/compat/linux
**13. For each RPM file, run 
rpm2cpio [filename] | tar -xvf - 

I know it's clumsy, but it got me on the bus. :o)

14. rm openofficeorg*rpm
15. echo "/opt/openoffice.org1.9.79/program/filter" 
>>/usr/compat/linux/etc/ld.so.conf

**15 i) Ensure that the paths in ld.so.conf are FULLY
QUALIFIED.

**15 ii) Ensure that this line is in ld.so.conf:
/usr/linux/usr/X11R6/lib

16. /usr/compat/linux/sbin/ldconfig

17. Run 
/compat/linux/opt/openoffice.org1.9.79/program/soffice
&

- - -

Until we can build OO natively on 5.3 Release/AMD64 (I
get an error about "soltools"), this solution will
work for me. I'm very grateful to you. Thanks again!

Marko
Ottawa, Canada



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304061226.91355.qmail>