[MacPorts] #40858: gstreamer010 will not install on Mavericks
MacPorts
noreply at macports.org
Thu Oct 24 15:15:45 PDT 2013
#40858: gstreamer010 will not install on Mavericks
-------------------------------------+-----------------------------
Reporter: shaun.thomas.mccloud@… | Owner: rmstonecipher@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords: mavericks
Port: gstreamer010 |
-------------------------------------+-----------------------------
Comment (by mike.c.wilding@…):
gmessages.h as mentioned in the compile log defines G_LOG_DOMAIN to a NULL
character pointer if its value is not defined externally (line 143). It is
defined somewhere to g_log_domain_gstreamer, which does not exist. As a
workaround you can simply override the bad definition of G_LOG_DOMAIN by
appending "-DG_LOG_DOMAIN=0" to the end of the "configure.cflags-append"
in the Portfile (or rather a copy of the Portfile in a local Portfile
repository).
Alternatively try defining "g_log_domain_gstreamer" to 0 to avoid compiler
warnings about macro re-definition of G_LOG_DOMAIN.
{{{
configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common
-DG_LOG_DOMAIN=0
}}}
This allows gstreamer010 to build under Mavericks for me.
(According to http://lists.freedesktop.org/archives/gstreamer-
bugs/2004-May/007234.html, g_log_domain_gstreamer used to exist in
"gstlog.h". This file no longer exists in glib, but could be a clue to the
location of the rogue definition.)
--
Ticket URL: <https://trac.macports.org/ticket/40858#comment:9>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list