[Libreoffice-commits] .: README.cross

Jan Holesovsky kendy at kemper.freedesktop.org
Thu Sep 29 08:21:38 PDT 2011

 README.cross |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

New commits:
commit 004820b51b848f806511411687e89dad0aba29ef
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Thu Sep 29 15:25:54 2011 +0200

    You have to install into /tmp, otherwise you'll have runtime trouble.

diff --git a/README.cross b/README.cross
index 9722e49..1aaf88c 100644
--- a/README.cross
+++ b/README.cross
@@ -213,22 +213,25 @@ CXX_FOR_BUILD=ccache g++
 Once you have compiled it, you may want to try to run it:
-$ cd instsetoo_native/wntgcci.pro/LibreOffice_Dev/archive/install/en-US
-$ tar xf LibO-Dev_OOO350m1_Win_x86_install-arc_en-US.tar.gz
+$ cd /tmp
+$ tar xf <your-build-dir>/instsetoo_native/wntgcci.pro/LibreOffice_Dev/archive/install/en-US/LibO-Dev_OOO350m1_Win_x86_install-arc_en-US.tar.gz
 $ cd LibO-Dev_OOO350m1_Win_x86_install-arc_en-US/LibO-dev\ 3.5/program
 $ cp /usr/i686-w64-mingw32/sys-root/mingw/bin/* ./
 $ wine soffice.exe
+NB. it is important to unpack somewhere low in the hierarchy structure (like
+in /tmp as advised above), otherwise you'll get BerkeleyDB errors on startup.
 And if you are brave enough, you can even debug it.  First you have to add the
 URE dll's to the wine's PATH using 'wine regedit' - see
 http://www.winehq.org/docs/wineusr-guide/environment-variables, and add
-Z:\local\libreoffice\master-mingw32\instsetoo_native\wntgcci.pro\LibreOffice_Dev\archive\install\en-US\LibO-Dev_OOO350m1_Win_x86_install-arc_en-US\LibO-dev 3.5\URE\bin
-to "Path".
+Z:\tmp\LibO-Dev_OOO350m1_Win_x86_install-arc_en-US\LibO-dev 3.5\URE\bin
+to "Path" in My Computer->HKEY_CURRENT_USER->Environment.
 Then run linkoo, so that when you rebuild something, you can directly see the
 changes the next time you run it:
-solenv/bin/linkoo '<your_clone_dir>/instsetoo_native/wntgcci.pro/LibreOffice_Dev/archive/install/en-US/LibO-Dev_OOO350m1_Win_x86_install-arc_en-US/LibO-dev 3.5' <your_clone_dir>
+solenv/bin/linkoo '/tmp/LibO-Dev_OOO350m1_Win_x86_install-arc_en-US/LibO-dev 3.5' <your_clone_dir>
 And start debugging:

More information about the Libreoffice-commits mailing list