Change History (10)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Is there a reason why the current instructions use autogenh.sh instead of just configure? Maybe the configure script was not present in pre-4.0 versions?
comment:3 by , 11 years ago
Try running configure in any version and see the results. Different autotools macros were used to create the original configure and it fails do detect some versions. Still present in 4.0 when using --with-system-python or whatever.
comment:4 by , 11 years ago
Did you manage to build it? Mine keeps failing in the tail_build module.
comment:5 by , 11 years ago
export VER=4.0.0.3 ./autogen.sh --with-build-version="${VER} Krejzi" \ --with-vendor="Krejzi" \ --with-unix-wrapper="libreoffice" \ --with-parallelism=3 \ --prefix=/usr \ --sysconfdir=/etc \ --with-lang="" \ --with-alloc=system \ --without-java \ --disable-gconf \ --disable-postgresql-sdbc \ --enable-dbus \ --enable-gio \ --enable-gstreamer \ --enable-kde4 \ --enable-gtk3 \ --enable-lockdown \ --enable-mergelibs \ --enable-odk \ --enable-opengl \ --enable-python=system \ --with-system-dicts \ --with-system-bluez \ --with-system-cairo \ --with-system-cppunit \ --with-system-curl \ --with-system-expat \ --with-system-graphite \ --with-system-hunspell \ --with-system-icu \ --with-system-jpeg \ --with-system-lcms2 \ --with-system-libpng \ --with-system-libwpd \ --with-system-libwpg \ --with-system-libwps \ --with-system-libxml \ --with-system-mesa-headers \ --with-system-neon \ --with-system-nss \ --with-system-odbc \ --with-system-openldap \ --with-system-openssl \ --with-system-poppler \ --with-system-redland \ --with-system-zlib \ --without-system-boost
I used this.
Remove --with-system-* parameter for stuff you don't have installed. Don't try to use system Boost.
comment:6 by , 11 years ago
I tried your instructions, with the following modifications: I don't have openldap, libwps, libwpg, libwpd, icu, hunspell, graphite, cppunit, bluez, gstreamer, gtk3 and gio so I removed those switches. Also I had to add --disable-cups and --without-doxygen, and I used --with-parallelism=8. I get the same build error though:
============= (6/11) Building module tail_build ============= Entering /sources/libreoffice-4.0.0.3/tail_build/prj gbuild module /sources/libreoffice-4.0.0.3/tail_build: make -f Makefile -j8 -rs all slowcheck gb_PARTIALBUILD=T /sources/libreoffice-4.0.0.3/Module_tail_build.mk:27: /sources/libreoffice-4.0.0.3//dictionaries/Module_dictionaries.mk: No such file or directory Makefile:17: *** Corrupted module target stack! . Stop.
I tried removing the --with-system-dicts option, since this error seems related to dictionaries, but it didn't help. I also tried downloading the dictionaries tarball and extracting it in the directory. Any ideas? I am confused why it builds on your system and not mine...
comment:7 by , 11 years ago
Ah yes, now I remember.
You should extract all 3 tarballs at the same time - they all go into one directory.
for file in \ libreoffice-4.0.0.3.tar.xz \ libreoffice-dictionaries-4.0.0.3.tar.xz \ libreoffice-help-4.0.0.3.tar.xz do tar xf ${file} done
After that, just change to libreoffice-4.0.0.3 and proceed with configure.
comment:9 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Don't try to build with system boost, especially with 1.53.0 ... Build will fail in every possible way. Also, ./download doesn't seem to do anything now. When you run "make" it downloads only few packages. Still building it, had some errors ...