Trouble Installing Mplayer
blb at macports.org
Tue May 12 22:53:29 PDT 2009
On Tue, May 12, 2009 at 08:40:27PM -0700, EmmGunn said:
> Thanks for the hint. I tried moving the math.h header file but then I
> received this error:
> ---> Building perl5.8
> Error: Target org.macports.build returned: shell command " cd "/opt/
> .macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && make all "
> returned error 2
> Command output: make: *** No rule to make target `/usr/local/include/
> math.h', needed by `miniperlmain.o'. Stop.
Ah, you need to clean perl5.8 first:
$ sudo port clean --work perl5.8
It obviously remembered that file existed from an earlier stage (probably
configure) so cleaning will get rid of that information, and when you run
install again it'll rerun configure and shouldn't see it this time around.
> Error: Status 1 encountered during processing.
> It seems that the math.h file is needed. I just know some of the basics
> of UNIX but isn't the usr/local/ directory for user installed stuff. Why
> would the perl installer be looking in there for anything? Thank in
> advance for any more help.
> On May 12, 2009, at 4:01 PM, Bryan Blackburn wrote:
>> 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
>>> with the perl5.8 port. I get the following error when it tries to
>>> ---> Building perl5.8
>>> Error: Target org.macports.build returned: shell command " cd "/opt/
>>> .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
>>> '*' token
>> It appears that you have something in /usr/local that is getting in the
>> you'll need to move or remove such items (at least this one header
>> though there may be others. The usual advice given is to simply move
>> /usr/local aside (eg, to /usr/local-move) then install again.
>>> I'm not sure what math.h has to do with perl. It's a GPAC file. I
>>> it was installed with mp4box. Was something overwritten? I tried to
>>> some googling but didn't have any luck. Part of the problem is that
>>> not a UNIX pro so what I did find was greek to me. Any dummying down
>>> you can manage in your response would be very much appreciated.
>>> for any hints.
More information about the macports-users