[ooo-build] Building with CMake, status and future

Jussi Pakkanen jpakkane at gmail.com
Sun Aug 9 10:09:18 PDT 2009


Hi

I have managed to get a bit further in compiling OOo with CMake.
Currently I can (with some caveats) build all the tools necessary to
compile the IDL files from udkapi and offapi into databases and futher
to C++ header files and Java .class files. This is about as far as I
can get to on my own. So if there are people who want to see this
happen, now is the time to get cracking.

Attached is the newest source drop. Just untar it over a freshly
extracted OOo_3.1.0_src_core.tar.bz2. Then just do:

cd OOO310_m11
mkdir builddir
cd builddir
cmake -DCMAKE_BUILD_TYPE=debug ..
make

After a while you get a segfault from idlc. You need to copy a working
binary from an existing OOo build and also point LD_LIBRARY_PATH to
existing build tree dir that has the .so's.

cp [path/to/working/idlc] idlc/source/idlc
make

Soon you'll get the same error from regmerge. The fix is the same as above.

cp [path/to/working/regmerge] registry/tools/regmerge
make

After a while you'll get a similar error again.

cp [path/to/working/javamaker] codemaker/source/javamaker/javamaker
cp [path/to/working/cppumaker] codemaker/source/cppumaker/cppumaker
make

Eventually you'll get either a compile error from Java/C++ or an
indication that java/cppumaker can't generate files for some object.
Now you have reached the end.

All these segfaults are probably caused by the same
miscompilation/config error in libsal that I mentioned in my earlier
mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ooo31_cmake.tar.bz2
Type: application/x-bzip2
Size: 37427 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/ooo-build/attachments/20090809/70e13129/attachment-0001.bin 


More information about the ooo-build mailing list