1 | Here is what I have found thus far. I have done some functional
|
---|
2 | testing but I would be grateful for your assistance in verifying
|
---|
3 | and correcting. This is all referencing the 2.0.2 sources as
|
---|
4 | available for download at
|
---|
5 | http://download.openoffice.org/2.0.2/source.html
|
---|
6 | (which is not all that easy to find from the home page).
|
---|
7 |
|
---|
8 | The Linux-PAM headers are documented as a required dependency
|
---|
9 | on Linux, though not in a terribly obvious place.
|
---|
10 | I do not address building without these headers, though you
|
---|
11 | may choose to. I have no easy way to test this case at this point.
|
---|
12 | It might be simplest to tar up the headers so they can be slapped
|
---|
13 | into the include directory rather than patch things in the build,
|
---|
14 | or give some instructions for doing this from the PAM tarball.
|
---|
15 | http://tools.openoffice.org/dev_docs/build_linux.html
|
---|
16 |
|
---|
17 | There was a problem in 2.0.0 locating the NSPR headers when NSS
|
---|
18 | was installed system wide. This has been corrected in 2.0.2.
|
---|
19 |
|
---|
20 | If using the system installed Java, ensure that JAVA_HOME is
|
---|
21 | set to its location, e.g.
|
---|
22 |
|
---|
23 | /opt/jdk1.5.0_06
|
---|
24 |
|
---|
25 | Also ensure that the library directories, e.g.
|
---|
26 |
|
---|
27 | /opt/jdk1.5.0_06/jre/lib/i386
|
---|
28 | /opt/jdk1.5.0_06/jre/lib/i386/xawt
|
---|
29 |
|
---|
30 | are in /etc/ld.so.conf and run ldconfig if needed. The xawt
|
---|
31 | directory is needed to locate libmawt.so. The build uses the
|
---|
32 | presence of a definition of JAVA_HOME to determine that the system
|
---|
33 | installed Java is to be used rather than the one included in the
|
---|
34 | OpenOffice distribution. I have not found a --with and --without
|
---|
35 | control on this.
|
---|
36 |
|
---|
37 | The --with-system-db option has caused confusion. It refers not
|
---|
38 | to the Java bindings of the Berkeley DB installed in LFS but to
|
---|
39 | a different product written in Java named Berkeley DB Java Edition.
|
---|
40 | http://www.sleepycat.com/products/bdbje.html
|
---|
41 | In all probability this is not installed and the --with-system-db
|
---|
42 | option should not be given.
|
---|
43 |
|
---|
44 | I made patches to fix the following build problems. None of the other
|
---|
45 | patches in the 2.0.0 build instructions have been applied.
|
---|
46 |
|
---|
47 | Still a few sources fail to compile under Java 1.5 due to use of enum
|
---|
48 | as an identifier. In Java 1.5, enum is a new reserved word.
|
---|
49 |
|
---|
50 | The --with-firefox configuration selection is not honored in the extensions
|
---|
51 | build. The build accesses the potentially nonexistent mozilla-plugin.pc
|
---|
52 | rather than firefox-plugin.pc. It was necessary to change the configuration
|
---|
53 | system to export the --with-firefox setting in variable SYSTEM_FIREFOX
|
---|
54 | (which is valid only if SYSTEM_MOZILLA is equal to YES) in order to have
|
---|
55 | this accessible to the place in the build where it must be tested.
|
---|
56 |
|
---|
57 | The filter configuration build fails when the system Java is used. There are
|
---|
58 | three problems within the makefile:
|
---|
59 |
|
---|
60 | The guard tests for JDK equal to gcj, rather than for any host Java
|
---|
61 | system being used. The correct test is JAVA_HOME not null.
|
---|
62 |
|
---|
63 | An incorrect (undefined) variable is used to locate the xalan classes.
|
---|
64 | The correct variable is STAR_RESOURCEPATH.
|
---|
65 |
|
---|
66 | The makefile fails to distinguish between setting an environment variable
|
---|
67 | and setting a makefile variable, so the code that sets the makefile
|
---|
68 | variable is ineffective in assisting with class resolution. Change
|
---|
69 | the makefile to pass the -classpath argument instead.
|
---|
70 |
|
---|
71 | (In 2.0.0, this failure situation went undetected and caused the
|
---|
72 | resulting build to throw an exception immediately upon startup.
|
---|
73 | In 2.0.2 this situation was detected and caused a build failure.)
|
---|
74 |
|
---|
75 | The packaging system fails when --disable-odk is selected.
|
---|
76 |
|
---|
77 | This patch is still to be developed at this writing, but the required
|
---|
78 | behavior is understood. Until then the --disable-odk option cannot be
|
---|
79 | given.
|
---|
80 |
|
---|
81 | (In process of trying this I learned that their build utility dmake
|
---|
82 | only supports a half dozen or so functions and findstring is not among
|
---|
83 | them. Caveat if you are ever having to change something.)
|
---|
84 |
|
---|
85 | The slap-in-new-beanshell/configure/build/install instructions remain valid
|
---|
86 | with the following modifications. The build is six hours on my system.
|
---|
87 |
|
---|
88 | The build result directory is changed (yet deeper!)
|
---|
89 |
|
---|
90 | cd instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt
|
---|
91 | cp -a -v openoffice.org2.0 /opt/openoffice-2.0.2
|
---|
92 |
|
---|
93 | I did not find the claim "If you have installed desktop-file-utils-0.10
|
---|
94 | and use KDE, there is no further configuration necessary." to be true. I
|
---|
95 | needed to do the by-hand .desktop file copy on a KDE system in order to have
|
---|
96 | the applications appear in the menus. |
---|