This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi again Bob, I found the following comment from a different MacOS-X user: >> I have managed to get the Mcidas compile to complete by setting the >> HAVE_BSDGETTIMEOFDAY flag to 0 instead of 1 in tclConfig.sh, deleting >> libtcl8.5.a and reissuing make mcx I responded: > Excellent! I assume you meant you changed HAVE_BSDGETTIMEOFDAY in > tclConfig.h, not .sh. > By the way, I believe that the other way that this could be handled > is by modifying the ccopts= flag in mccomp.sh to include setting > of HAVE_BSDGETTIMEOFDAY to zero (-DHAVE_BSDGETTIMEOFDAY=0); clobbering > the McIDAS build up to that point (make clobber); and then starting > the build anew (make mcx). Can you try the latter approach: <as 'mcidas'> cd ~mcidas/mcidas2009/src -- edit the file 'mccomp.sh': - change the 'ccopts' in in the Darwin section (line 1208): change: ccopts="-ansi -DFREEBSD -DREGEXEC_STRSTR -D_GNU_SOURCE -no-cpp-precomp -I/usr/X11R6/include" to: ccopts="-ansi -DFREEBSD -DREGEXEC_STRSTR -DHAVE_BSDGETTIMEOFDAY=0 -D_GNU_SOURCE -no-cpp-precomp -I/usr/X11R6/include" then: make clobber make Please let me know the result of this approach. Cheers, Tom -- **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: BNP-247945 Department: Support McIDAS Priority: Normal Status: Closed