From owner-freebsd-questions@FreeBSD.ORG Tue Nov 22 04:24:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EABF16A41F for ; Tue, 22 Nov 2005 04:24:09 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5755443D58 for ; Tue, 22 Nov 2005 04:24:03 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.11/8.12.11) with ESMTP id jAM4NudR008721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 22 Nov 2005 11:23:56 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.1/8.12.11) id jAM4NubJ096039; Tue, 22 Nov 2005 11:23:56 +0700 (ICT) Date: Tue, 22 Nov 2005 11:23:56 +0700 (ICT) Message-Id: <200511220423.jAM4NubJ096039@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Building Perl 5.8.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 04:24:09 -0000 Hi, I am trying to build perl 5.8.7 from the ports. On some machines it goes OK. On my 5.3 machines I get: BSDPAN" -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -Wall `sh cflags "optimize='-O -pipe'" toke.o` -fpic toke.c CCCMD = gcc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -Wall toke.c: In function `S_scan_formline': toke.c:10392: error: invalid operands to binary + toke.c:10392: error: invalid lvalue in unary `&' toke.c:10392: error: invalid lvalue in unary `&' *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.7. *** Error code 1 Stop in /usr/ports/lang/perl5.8. FreeBSD banyan.cs.ait.ac.th 5.3-RELEASE-p18 FreeBSD 5.3-RELEASE-p18 #6: Thu Jul 7 10:43:43 ICT 2005 root@banyan.cs.ait.ac.th:/usr/obj/usr/src/sys/SMALL i386 Any help appreciated. TIA Olivier