From owner-freebsd-questions Thu Feb 15 16:40:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 98F6E37B401 for ; Thu, 15 Feb 2001 16:40:12 -0800 (PST) Received: (qmail 93727 invoked by uid 100); 16 Feb 2001 00:40:11 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14988.30443.639412.308183@guru.mired.org> Date: Thu, 15 Feb 2001 18:40:11 -0600 To: Salvo Bartolotta Cc: questions@freebsd.org Subject: Re: interesting errors building the ports INDEX In-Reply-To: <20010214.19322600@bartequi.ottodomain.org> References: <14985.32004.81491.830585@guru.mired.org> <20010214.19322600@bartequi.ottodomain.org> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Salvo Bartolotta types: > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 2/13/01, 7:29:24 PM, Mike Meyer wrote regarding > interesting errors building the ports INDEX: > > > > On a 4.2-RELEASE box with a recently supped ports collection, "make > > index" produces the following interest messages: > > > ----- > > Generating INDEX - please wait..Number found where operator expected > at -e line 1, near "" autoconf:/usr/ports/devel/autoconf > gmake:/usr/ports/devel/gmake tcl"83" > > (Missing operator before 83?) > > syntax error at -e line 1, near "" autoconf:/usr/ports/devel/autoconf > gmake:/usr/ports/devel/gmake tcl"83" > > String found where operator expected at -e line 1, near > "83".1:/usr/ports/lang/tcl"" > > (Missing operator before ".1:/usr/ports/lang/tcl"?) > > Number found where operator expected at -e line 1, near > "".1:/usr/ports/lang/tcl"83" > > (Missing operator before 83?) > > String found where operator expected at -e line 1, near "83""" > > (Missing operator before ""?) > > syntax error at -e line 1, near "s/\:.*//;" > > syntax error at -e line 1, near "} else" > > Execution of -e aborted due to compilation errors. > > /home/mwm/.bashrc: permission denied > > "Makefile", line 34: warning: "/home/mwm/.bashrc TCL_VER=8.3 make -f > /usr/ports/graphics/gdtclft/files/Makefile.bsd env" returned non-zero status > > Done. > I have just cvsup'ed my ports and made index on a 4.2-S system > (sources as of February 7, 2001) with no errors whatsoever. For the record, upgrading my system to 4.2-S from 4.2-R made this go away. > How do you manage to get the permission errors ? :-) For some reason, "make index" was trying to execute my .cshrc. Getting a root shell via "su -l" instead of "su -m" solved that one. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message