https://bugs.freedesktop.org/show_bug.cgi?id=54070
--- Comment #4 from Tor Lillqvist <[email protected]> --- Refering to NeoOffice build instructions is quite useless, that fork is very much different from LibreOffice, especially in build mechanisms. (Also, their license is incompatible with ours; any code taken from NeoOffice will not be accepted into LibreOffice.) As Alex mentions, indeed, one needs to install automake and autoconf before building LibreOffice with Xcode 4. It's best (in my opinion) to simply build them oneself and install in some prefix not shared by any other 3rd-party software installed, for instance, /opt/autotools, and then add /opt/autotools/bin to PATH. That way one can be sure there is nothing else in that prefix which would pollute the expected build environment. I.e., for a LibreOffice build with a current Xcode, and without building any Mozilla stuff (which is how we, as far as I understand, recommend volunteers in general build a development build of LibreOffice) only Xcode, automake and aclocal should be necessary. Anyway; there are obviously many ways in which a build can go wrong, we can't test all possible combinations of install locations of tools, versions, etc etc. So sorry, I can't really help with the errors the initial report describes. They are unfamiliar to me. For me, master builds currently fine using Clang from the latest Xcode using the following autogen.lastrun: --disable-binfilter --disable-build-mozilla --disable-mozilla --disable-odk --disable-online-update --enable-debug=cppu/ cppuhelper/ sal/ sfx2/ stoc/ sw/ toolkit/ unotools/ vcl/ --enable-epm --enable-werror --with-java-target-version=1.5 --with-macosx-version-min-required=10.6 --with-max-jobs=1 --with-num-cpus=1 --without-doxygen --without-help --without-helppack-integration --without-myspell-dicts (Not all of those options are essential of course, but I use them out of inertia, laziness, or a wish to make the build a bit faster by skipping unessential stuff.) --- Comment #5 from Tor Lillqvist <[email protected]> --- Refering to NeoOffice build instructions is quite useless, that fork is very much different from LibreOffice, especially in build mechanisms. (Also, their license is incompatible with ours; any code taken from NeoOffice will not be accepted into LibreOffice.) As Alex mentions, indeed, one needs to install automake and autoconf before building LibreOffice with Xcode 4. It's best (in my opinion) to simply build them oneself and install in some prefix not shared by any other 3rd-party software installed, for instance, /opt/autotools, and then add /opt/autotools/bin to PATH. That way one can be sure there is nothing else in that prefix which would pollute the expected build environment. I.e., for a LibreOffice build with a current Xcode, and without building any Mozilla stuff (which is how we, as far as I understand, recommend volunteers in general build a development build of LibreOffice) only Xcode, automake and aclocal should be necessary. Anyway; there are obviously many ways in which a build can go wrong, we can't test all possible combinations of install locations of tools, versions, etc etc. So sorry, I can't really help with the errors the initial report describes. They are unfamiliar to me. For me, master builds currently fine using Clang from the latest Xcode using the following autogen.lastrun: --disable-binfilter --disable-build-mozilla --disable-mozilla --disable-odk --disable-online-update --enable-debug=cppu/ cppuhelper/ sal/ sfx2/ stoc/ sw/ toolkit/ unotools/ vcl/ --enable-epm --enable-werror --with-java-target-version=1.5 --with-macosx-version-min-required=10.6 --with-max-jobs=1 --with-num-cpus=1 --without-doxygen --without-help --without-helppack-integration --without-myspell-dicts (Not all of those options are essential of course, but I use them out of inertia, laziness, or a wish to make the build a bit faster by skipping unessential stuff.) --- Comment #6 from Tor Lillqvist <[email protected]> --- Sorry for the doubled comment, bugzilla is a bit slow or something... --- Comment #7 from Sergey Farbotka <[email protected]> --- After 3 days of attempts to build LibreOffice on OS X 10.8 with Xcode 4.5 I finally succeeded. I added MacOSX10.6.sdk to Xcode 4.5 and run autogen.sh with next args: --disable-binfilter --disable-build-mozilla --disable-mozilla --disable-odk --disable-online-update --disable-python --enable-debug=cppu/ cppuhelper/ sal/ sfx2/ stoc/ sw/ toolkit/ unotools/ vcl/ --enable-epm --with-java-target-version=1.6 --with-macosx-version-min-required=10.6 --with-max-jobs=2 --with-num-cpus=2 --without-doxygen --without-help --without-helppack-integration --without-myspell-dicts CC=clang -m32 CXX=clang++ -m32 If you use clang, adding --enable-werror is not good idea, because currently LibreOffice has dozens of unfixed warnings. gcc/g++ also doesn't work for me. Go http://sfarbotka.blogspot.com/2012/10/build-libreoffice-on-osx108-with-xcode45.html to see more details. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
