On 30 Sep 2016, at 5:46 pm, Alexander Hansen <alexanderk.han...@gmail.com> wrote: > >> So you might first try to add the above definition to ConfigureParams (see >> attached .info); however I found >> on Yosemite that ac_cv_func_clock_gettime=no is already set by default (see >> build/config.log in the package >> build dir how it’s set on your system). >> So if that does not work, you’d have to uncomment the PatchFile*, and in the >> PatchScript the %{default_script}, >> lines in the .info file if you wish to test that patch under Sierra. It does >> compile under Yosemite and passes all >> tests except one (the same failure shows up with the standard setup), but I >> cannot tell if it resolves the problem >> under 10.12... >> >> HTH >> Derek >> >> <guile20.info><guile20.patch>——————————————————————————————————————— > > If you want to set ac_cv_func_clock_getttime, you can try doing that in > guile20’s CompileScript by changing > > ../configure %c > > to > > ac_cv_func_clock_gettime=no ../configure %c > > (no guarantees that it works—I haven’t had a chance to try it on Sierra). > In the info file I had attached I had added it to ConfigureParams, which works the same afaict. But on Yosemite that’s already the automatic setting; if I force it instead to ac_cv_func_clock_gettime=yes the build fails then in a different step on
CC libguile_2.0_la-stime.lo ../../libguile/stime.c:123:3: warning: implicit declaration of function 'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration] clock_gettime (CLOCK_REALTIME, &ts); ^ ../../libguile/stime.c:123:18: error: use of undeclared identifier 'CLOCK_REALTIME' clock_gettime (CLOCK_REALTIME, &ts); ^ ../../libguile/stime.c:832:22: error: use of undeclared identifier 'CLOCK_REALTIME' if (clock_gettime (CLOCK_REALTIME, &posix_real_time_base) == 0) ^ so I am a bit sceptical if this will really fix it on Sierra… Cheers, Derek ------------------------------------------------------------------------------ _______________________________________________ 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