On 3/12/16 07:51, Alexander Hansen wrote: > >> On Dec 2, 2016, at 21:02, Gary K. Olson <garykol...@mac.com >> <mailto:garykol...@mac.com>> wrote: >> >> I was compiling octave-3.8.2-11, and the build failed after not >> finding *member named 'mkostemp' in the global namespace.* Not sure >> that missing member is error but recursive errors did occur while >> compiling lapack-xtra/*.f files. Here is build script of that portion: [] >> >> Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:86: >> *../../libgnu/stdlib.h:668:19: **error: **no member named >> 'mkostemp' in the global namespace* >> _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int >> /*flags*/)); >> *~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* >> *../../libgnu/stdio.h:266:45: **note: *expanded from macro >> '_GL_CXXALIAS_SYS' >> static rettype (*func) parameters = ::func; \ []... >> >> Failed: phase compiling: octave-3.8.2-11 failed >> >> My system info is: >> >> Package manager version: 0.41.1 >> Distribution version: selfupdate-rsync Fri Dec 2 20:05:59 2016, >> 10.12, x86_64 >> Trees: local/main stable/main local/injected >> Xcode.app: 8.1 >> Xcode command-line tools: 8.1.0.0.1.1476494586 >> Max. Fink build jobs: 4 >> >> Any help would be appreciated. Thank you. >> >> Gary K Olson > > Please try again, using a single build job, and post starting with the > entire line of output just before the first error message. Errors with > multiple jobs are harder to track down.
This is a bug that homebrew and macports also have noticed, caused by the new function mkostemp in Sierra that octave doesn't yet know about. Octave uses its own stdlib.h that does not have this function. A workaround is to run configure as ./configure %c "ac_cv_func_mkostemp=no" With this, it built for me (after I updated fink-package-precedence to the latest version, anyway; with the older one that was installed it crashed at the end due to an otool error.) -- Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users