[Trilinos-Users] Teuchos build error on Mac
Pat Notz
patnotz at gmail.com
Thu Mar 24 16:28:37 MDT 2011
I just ran into this problem myself. It's related to the check for
binutils -- it seems that finding binutils assumes the existence of
link.h (I had binutils installed but the header is not part of that).
I fixed it by adding this to my cmake command line: -D
TPL_ENABLE_BinUtils:BOOL=OFF
~ Pat
On Thu, Mar 24, 2011 at 3:51 PM, Jonathan Hu <jhu at sandia.gov> wrote:
> All,
>
> I've encountered a build error on a Mac, running 10.5.8 and gcc 4.5.2.
> The error is
>
> [ 61%] Building CXX object
> packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_stacktrace.cpp.o
> /Users/jhu/Trilinos/dev/Trilinos/packages/teuchos/src/Teuchos_stacktrace.cpp:62:18:
> fatal error: link.h: No such file or directory
>
> The include of link.h is guarded by the macro HAVE_TEUCHOS_LINK, which seems
> to get defined if binutils and a version of gcc are detected. However,
> link.h is in a non-standard location, /usr/include/wx-2.8/wx/link.h. (I've
> checked a colleague's Mac, and link.h is in the same location on that
> machine, as well.)
>
> What am I missing? I'm attaching both my configure and cache file.
>
> Regards,
> Jonathan
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
More information about the Trilinos-Users
mailing list