From owner-freebsd-questions@FreeBSD.ORG Tue Feb 20 03:21:23 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 0D0F8171CBD for ; Tue, 20 Feb 2007 03:21:23 +0000 (UTC) (envelope-from brad@ibiscode.com) Received: from customer-domains.icp-qv1-irony14.iinet.net.au (customer-domains.icp-qv1-irony14.iinet.net.au [203.59.1.169]) by mx1.freebsd.org (Postfix) with ESMTP id 80E4A13C491 for ; Tue, 20 Feb 2007 03:21:22 +0000 (UTC) (envelope-from brad@ibiscode.com) Received: from 210-84-61-200.dyn.iinet.net.au (HELO [192.168.1.33]) ([210.84.61.200]) by iinet-mail.icp-qv1-irony14.iinet.net.au with ESMTP; 20 Feb 2007 11:51:31 +0900 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAKbw2UXSVD3IUGdsb2JhbAANhzaHSwEBKpMyAQEB X-IronPort-AV: i="4.14,193,1170601200"; d="scan'208"; a="140473421:sNHT7842444" Message-ID: <45DA6230.7070409@ibiscode.com> Date: Tue, 20 Feb 2007 13:51:28 +1100 From: Brad Kowalczyk User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <45DA37CB.7090905@ibiscode.com> <20070220004508.GA44929@xor.obsecurity.org> <45DA476F.1080809@ibiscode.com> <20070220023854.GA46534@xor.obsecurity.org> In-Reply-To: <20070220023854.GA46534@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: make in ports not working 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, 20 Feb 2007 03:21:23 -0000 Kris Kennaway wrote: > On Tue, Feb 20, 2007 at 11:57:19AM +1100, Brad Kowalczyk wrote: > >>Kris Kennaway wrote: >> >>>On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote: >>> >>> >>>>Hi >>>> >>>>I get the following error when trying to make from the ports tree: >>>> >>>>"/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison >>>>operator should be either == or != >>>>"/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison >>>>operator should be either == or != >>>>"/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional >>>>(((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < >>>>600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && >>>>${PKGORIGIN} != "ports-mgmt/pkg_install") || >>>>exists(${LOCALBASE}/sbin/pkg_info)) >>>>"/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison >>>>operator should be either == or != >>>>"/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison >>>>operator should be either == or != >>>>"/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional >>>>((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < >>>>600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && >>>>${PKGORIGIN} != "ports-mgmt/pkg_install") >>>>"/usr/ports/Mk/bsd.port.mk", line 2308: if-less else >>>>"/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator >>>>"/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif >>>>"/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator >>>>"/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif >>>>"/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator >>>>make: fatal errors encountered -- cannot continue >>>> >>>>Any help appreciated >>>> >>>>Also I am not subscribed to the list so reply-all. >>> >>> >>>You forgot to mention which version of FreeBSD you're running, but >>>it's probably an ancient one that is no longer supported. >>> >>>Kris >>> >>> >> >>yup ok its an ancient one: >>su-2.05a# uname -v >>FreeBSD 4.8-RELEASE : Tue Apr 8 11:35:48 GMT 2003 >> >>I am stuck with it (its a virtual server) so is there any way i can get >>ports working? I just love 'portinstall xyz'! > > > FreeBSD 4 is no longer supported in any way by ports, update to 6.2 or > make do with out-of-date ports that will never again be updated (you > can use the RELEASE_4_EOL tag until you can upgrade the box). > > Kris > > Thanks for your advice Kris. Unfortunately I just rent the virtual server so I dont think I am going to be able to upgrade the OS. Cheers, Brad