From owner-freebsd-questions@FreeBSD.ORG Thu Feb 22 19:03:39 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 6141816A400 for ; Thu, 22 Feb 2007 19:03:39 +0000 (UTC) (envelope-from bidjan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id EAA9113C491 for ; Thu, 22 Feb 2007 19:03:38 +0000 (UTC) (envelope-from bidjan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so401659nfc for ; Thu, 22 Feb 2007 11:03:37 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=emjkro6YEI7MIoPAmRD4nFyYQHRmVt9YLxe+QvxFJ+mifCvUEnMry88e5cujLU17XtJ4wqlISgwVhMM6BFsUExal3eflE7FX0RR8xa+DnxEJkeoX4OQSMqvZ1veakBGRNr8Mrx8JNdS4FhKMGCQ0EO6amiyghlsjow3o9FSNH0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IrQIJkv+gUqXiapULKCf9GAKCWutFm1wh7GceRhTq1+vMlzwK2dhr65meZKc12683nxEqS/MeN2X0hmw0Uaze0YPSb8TW6liyotlm3A7EMEG+euU6GW+8pP1Ofgt/kqgJTio1QdCVCUHq3fEAeFgm7jgjfATsqIFzBIzL1im6c4= Received: by 10.49.64.18 with SMTP id r18mr4128408nfk.1172171017882; Thu, 22 Feb 2007 11:03:37 -0800 (PST) Received: by 10.49.66.1 with HTTP; Thu, 22 Feb 2007 11:03:37 -0800 (PST) Message-ID: Date: Thu, 22 Feb 2007 16:03:37 -0300 From: "Pablo Mora" To: "Simon Gao" In-Reply-To: <45DDDFD4.10900@schrodinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45DDDFD4.10900@schrodinger.com> Cc: freebsd-questions@freebsd.org Subject: Re: Port installation failed 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: Thu, 22 Feb 2007 19:03:39 -0000 On 2/22/07, Simon Gao wrote: > Hi, > > I had following errors when trying to install a package through port on > one FreeBSD 4.7 machine: > > # make install > "/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 > > > Anyone has seen similar problem? It seems that bsd.port.mk is causing > problem. Can I just replace bsd.port.mk file with one from other machines? > > Simon http://lists.freebsd.org/pipermail/freebsd-questions/2007-February/142799.html -- Linux is for people who hate Micro$oft. BSD is for people who love Unix ...