<div dir="ltr">Thanks all. <div><br></div><div>I unsetenv-ed all compilers, and also unsetenv-ed my LD_LIBRARY_PATH and tried again. The build.log is much the same (and is attached). </div><div>Along with Mario's flagging of read_real_time being found, I see this error:</div><div><br></div><div><div>In file included from timer.c:29:</div><div>./cycle.h:112:9: error: unknown type name 'timebasestruct_t'</div><div>typedef timebasestruct_t ticks;</div></div><div><br></div><div>So I guess I have installed a library somewhere for some other reason (with homebrew, probably - I don't use macports) and now the LSST installer is trying to use that one instead of its own. But, I don't know what that library is, and presumably the other software I installed that needs it will stop working if I were to remove it. So, isn't the right thing to do to somehow force the LSST installer to ignore read_real_time if it exists on my system, and carry on as if the test had returned </div><div><br></div><div><span style="font-size:12.8000001907349px">   checking for read_real_time... no</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">like Mario's did? I don't know how to make that change in the installation script. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Alternatively, going back to Russell's note: I use homebrew, which is very useful. How do I "disable" this while I install the DM stack? Any disabling would need to be temporary, of course.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thanks for your help! </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Phil</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 9:47 PM, Mario Juric <span dir="ltr"><<a href="mailto:mjuric@astro.washington.edu" target="_blank">mjuric@astro.washington.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 5/15/15 12:33 , Phil Marshall wrote:<br>
><br>
> This *looks* like a genuine bug,  or maybe an undocumented need for some<br>
> compiler flags. I couldn't find any mention of this error in this email<br>
> list archive.<br>
><br>
> I am following Simon's instructions<br>
> at <a href="https://confluence.lsstcorp.org/display/SIM/Catalogs+and+MAF" target="_blank">https://confluence.lsstcorp.org/display/SIM/Catalogs+and+MAF</a> (like so<br>
> many of us MAF hopefuls) and running Mac OS X Yosemite.<br>
><br>
> The build.log is attached. All suggestions welcome!<br>
><br>
<br>
</span>Hi Phil,<br>
        I also suspect something is interfering with the normal build. Do you<br>
have other compilers on your path? Special libraries? Do you have CC<br>
and/or CXX defined?<br>
<br>
Here's some further evidence pointing to that:<br>
<br>
My Yosemite fftw build.log file:<br>
========<br>
....<br>
checking for read_real_time... no<br>
checking for time_base_to_time... no<br>
....<br>
========<br>
<br>
and the build.log that you attached:<br>
========<br>
....<br>
checking for read_real_time... yes<br>
checking for time_base_to_time... yes<br>
....<br>
========<br>
<br>
Based on some cursory reading on teh internets, read_real_time seems to<br>
be an AIX thing (!?).<br>
<br>
-- Mario<br>
<div class="HOEnZb"><div class="h5"><br>
> Cheers<br>
><br>
> Phil<br>
><br>
><br>
> pjm% eups distrib install sims_maf -t sims<br>
>   [  1/59 ]  cfitsio 3360.lsst1<br>
> done.<br>
>   [  2/59 ]  doxygen 1.8.5 (already installed)<br>
>  done.<br>
>   [  3/59 ]  eigen 3.2.0<br>
>  done.<br>
>   [  4/59 ]  fftw 3.3.3 ...<br>
><br>
> ***** error: from<br>
> /Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.log:<br>
>      return (((double)t1.tb_high - (double)t0.tb_high) * 1.0e9 +<br>
>                       ~~^~~~~~~~<br>
> ./cycle.h:125:46: error: member reference base type 'ticks' (aka 'int')<br>
> is not a structure or union<br>
>      return (((double)t1.tb_high - (double)t0.tb_high) * 1.0e9 +<br>
>                                            ~~^~~~~~~~<br>
> ./cycle.h:126:18: error: member reference base type 'ticks' (aka 'int')<br>
> is not a structure or union<br>
>              ((double)t1.tb_low - (double)t0.tb_low));<br>
>                       ~~^~~~~~~<br>
> ./cycle.h:126:38: error: member reference base type 'ticks' (aka 'int')<br>
> is not a structure or union<br>
>              ((double)t1.tb_low - (double)t0.tb_low));<br>
>                                           ~~^~~~~~~<br>
> 2 warnings and 8 errors generated.<br>
> make[2]: *** [timer.lo] Error 1<br>
> make[2]: *** Waiting for unfinished jobs....<br>
> mv -f .deps/tensor8.Tpo .deps/tensor8.Plo<br>
> mv -f .deps/tensor9.Tpo .deps/tensor9.Plo<br>
> mv -f .deps/tile2d.Tpo .deps/tile2d.Plo<br>
> make[1]: *** [all-recursive] Error 1<br>
> make: *** [all] Error 2<br>
> + exit -4<br>
> eups distrib: Failed to build fftw-3.3.3.eupspkg: Command:<br>
> source /Users/pjm/lsst/eups/bin/setups.sh; export<br>
> EUPS_PATH=/Users/pjm/lsst;<br>
> (/Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.sh) >><br>
> /Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.log 2>&1<br>
> 4>/Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.msg<br>
> exited with code 252<br>
><br>
><br>
</div></div><span class="im HOEnZb">> _______________________________________________<br>
> dm-users mailing list<br>
> <a href="mailto:dm-users@lists.lsst.org">dm-users@lists.lsst.org</a><br>
> <a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank">https://lists.lsst.org/mailman/listinfo/dm-users</a><br>
><br>
<br>
<br>
</span><span class="HOEnZb"><font color="#888888">--<br>
Mario Juric,<br>
UW Astronomy Faculty | UW eScience | LSST DM Project Scientist<br>
Web : <a href="http://research.majuric.org" target="_blank">http://research.majuric.org</a>      Phone : <a href="tel:%2B1%20609%20933%201033" value="+16099331033">+1 609 933 1033</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
dm-users mailing list<br>
<a href="mailto:dm-users@lists.lsst.org">dm-users@lists.lsst.org</a><br>
<a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank">https://lists.lsst.org/mailman/listinfo/dm-users</a><br>
</div></div></blockquote></div><br></div>