Opened 11 years ago
Closed 11 years ago
#40914 closed defect (fixed)
mplayer-devel @36449_0 build fail Mavericks
Reported by: | adamb2903 | Owned by: | acho@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | mavericks | Cc: | jeremyhu (Jeremy Huddleston Sequoia), cielartisan@…, pmetzger (Perry E. Metzger), tedescn@… |
Port: | mplayer-devel |
Description
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
Attachments (1)
Change History (14)
Changed 11 years ago by adamb2903
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu@… added |
---|---|
Owner: | changed from macports-tickets@… to acho@… |
Port: | mplayer-devel added |
comment:2 Changed 11 years ago by adamb2903
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.)
comment:3 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
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
comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Yeah, I don't see vo_corevideo.m including OpenGL headers... that's the issue.
comment:5 follow-up: 8 Changed 11 years ago by peter.fuereder@…
Replying to 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.
comment:6 Changed 11 years ago by adamb2903
That has worked for me, too. Well done that man. Thanks for everyone's help.
comment:8 Changed 11 years ago by holms (Roman Gorodeckij)
Replying to peter.fuereder@…:
Replying to 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
So maybe somebody can make a patch?
comment:12 Changed 11 years ago by neverpanic (Clemens Lang)
In r112751 for mplayer
, mplayer-devel
to follow.
comment:13 Changed 11 years ago by neverpanic (Clemens Lang)
Keywords: | mavericks added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In r112753 for mplayer-devel
.
The errors seem to relate to missing OpenGL constants, e.g.:
These would be provided by mesa, but mesa is not in mplayer-devel's dependency chain.