[Insight-users] ITK build fails on big endian test on OS X 10.8.3/Intel

Sohail Shafii ssshafii at ucdavis.edu
Mon May 20 13:12:47 EDT 2013


I'm using /usr/local/bin/gcc, which is:
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin11.3.0/4.7.0/lto-wrapper
Target: x86_64-apple-darwin11.3.0
Configured with: ./configure
Thread model: posix
gcc version 4.7.0 (GCC)

I assume that clang is in
/Applications/Xcode.app/Contents/Developer/usr/bin/. Which is:
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure
--disable-checking --enable-werror
--prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)


I'll try that one right now with 4.3.2. Not familiar with obtaining rc
versions of ITK. I assume you mean checkout the git version and switch to
4.4rc1?

Thanks for the help, Sohail


On Mon, May 20, 2013 at 9:53 AM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:

> Hello Sohail,
>
> Some changes have been made to the way GCC_XML is build since 4.3.2. Can
> you give 4.4rc1 a try?
>
> Also what compiler are you using? This version of gcc on OSX is know to
> have some problems:
>
> $ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.11.00)
>
> You should try to compile ITK with clang.
>
> Brad
>
>
>
>
> On May 20, 2013, at 12:23 PM, Sohail Shafii <ssshafii at ucdavis.edu> wrote:
>
> > Hi,
> >
> > I've been trying to build ITK, and I get this error:
> > [  7%] Performing configure step for 'GCC_XML'
> > -- Check if the system is big endian
> > -- Searching 16 bit integer
> > CMake Error at /usr/local/share/cmake-2.8/Modules/TestBigEndian.cmake:44
> (message):
> >   no suitable type found
> > Call Stack (most recent call first):
> >   GCC/config_cmake/CMakeLists.txt:158 (TEST_BIG_ENDIAN)
> >
> >
> > -- Configuring incomplete, errors occurred!
> > make[2]: ***
> [Wrapping/Generators/GccXML/gccxml/src/GCC_XML-stamp/GCC_XML-configure]
> Error 1
> > make[1]: *** [Wrapping/Generators/GccXML/CMakeFiles/GCC_XML.dir/all]
> Error 2
> > make[1]: *** Waiting for unfinished jobs....
> >
> > System is MacBook Pro running OS X 10.8.3. This is ITK 4.3.2 and I'm
> running Cmake 2.8.11. Not sure why it's trying to run this test on my x86
> machine. Please advise.
> >
> > Thanks,
> > Sohail
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.php
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130520/2dbdc75d/attachment.htm>


More information about the Insight-users mailing list