[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found |
Date: |
Sun, 13 Oct 2019 11:00:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #5, bug #57049 (project octave):
If this is a general (but new) requirement for Mac systems then a configure
test should be written to determine when it is required and then LDFLAGS
changed.
There is already a macro OCTAVE_HAVE_FRAMEWORK in m4/acinclude.m4 which can be
used to check whether a particular framework (like Carbon) exists.
See this example in configure.ac
### Check for the Carbon framework on macOS systems.
OCTAVE_HAVE_FRAMEWORK([Carbon],
[[#include <Carbon/Carbon.h>]], [[CGMainDisplayID ()]],
[have_framework_carbon=yes], [have_framework_carbon=no])
if test $have_framework_carbon = yes; then
AC_DEFINE(HAVE_FRAMEWORK_CARBON, 1,
[Define to 1 if framework CARBON is available.])
CARBON_LIBS="-framework Carbon"
AC_MSG_NOTICE([adding -framework Carbon to CARBON_LIBS])
AC_SUBST(CARBON_LIBS)
fi
Maybe something similar should exist for framework CoreFoundation. The CARBON
libraries themselves are pulled in via this statement in configure.ac
LIBOCTINTERP_LINK_DEPS="$FT2_LIBS $HDF5_LIBS $MAGICK_LIBS $Z_LIBS $FFTW_XLIBS
$OPENGL_LIBS $FONTCONFIG_LIBS $FREETYPE_LIBS $X11_LIBS $CARBON_LIBS
$GL2PS_LIBS $LLVM_LIBS $JAVA_LIBS $LAPACK_LIBS"
There are similar LINK_DEPS for LIBOCTAVE if that is where the dependency
belongs.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57049>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/12
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/12
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/12
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Rik, 2019/10/12
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Carlo de Falco, 2019/10/13
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found,
Rik <=
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/14
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/14
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/14
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Rik, 2019/10/14
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Mike Miller, 2019/10/14
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/15
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Mike Miller, 2019/10/15
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Rik, 2019/10/22
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Andrew Janke, 2019/10/23
- [Octave-bug-tracker] [bug #57049] Mac build failure: CFLocaleCopyCurrent from CoreFoundation not found, Carlo de Falco, 2019/10/23