ports troubles on 10.6 -- perl5.8

Stew Houston stewhouston at gmail.com
Sun Sep 6 09:35:09 PDT 2009


Since upgrading to 10.6 ports has been disasterous for me.  I don't think
I've had a single port install cleanly.

I'm stuck on getting perl5.8 installed.  The error it spits out isn't very
indicative, so I'm clueless.  Can anyone help me forward?

$ sudo port install perl5.8
--->  Computing dependencies for perl5.8
--->  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"
&& /usr/bin/make -j2 all " returned error 2
Command output: `sh  cflags "optimize='-O3'" toke.o`  toke.c
`sh  cflags "optimize='-O3'" perly.o`  perly.c
      CCCMD =  /usr/bin/gcc-4.2 -DPERL_CORE -c -fno-common -DPERL_DARWIN
-I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe
-I/usr/local/include -I/opt/local/include  -std=c89 -O3 -Wall -ansi   -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
      CCCMD =  /usr/bin/gcc-4.2 -DPERL_CORE -c -fno-common -DPERL_DARWIN
-I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe
-I/usr/local/include -I/opt/local/include  -std=c89 -O3 -Wall -ansi   -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
toke.c: In function 'Perl_yylex':
toke.c:5516: error: lvalue required as unary '&' operand
toke.c:5516: error: lvalue required as unary '&' operand
toke.c: In function 'S_pending_ident':
toke.c:5755: error: lvalue required as unary '&' operand
toke.c:5755: error: lvalue required as unary '&' operand
toke.c: In function 'S_scan_heredoc':
toke.c:9785: error: invalid operands to binary + (have 'char *' and 'char
*')
toke.c:9785: error: lvalue required as unary '&' operand
toke.c:9785: error: lvalue required as unary '&' operand
toke.c: In function 'S_scan_formline':
toke.c:10814: error: invalid operands to binary + (have 'char *' and 'char
*')
toke.c:10814: error: lvalue required as unary '&' operand
toke.c:10814: error: lvalue required as unary '&' operand
make: *** [toke.o] Error 1
make: *** Waiting for unfinished jobs....

Error: Status 1 encountered during processing.

Regards

Stew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090906/43331dd0/attachment.html>


More information about the macports-users mailing list