Hi

Following up on building TPP on Mac OS X. I just updated to 4.7 on Mac OS X 
10.8.5 also using clang (Apple LLVM version 5.0) provided by Xcode 5.0.2. At 
least on 10.8.5 I still ran into the same problem for proteowizard described 
here:http://sourceforge.net/p/proteowizard/mailman/message/31567983/ and thus 
switched to gcc-4.6 installed via homebrew. Still, there were many linking 
errors to architecture x86_64, which seems to be a specific Mac OS X issue and 
independent of clang or gcc-4.6. Particularly, msconvert did not build due to 
ignoring libpwiz.a that seemed to have the wrong architecture, although 'lipo 
-info' and 'otool' confirmed x86_64 for all files within the archive. This 
could be resolved by omitting boost libraries from the libpwiz.a archive, which 
got packed into it by 'ar' as indicated in Makefile.pwiz.incl.

Changing Makefile-pwiz-incl line 220 from

$(PWIZ_LIB): $(BOOST_LIBS) $(OBJS_PWIZ)

to

$(PWIZ_LIB): $(OBJS_PWIZ)

resolved the issue with building msconvert. Is it the new default to include 
the boost libraries in libpwiz.a?

Moreover, some linking problems seemed to be related to moving some builds to 
the main build directory (e.g. Dta2mzXML.o), but I have no idea why.

Now, everything seems to be fine again, and I want to thank the developers for 
all improvements and new features! Great job!

Just wanted to share this information, since it might be useful for the Mac OS 
X folks out there.

Ulrich

On Nov 1, 2013, at 8:25 PM, Dave Trudgian <[email protected]> 
wrote:

> I now have a modified version of TPP 4.6.3 that is building okay on OSX 10.9 
> Mavericks, using the new XCode compiler (clang 5.0). It is also building okay 
> on CentOS 6.4 with gcc 4.4.7
> 
> Boost is changed from 1.45 to 1.54.0
> 
> Quite a lot of files (95) are slightly modified due to boost changes, and to 
> silence errors from clang.
> 
> This is all currently *untested*. The changes were mainly made last night in 
> front of the TV, so I certainly need to go through and check them all, to 
> make sure that they are sensible. I'll try and do this soon. I'm certain 
> there are things that need to be fixed - i.e. my quick changes to get it 
> building could have stopped it working properly.
> 
> In the mean time, the code and changes are all visible in a git repo at:
> 
> https://bitbucket.org/dtrudg/tpp_mavericks
> 
> I'm building on OSX that has gnuplot, gd, and libpng installed via homebrew.
> 
> DT
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "spctools-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/spctools-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spctools-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to