Well, that was painful
, but now it's finally compiling. Steps for future reference:
1) Download the source dump as described in
Getting the source.
2) Get ./configure to run. I ended up using this command line:
Code: Select all
./configure --with-use-shell=bash --with-system-libs --without-system-jars --without-system-icu --without-system-agg --without-system-lpsolve --without-system-mspack --disable-mozilla --disable-odk
And installed approx. 17 gazillion dependencies. (A few of the trickier ones are listed
here.)
3) Edit LinuxX86-64Env.Set.sh to set BUILD_DMAKE=yes, ENABLE_MEDIAWIKI=yes
4) source LinuxX86-64Env.Set.sh
5) ./bootstrap to compile dmake -- should run a bunch of C compilation stuff and spit out a dmake into your path. (This would also be a good time to run sudo apt-get purge dmake if you make the mistake of attempting to use the Ubuntu builtin dmake earlier...)
6) Run dmake 2>&1 >error.log, check the top of error.log and figure out where it's reading jars from:
Code: Select all
... -Dsolar.jar=/home/janip/oo/solver/300/unxlngx6.pro/bin ...
7) Drop in the jars we need in this directory:
Code: Select all
cp /usr/share/java/openoffice/* /home/janip/oo/solver/300/unxlngx6.pro/bin/
cp /home/janip/.openoffice.org/3/user/uno_packages/cache/uno_packages/vplv2e_/sun-wiki-publisher.oxt/commons-* /home/janip/oo/solver/300/unxlngx6.pro/bin/
First line is the standard OO jars, second set is the Apache Commons jars used by the Sun MediaWiki extension.
8) Compile!
And ignore the final "BUILD FAILED" about "registry/data not found", all you need is the mediawiki.jar.