Issue 38686 - building SRC680_current on linux sparc
Summary: building SRC680_current on linux sparc
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: sparcmoz
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 21:08 UTC by sparcmoz
Modified: 2006-04-29 10:20 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patches for building with system db4 (13.06 KB, patch)
2005-01-02 21:51 UTC, sparcmoz
no flags Details | Diff
sparc linux patches m71 (15.95 KB, text/plain)
2005-01-16 03:47 UTC, sparcmoz
no flags Details
screenshot sparc linux m71 (127.13 KB, image/png)
2005-01-16 03:49 UTC, sparcmoz
no flags Details
patches for building linux sparc SRC680_m77 (17.87 KB, patch)
2005-02-11 04:38 UTC, sparcmoz
no flags Details | Diff
m87 patches (21.26 KB, patch)
2005-04-03 04:03 UTC, sparcmoz
no flags Details | Diff
file needed in bridges/source/spp_uno/gcc3_linux_sparc (176 bytes, text/plain)
2005-04-03 04:06 UTC, sparcmoz
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2004-12-08 21:08:19 UTC
record of the build step.
Comment 1 sparcmoz 2004-12-20 06:10:52 UTC
I will make this task refer to "current" as the milestones go faster than i can
build them. There are two main issues for linux sparc:

(a) about berkeleydb, there is a problem with helpcontent2 which requires java
from db4 but the system db4 does not suit. so i use db4 java from SRX645_m52 and
otherwise system db4 with some patches to xmlhelp. this is helped by a useful
bug in --with-system-db3 see issue 34430 

(b) the installation builder works fine with deb or native but will not make
rpm. The native/deb version needs a flag for architecture see issue 39172
Comment 2 sparcmoz 2005-01-02 21:50:16 UTC
Building m68:
(a) revert curl to m67 due to patches problems issue 39720.

(b) cvs update -dP -r cws_src680_unxlngs01 source/cpp_uno/gcc3_linux_sparc

(b) using system db4 in order to build helpcontent2. I could not do this for db3
since there is no db3 java available on debian

For system db4 the followings steps:
(i) build and deliver berkeleydb and note where the files are delivered.
(ii) delete the delivered files and replace with system files for eaxmple I used
the latest available on debian:
/usr/share/java/libdb4.2-java-4.2.52.jar --> solver/680/unxlngs.pro/bin/db.jar
/usr/lib/libdb-4.3.so --> solver/680/unxlngs.pro/lib/libdb-4.3.so
/usr/lib/libdb_cxx-4.3.so--> solver/680/unxlngs.pro/lib/libdb_cxx-4.3.so
/usr/lib/libdb_java-4.2.so--> solver/680/unxlngs.pro/lib/libdb_java-4.2.so

To make sure the patches use the system headers it is safer not to copy these to
solver.

(iii) apply the patches (these may need adjusting)
(iii) ./configure --with-system-db3 (3)
(iv) build and deliver xmlhelp
Now should be OK to build helpcontent2.
Comment 3 sparcmoz 2005-01-02 21:51:31 UTC
Created attachment 20959 [details]
patches for building with system db4
Comment 4 sparcmoz 2005-01-06 08:53:44 UTC
curl problem is solved - invalid issue 39720
Comment 5 sparcmoz 2005-01-16 03:45:59 UTC
Attached are my patches for building linux sparc SRC680_m71, 
To build this I also did:
-internal build of mozilla 1.7.5 using cws_srx645_mozooo see issue 11424
-update connectivity with cws_src680_dba22
-update bridges with cws_src680_unxlngs01
./configure --enable-cups --with-system-db3 --enable-libart
copy berkeleydb files from system into solver as mentioned before.

Have now aligned unxlngs.mk with unxlngi6.mk so far as far as possible.

Note xmlsecurity not built yet due to issue 40714. Need to remove sections from
scp2/source/ooo/file_library_ooo.scp for any missing files.

jim@sun:~/ooo/bridges$ gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-6)

Result is packaged as debs, cannot build rpm yet.

Product runs nicely on my sunblade 100, see screenshot.
Comment 6 sparcmoz 2005-01-16 03:47:09 UTC
Created attachment 21557 [details]
sparc linux patches m71
Comment 7 sparcmoz 2005-01-16 03:49:13 UTC
Created attachment 21558 [details]
screenshot sparc linux m71
Comment 8 sparcmoz 2005-01-20 10:28:37 UTC
Retarget later as this task never ends...
Comment 9 sparcmoz 2005-02-11 04:38:53 UTC
Created attachment 22433 [details]
patches for building linux sparc SRC680_m77
Comment 10 sparcmoz 2005-04-03 04:03:35 UTC
Created attachment 24556 [details]
m87 patches
Comment 11 sparcmoz 2005-04-03 04:06:19 UTC
Created attachment 24557 [details]
file needed in bridges/source/spp_uno/gcc3_linux_sparc
Comment 12 sparcmoz 2005-04-19 03:58:15 UTC
m94: berkeleydb patches no longer required as the internal build is upgraded to
4.2. rpm patches stopped working but now deb can be built again.
Comment 13 sparcmoz 2006-04-29 10:03:05 UTC
This is overtaken by http://wiki.services.openoffice.org/wiki/Main_Page
Comment 14 sparcmoz 2006-04-29 10:20:01 UTC
closed