[Trilinos-Users] Teuchos build error on Mac

Jonathan Hu jhu at sandia.gov
Thu Mar 24 16:34:32 MDT 2011


Ross and Pat,

     Thanks for your suggestions.   Using -DTPL_ENABLE_BinUtils=OFF 
fixes the issue.

Jonathan

Bartlett, Roscoe A wrote on 03/24/2011 03:27 PM:
> Jonathan,
>
> The problem is that the TPL system is not finding the header link.h for BinUtils but is enabling it anyway.  This is a shortcoming in the TPL enable system.  I will program a fix and push it ASAP.
>
> -Ross
>
> P.S. For those working with a Trilinos release, you can always turn off tentatively enabled TPLs by configuring with, for example, -DTPL_ENABLE_BinUtils=OFF.   This will be fixed in the next major release of Trilinos (i.e. 10.8.0).
>
>
>> -----Original Message-----
>> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
>> users-bounces at software.sandia.gov] On Behalf Of Jonathan Hu
>> Sent: Thursday, March 24, 2011 4:16 PM
>> To: Bartlett, Roscoe A
>> Cc: trilinos-users at software.sandia.gov
>> Subject: Re: [Trilinos-Users] Teuchos build error on Mac
>>
>> Ross,
>>
>>       The list ate my attachments.  Here they are plus the CMake screen
>> output.
>>
>> Jonathan
>>
>> Bartlett, Roscoe A wrote on 03/24/2011 03:09 PM:
>>> Jonathan,
>>>
>>> What is the output from CMake (attach it)?
>>>
>>> -Ross
>>>
>>>
>>>> -----Original Message-----
>>>> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
>>>> users-bounces at software.sandia.gov] On Behalf Of Jonathan Hu
>>>> Sent: Thursday, March 24, 2011 3:52 PM
>>>> To: trilinos-users at software.sandia.gov
>>>> Subject: [Trilinos-Users] Teuchos build error on Mac
>>>>
>>>> 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_stacktr
>>>> ac
>>>> e.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
>



More information about the Trilinos-Users mailing list