That did it. Thanks!
On May 12, 2009, at 10:53 PM, Bryan Blackburn wrote:
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/
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: 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.
Bryan
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
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
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users