Bug 40687

Summary: Libreoffice check for java packages even when building with --without-java
Product: LibreOffice Reporter: Tomáš Chvátal <tomas.chvatal>
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: detective.conan.1412
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: do_not_search_for_java_libs.patch
do_not_search_for_java_libs.patch

Description Tomáš Chvátal 2011-09-07 05:49:41 UTC
As per summary lbreoffice configure phase fails if one passed --without-java and certain java packages are not found. In combination with --with-system-jars/libs (not sure which ones) i have to append this code to make it pass configure phase:

392 	--without-system-beanshell
393 	--without-system-lucene
394 	--without-system-saxon
395 	--without-junit

Full configure line for those interested:

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --docdir=/usr/share/doc/libreoffice-3.4.3.2-r1/ --with-system-headers --with-system-libs --with-system-jars --with-system-db --with-system-dicts --enable-cairo --enable-cups --enable-fontconfig --enable-largefile --enable-randr --enable-randr-link --enable-unix-qstart-libpng --enable-Xaw --enable-xrender-link --disable-broffice --disable-crashdump --disable-dependency-tracking --disable-epm --disable-fetch-external --disable-gnome-vfs --disable-kdeab --disable-kde --disable-online-update --disable-pch --disable-rpath --disable-static-gtk --disable-strip-solver --disable-zenity --with-alloc=system --with-build-version=Gentoo official package --with-extension-integration --with-external-dict-dir=/usr/share/myspell --with-external-hyph-dir=/usr/share/myspell --with-external-thes-dir=/usr/share/myspell --with-external-tar=/var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/distdir --with-lang= --with-max-jobs=16 --with-num-cpus=1 --with-theme=crystal oxygen --with-unix-wrapper=libreoffice --with-vendor=Gentoo Foundation --with-x --without-afms --without-fonts --without-myspell-dicts --without-ppds --without-stlport --without-helppack-integration --disable-binfilter --enable-dbus --disable-crashdump --disable-evolution2 --disable-gconf --disable-gio --disable-lockdown --enable-graphite --enable-gstreamer --disable-gtk --disable-systray --disable-ext-scripting-beanshell --enable-kde4 --disable-ldap --enable-ext-mysql-connector --disable-mozilla --disable-odk --enable-opengl --enable-python --enable-ext-scripting-python --enable-vba --enable-activex-component --disable-neon --without-java --without-openldap --with-system-mysql-cppconn --without-system-mozilla --without-sun-templates --without-system-hsqldb --without-system-cppunit --without-system-sane-header --without-system-beanshell --without-system-lucene --without-system-saxon --without-junit --enable-ext-pdfimport --enable-ext-presenter-console --enable-ext-presenter-minimizer --with-about-bitmap=/var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/branding-about.png --with-intro-bitmap=/var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/branding-intro.png
Comment 1 Tomáš Chvátal 2011-09-08 05:21:50 UTC
Created attachment 50971 [details]
do_not_search_for_java_libs.patch

Patch (more hack?) to solve the issue.
Comment 2 Tomáš Chvátal 2011-09-08 05:29:57 UTC
Created attachment 50972 [details]
do_not_search_for_java_libs.patch

Updated to not include one cxx file that was added by accident.
Comment 3 Korrawit Pruegsanusak 2011-09-08 05:48:47 UTC
Please send the patch to the dev mailing list. Thanks!