On Sep 6, 2009, at 11:35, Stew Houston wrote:

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 sorry to hear that! If you could provide more details, perhaps we can help.


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.

I think we need to see the debug output to help with this. Normally MacPorts only shows the last 30 lines of error, and it looks like there was more output than that here. Can you clean the port and try again with the debug switch?

sudo port clean perl5.8
sudo port -d install perl5.8 2>&1 | tee ~/Desktop/perl5.8.txt
bzip2 ~/Desktop/perl5.8.txt

Then attach perl5.8.txt.bz2 from your desktop to your reply email.


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to