Thanks Ulrich.
As always - you got it!
All the best,
Oded

On Feb 3, 7:31 pm, Ulrich auf dem Keller <[email protected]> wrote:
> Hi Oded,
>
> the workaround is to comment out conditions for LITTLE_ENDIAN in 
> /extern/ProteoWizard/pwiz/pwiz/utility/misc/endian.hpp:
>
> change to:
>
> // #if (defined(PWIZ_GCC) && defined(__BYTE_ORDER) && 
> __BYTE_ORDER==__LITTLE_ENDIAN) || \
> //     (defined(__DARWIN_BYTE_ORDER) && 
> __DARWIN_BYTE_ORDER==__DARWIN_LITTLE_ENDIAN) || \
> //     (defined(__DARWIN_10_6_AND_LATER) && defined(__LITTLE_ENDIAN__)) || \
> //     (defined(__MINGW32__)) || \
> //     (defined(__i386__)) || \
> //     (defined(PWIZ_MSVC))
> #define PWIZ_LITTLE_ENDIAN
> // #endif
>
> // #if (defined(PWIZ_GCC) && defined(__BYTE_ORDER) && 
> __BYTE_ORDER==__BIG_ENDIAN)
> // #define PWIZ_BIG_ENDIAN
> // #endif
>
> #if defined(PWIZ_LITTLE_ENDIAN) && defined(PWIZ_BIG_ENDIAN)
> #error "This isn't happening."
> #endif
>
> #if !defined(PWIZ_LITTLE_ENDIAN) && !defined(PWIZ_BIG_ENDIAN)
> #error "Unsupported platform: probably need a platform-specific define above."
> #endif
>
> changing DARWIN_10_6 to 10_7 didn't help.
>
> Maybe, someone figured out the correct platform definition for 10.7?
>
> Cheers
>
> Ulrich
>
> On 2012-02-03, at 6:20 AM, Oded wrote:
>
>
>
>
>
>
>
> > Hi all,
> > I trying to build version TPP 4.5.1 on OS X 10.7.3 and after "make
> > all" I end up getting the following:
> > ....
> > g++ -D__LINUX__ -DDEFAULT_TPP_INSTALL_ROOT=\"/usr/local/tpp/\" -
> > D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -D__INTEL__ -DINLINING -
> > DTPPLIB  -fPIC  -I. -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/.   -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/gzstream -I/Users/OK/Downloads/
> > TPP-4.5.1/trans_proteomic_pipeline/src/../extern -I/Users/OK/Downloads/
> > TPP-4.5.1/trans_proteomic_pipeline/src/../build/darwin/
> > libarchive-2.2.7/libarchive -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../build/darwin/expat-2.0.1/lib -I/Users/
> > OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../extern/
> > boost_1_45_0/boost -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/boost_1_45_0 -I/Users/OK/
> > Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/. -I/Users/OK/
> > Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../build/darwin/
> > fann-2.0.0/src/include -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../build/darwin/gsl-1.14 -I /opt/local/
> > include/ -iprefix /Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz/ -iwithprefix
> > pwiz/data/msdata -iwithprefix pwiz/data -I/Users/OK/Downloads/
> > TPP-4.5.1/trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz -
> > iwithprefix pwiz -iwithprefix pwiz/utility/misc -iwithprefix pwiz/
> > utility/math -I/Users/OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/
> > src/../extern/boost_1_45_0/boost -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/boost_1_45_0 -I/Users/OK/
> > Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/. -iwithprefix
> > libraries/boost_aux -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/Parsers/ramp  -iwithprefix libraries/
> > libsvm-3.0   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
> > DPWIZ_USER_VERSION_INFO_H=\"common/TPPVersion.h\"     -c -O2 -o /Users/
> > OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../build/darwin/
> > Serializer_mzXML.pwiz.o /Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz/pwiz/data/
> > msdata/Serializer_mzXML.cpp
> > g++ -D__LINUX__ -DDEFAULT_TPP_INSTALL_ROOT=\"/usr/local/tpp/\" -
> > D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -D__INTEL__ -DINLINING -
> > DTPPLIB  -fPIC  -I. -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/.   -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/gzstream -I/Users/OK/Downloads/
> > TPP-4.5.1/trans_proteomic_pipeline/src/../extern -I/Users/OK/Downloads/
> > TPP-4.5.1/trans_proteomic_pipeline/src/../build/darwin/
> > libarchive-2.2.7/libarchive -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../build/darwin/expat-2.0.1/lib -I/Users/
> > OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../extern/
> > boost_1_45_0/boost -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/boost_1_45_0 -I/Users/OK/
> > Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/. -I/Users/OK/
> > Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../build/darwin/
> > fann-2.0.0/src/include -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../build/darwin/gsl-1.14 -I /opt/local/
> > include/ -iprefix /Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz/ -iwithprefix
> > pwiz/data/msdata -iwithprefix pwiz/data -I/Users/OK/Downloads/
> > TPP-4.5.1/trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz -
> > iwithprefix pwiz -iwithprefix pwiz/utility/misc -iwithprefix pwiz/
> > utility/math -I/Users/OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/
> > src/../extern/boost_1_45_0/boost -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/boost_1_45_0 -I/Users/OK/
> > Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/. -iwithprefix
> > libraries/boost_aux -I/Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/Parsers/ramp  -iwithprefix libraries/
> > libsvm-3.0   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
> > DPWIZ_USER_VERSION_INFO_H=\"common/TPPVersion.h\"     -c -O2 -o /Users/
> > OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../build/darwin/
> > SHA1.pwiz.o /Users/OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/
> > src/../extern/ProteoWizard/pwiz/pwiz/utility/misc/SHA1.cpp
> > In file included from /Users/OK/Downloads/TPP-4.5.1/
> > trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz/pwiz/utility/
> > misc/SHA1.cpp:10:
> > /Users/OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/src/../extern/
> > ProteoWizard/pwiz/pwiz/utility/misc/endian.hpp:66:2: error: #error
> > "Unsupported platform: probably need a platform-specific define
> > above."
> > make: *** [/Users/OK/Downloads/TPP-4.5.1/trans_proteomic_pipeline/
> > src/../build/darwin/SHA1.pwiz.o] Error 1
>
> > Can someone advice?
> > Thanks,
> > Oded
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "spctools-discuss" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/spctools-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en.

Reply via email to