Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Raphael make sure you have the command line tools installed through xcode
as well.


On Wed, Apr 24, 2013 at 12:06 AM, <foss@psi-si.com> wrote:

Hi,

New report about building LibreOffice on a clean Mac OS X 10.7/XCode 4.5.

10.6 SDK is from Xcode 4.3.2 dmg.

I switch to Libro 4 from git://gerrit.libreoffice.org/core

Here the present compilers :

 Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
 /usr/bin/clang

 gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
 /usr/bin/i686-apple-darwin11-llvm-gcc-4.2

 gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
 /usr/local/bin/gcc-4.2
 Get from
https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg

Note : Clang is the default compiler

Builds failed with each of their compilers.

My last autogen.sh configuration :
./autogen.sh  --without-doxygen --disable-python --without-help \
--without-helppack-integration --without-myspell-dicts
 --with-macosx-sdk=10.6 \
CC="/usr/bin/clang -m32" \
CXX="/usr/bin/clang++ -m32" \
OBJCFLAGS=" -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk"
\
OBJCXXFLAGS=" -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk"

OBJCFLAGS and OBJCXXFLAGS are to force to not search includes in
/Developper

I force compiler with CC and CCXX, preprocessor with
CXXCPP="/usr/bin/i686-apple-darwin11-g++-4.2.1 -E"
Maybe I should try different linkers.

I get a different error for each combination, like this one :

[build LNK] Library/updatefeed.uno.dylib
Undefined symbols for architecture i386:
  "[build LNK] Library/libupdchk.dylib
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::operator
com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&()
const", referenced from:
      non-virtual thunk to pq_sdbc_driver::BaseResultSet::getStatement()in
pq_baseresultset.o


May you post your complete toolchain ?

Best regards,
   Raphaƫl

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice




-- 
Jonathan Aquilina

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.