Trouble Installing Mplayer

Bryan Blackburn blb at macports.org
Tue May 12 16:01:40 PDT 2009


On Tue, May 12, 2009 at 01:56:39PM -0700, EmmGunn said:
> 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

It appears that you have something in /usr/local that is getting in the way;
you'll need to move or remove such items (at least this one header file),
though there may be others.  The usual advice given is to simply move
/usr/local aside (eg, to /usr/local-move) then install again.

Bryan

[...]
>
> 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