[MacPorts] #40914: mplayer-devel @36449_0 build fail Mavericks
#40914: mplayer-devel @36449_0 build fail Mavericks ----------------------------+-------------------------------- Reporter: adam.bartley@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ----------------------------+-------------------------------- I'm almost all the way through my re-installs (including successfully patching the gstreamer1 problem), but this has me stumped. I can't see that it's a dependancy problem. Your advice appreciated. Log attached. AB -- Ticket URL: <https://trac.macports.org/ticket/40914> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => acho@… * cc: jeremyhu@… (added) * port: => mplayer-devel Comment: The errors seem to relate to missing OpenGL constants, e.g.: {{{ :info:build libvo/vo_corevideo.m:469:11: error: use of undeclared identifier 'GL_BLEND' }}} These would be provided by mesa, but mesa is not in mplayer-devel's dependency chain. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by adam.bartley@…): Thanks for that. Sounds clear to me. I have checked that I have mesa installed: mesa @8.0.4_2 (x11, graphics). Would it require a later version, or is there some explicit linking missing? (Sorry if that's unclear, my limit is perl scripting, I'm ashamed to say.) -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by jeremyhu@…): No, vo_corevideo.m doesn't use Mesa. It uses OpenGL.framework ... GL_BLEND is defined in <OpenGL/gl.h> {{{ /System/Library/Frameworks/OpenGL.framework/Headers/gl.h:#define GL_BLEND 0x0BE2 }}} -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by jeremyhu@…): Yeah, I don't see vo_corevideo.m including OpenGL headers... that's the issue. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by peter.fuereder@…): Replying to [ticket:40914 adam.bartley@…]: I am not using macports, but I tried also to compile latest developer mplayer under 10.9 and got same Error. It seems apple changed something in include or such (I am no experienced programmer) I added #include <OpenGL/gl.h> in the libvo/vo_corevideo.m file and got mplayer to compile. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by adam.bartley@…): That has worked for me, too. Well done that man. Thanks for everyone's help. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by holms@…): Replying to [comment:5 peter.fuereder@…]:
Replying to [ticket:40914 adam.bartley@…]:
I am not using macports, but I tried also to compile latest developer mplayer under 10.9 and got same Error. It seems apple changed something in include or such (I am no experienced programmer)
I added #include <OpenGL/gl.h> in the libvo/vo_corevideo.m file and got mplayer to compile.
This also worked for me in maverics: {{{ sudo port fetch mplayer-devel sudo port extract mplayer-devel cd /opt/local/var/macp orts/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mplayer-devel/work/trunk/sudo port configure mplayer-devel sudo vim libvo/vo_corevideo.m # added #include <OpenGL/gl.h> sudo port configure mplayer-devel sudo port build mplayer-devel sudo port install mplayer-devel }}} -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by cielartisan@…): This also fixes MPlayer-1.1. Thank you so much. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+-------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mplayer-devel | -----------------------------+-------------------- Comment (by cal@…): In r112751 for `mplayer`, `mplayer-devel` to follow. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40914: mplayer-devel @36449_0 build fail Mavericks -----------------------------+----------------------- Reporter: adam.bartley@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: mavericks Port: mplayer-devel | -----------------------------+----------------------- Changes (by cal@…): * status: new => closed * keywords: => mavericks * resolution: => fixed Comment: In r112753 for `mplayer-devel`. -- Ticket URL: <https://trac.macports.org/ticket/40914#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts