Trouble Installing Mplayer

EmmGunn emmgunn at gmail.com
Tue May 12 13:56:39 PDT 2009


Hi All!
I'm having trouble installing mplayer.  The specific problem seems to  
be with the perl5.8 port.  I get the following error when it tries to  
install:

--->  Building perl5.8
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && make all  
" returned error 2
Command output: /usr/local/include/math.h:868: error: syntax error  
before '*' token
/usr/local/include/math.h:878: error: syntax error before '*' token
/usr/local/include/math.h:885: error: syntax error before '*' token
/usr/local/include/math.h:894: error: syntax error before '*' token
/usr/local/include/math.h:901: error: syntax error before '*' token
/usr/local/include/math.h:907: error: syntax error before 'GF_Vec'
/usr/local/include/math.h:917: error: syntax error before '*' token
/usr/local/include/math.h:925: error: syntax error before  
'gf_plane_get_distance'
/usr/local/include/math.h:925: error: syntax error before '*' token
/usr/local/include/math.h:934: error: syntax error before  
'gf_closest_point_to_line'
/usr/local/include/math.h:934: error: syntax error before 'line_pt'
/usr/local/include/math.h:942: error: syntax error before  
'gf_plane_get_p_vertex_idx'
/usr/local/include/math.h:942: error: syntax error before '*' token
/usr/local/include/math.h:952: error: syntax error before  
'gf_plane_intersect_line'
/usr/local/include/math.h:952: error: syntax error before '*' token
/usr/local/include/math.h:971: error: syntax error before  
'gf_bbox_plane_relation'
/usr/local/include/math.h:971: error: syntax error before '*' token
/usr/local/include/math.h:980: error: syntax error before 'GF_Vec'
/usr/local/include/math.h:992: error: syntax error before 'gf_ray'
/usr/local/include/math.h:992: error: syntax error before 'start'
/usr/local/include/math.h:999: error: syntax error before '*' token
/usr/local/include/math.h:1009: error: syntax error before  
'gf_ray_hit_box'
/usr/local/include/math.h:1009: error: syntax error before '*' token
/usr/local/include/math.h:1019: error: syntax error before  
'gf_ray_hit_sphere'
/usr/local/include/math.h:1019: error: syntax error before '*' token
/usr/local/include/math.h:1030: error: syntax error before  
'gf_ray_hit_triangle'
/usr/local/include/math.h:1030: error: syntax error before '*' token
/usr/local/include/math.h:1036: error: syntax error before  
'gf_ray_hit_triangle_backcull'
/usr/local/include/math.h:1036: error: syntax error before '*' token
make: *** [miniperlmain.o] Error 1

I'm not sure what math.h has to do with perl.  It's a GPAC file.  I  
think it was installed with mp4box.  Was something overwritten?  I  
tried to do some googling but didn't have any luck.  Part of the  
problem is that I'm not a UNIX pro so what I did find was greek to  
me.  Any dummying down that you can manage in your response would be  
very much appreciated.  Thanks for any hints.

-Mike


More information about the macports-users mailing list