Apache OpenOffice (AOO) Bugzilla – Issue 38686
building SRC680_current on linux sparc
Last modified: 2006-04-29 10:20:01 UTC
record of the build step.
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
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.
Created attachment 20959 [details] patches for building with system db4
curl problem is solved - invalid issue 39720
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.
Created attachment 21557 [details] sparc linux patches m71
Created attachment 21558 [details] screenshot sparc linux m71
Retarget later as this task never ends...
Created attachment 22433 [details] patches for building linux sparc SRC680_m77
Created attachment 24556 [details] m87 patches
Created attachment 24557 [details] file needed in bridges/source/spp_uno/gcc3_linux_sparc
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.
This is overtaken by http://wiki.services.openoffice.org/wiki/Main_Page
closed