From owner-freebsd-questions@FreeBSD.ORG Wed May 2 04:17:56 2007 Return-Path: X-Original-To: FreeBSD-Questions@freebsd.org Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8B0A16A402 for ; Wed, 2 May 2007 04:17:56 +0000 (UTC) (envelope-from theorem21@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 9B45A13C45E for ; Wed, 2 May 2007 04:17:56 +0000 (UTC) (envelope-from theorem21@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so8689wxc for ; Tue, 01 May 2007 21:17:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YkkDIWKxtiid7K/4SUTUGmyrGwNYF+9vjcvLwzjNz572MBinTvPVXtigcdyWOp3y3VKPu0VrA1SDizvOnamxDwblHSRPZB1sRhePVaekP+g60nhYXG9w7jgIdNBm13CjiTKw6hrtnkU/HmiXXJ4uCLl97m+g+A3ZiAjC48CSlvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=qc209ksxaCzI1eGWg2btZNa5/YcQFub5jtk3Hl0W/A8fCJyxI0h6wVW+FZRMJCx6VZQh+Gr6RRMT8ni74PgpjtduM/R6Rr7PsMgfx5c/D71YXkstR3MKDTPgSsgFrOxM/L6/rGr+KgAVWkmUW7PWs1gkGqEB3m85rWwjRpvjbbo= Received: by 10.90.90.16 with SMTP id n16mr80098agb.1178079476007; Tue, 01 May 2007 21:17:56 -0700 (PDT) Received: from ?10.10.0.6? ( [71.251.196.94]) by mx.google.com with ESMTP id 4sm342282aga.2007.05.01.21.17.54; Tue, 01 May 2007 21:17:54 -0700 (PDT) Message-ID: <463810EC.4070108@gmail.com> Date: Wed, 02 May 2007 00:17:48 -0400 From: Theorem User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: "W. D." References: <20070502015352.12C1013C45D@mx1.freebsd.org> <004701c78c5d$83275a70$1200a8c0@gsicomp.on.ca> <20070502020814.A801113C455@mx1.freebsd.org> <4637F691.7030809@u.washington.edu> <20070502034402.2171313C455@mx1.freebsd.org> In-Reply-To: <20070502034402.2171313C455@mx1.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Garrett Cooper , FreeBSD-Questions@FreeBSD.org Subject: Re: Make is broken! How to fix? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: theorem21@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 04:17:57 -0000 W. D. wrote: > At 21:25 5/1/2007, Garrett Cooper wrote: >> W. D. wrote: >>> At 20:59 5/1/2007, Matt Emmerton wrote: >>>> usw2# cd make++ >>>> usw2# ls -lt >>>> total 5 >>>> -rw-r--r-- 1 root wheel 1221 May 1 18:35 Makefile >>>> -rw-r--r-- 1 root wheel 190 May 1 18:35 distinfo >>>> -rw-r--r-- 1 root wheel 643 May 1 18:35 pkg-plist >>>> -rw-r--r-- 1 root wheel 602 Oct 17 2004 pkg-descr >>>> usw2# make install >>>> "/usr/ports/Mk/bsd.port.mk", line 5460: Malformed conditional >>>> (defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES") >>>> "/usr/ports/Mk/bsd.port.mk", line 5470: Malformed conditional >>>> (defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES") >>>> "/usr/ports/Mk/bsd.port.mk", line 5481: if-less endif >>>> "/usr/ports/Mk/bsd.port.mk", line 5481: Need an operator >>>> "/usr/ports/Mk/bsd.port.mk", line 5958: if-less endif >>>> "/usr/ports/Mk/bsd.port.mk", line 5958: Need an operator >>>> make: fatal errors encountered -- cannot continue >>>> >>>> FreeBSD 4.4-RELEASE >>>> >>>> Just ran cvsup. Any ideas? >>>> ------ >>>> >>>> The ports collection is only guaranteed to work on the current release of >>>> FreeBSD, which is 6.2. >>>> You're running 4.4-REL, which is fairly old (~5.5 years -- Sep/2001) and you >>>> should consider upgrading. >>> How do I do that without killing this production server? >>> >>>> -- >>>> Matt Emmerton >> W.D., >> You can't unfortunately. The only way to go about this is plan out a >> date when you can take down the server for approximately 1-5 hours >> (comfortably) depending on what you need to compile / install, and the >> speed of the machine. >> Another option (not really encouraged, but available), is to take >> cvsup, sync to the most current 5.5 / 6.2 tree, and compile, then take >> down your machine quickly into single-user mode while installing the new >> kernel / world. The process is in gross detail here: >> . >> >> Also, did you know that your mail address probably is getting marked as >> spam by the majority of the users on this list running anti-spam software? > > Why? What anti-spam methods are you using? > >> Mark, >> That's not true. The ports collection is supposed to work for all >> versions of FreeBSD which are supported, which includes 5.x. >> >> -Garrett Well, you could also roll back the port for 'make' via cvsup to a point where it does compile, but 4.4 is ancient. I think it's time to bite the bullet and upgrade. I suggest going to at least 4.11 first. Then *maybe* a jump to 5.x , followed by a jump to 6.x. If this is production I'd build out a 6.2 version on another machine, throw the software from box A onto Box B , then swap them quickly ( maybe just the HDDs even!), downtime would be almost nothing and you can run this "test" to work out any kinks along the way. If that's not an option with a second machine then a staged upgrade to the latest of the major revisions ( 4.4 -> 4.11 , 4.11 -> 5.5 , 5.5 -> 6.2 ) The three staged approach should creep in the changes slowly enough so you can address problems along the way should there be any issues. A straight jump from 4.4 -> 6.2 probably won't work due to the major changes along the way (ACLs have been introduced, standard locations for various system utils have moved , etc.. ). You will probably want a settling period for each of the staged approach, say , 3 - 5 days after each one ? Watch out for ISA cards if you have any, I attempted a jump from 4.11 -> 5.1 with problems :( Good luck, Theorem