[mythtv-users] Compile including /usr/bin/locale instead of /usr/include/locale.h

Jean-Yves Avenard jyavenard at gmail.com
Sun Jun 15 08:33:38 UTC 2014


On 15 June 2014 14:29, Lincoln Rogers <lincoln at performaplus.co.nz> wrote:
> Hi Mythtv users,
>
> While compiling mythtv (fixes/0.27) on a fresh mythbuntu install, I came
> across a strange error such as the following:
>
> make
> ccache g++ -c -m64 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
> -DNDEBUG -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith
> -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden
> -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time
> -fvisibility=hidden -D_REENTRANT -fPIC -DMMX -D_GNU_SOURCE -DUSING_VDPAU
> -DUSING_X11 -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSING_XRANDR
> -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DMUI_API -DQT_WEBKIT_LIB -DQT_SQL_LIB
> -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql
> -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I/usr/include -I/usr/bin
> -I/usr/include/libxml2 -I../../external/qjson/include


the more puzzling question is why you would have -I/usr/bin in your CC flags.

replacing <locale> with <locale.h> isn't the answer.

<locale> is a perfectly valid and standard libc++ header


More information about the mythtv-users mailing list