Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 May 2007 19:25:21 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        "W. D." <WD@US-Webmasters.com>
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: Make is broken! How to fix?
Message-ID:  <4637F691.7030809@u.washington.edu>
In-Reply-To: <20070502020814.A801113C455@mx1.freebsd.org>
References:  <20070502015352.12C1013C45D@mx1.freebsd.org>	<004701c78c5d$83275a70$1200a8c0@gsicomp.on.ca> <20070502020814.A801113C455@mx1.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: 
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html>.

	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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4637F691.7030809>