From owner-freebsd-ports Sun May 26 14:11:34 2002 Delivered-To: freebsd-ports@freebsd.org Received: from midway.uchicago.edu (midway.uchicago.edu [128.135.12.12]) by hub.freebsd.org (Postfix) with ESMTP id E221337B408 for ; Sun, 26 May 2002 14:11:29 -0700 (PDT) Received: from Yggdrasil (adsl-68-20-16-7.dsl.chcgil.ameritech.net [68.20.16.7]) by midway.uchicago.edu (8.12.2/8.12.2) with ESMTP id g4QLBPTd003719; Sun, 26 May 2002 16:11:25 -0500 (CDT) Content-Type: text/plain; charset="us-ascii" From: David Syphers Reply-To: dsyphers@uchicago.edu To: dannyho@bigpond.net.au Subject: Re: portsupgrade and apsfilter query Date: Sun, 26 May 2002 16:11:31 -0500 X-Mailer: KMail [version 1.4] Cc: ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205261611.31694.dsyphers@uchicago.edu> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The problem is that you're using an older version of 'ln' than the install script is expecting. The '-n' switch was added after 4.3-R. To get it, you'd have to upgrade to a later version of FreeBSD. However, the manpage for ln (in 4.6-RC) says "The -h, -i, -n and -v options are non-standard and their use in scripts is not recommended." So you have a perfect right to complain to whomever wrote the apsfilter install script that they're breaking things they shouldn't be. (I am actually not subscribed to ports@ - I just found your message on google while trying to figure out an apsfilter problem of my own! :) -David original message below ---------- Hello, -I am trying to get the latest version of apsfilter -I am currently running apsfilter-6.1.1 -And I am running FreeBSD backup.freebsbsd.org 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 - I am getting the error below if I try to upgrade to the latest version of apsfilter using portupgrade. tar cf - driver | ( cd /usr/local/share/apsfilter && tar xf -) ln -sfn /usr/local/share/apsfilter /usr/local/etc/apsfilter/basedir ln: illegal option -- n usage: ln [-fisv] file1 file2 ln [-fisv] file ... directory link file1 file2 *** Error code 1 Stop in /usr/ports/print/apsfilter/work/apsfilter. *** Error code 1 Stop in /usr/ports/print/apsfilter. *** Error code 1 Stop in /usr/ports/print/apsfilter. *** Error code 1 Stop in /usr/ports/print/apsfilter. *** Error code 1 Stop in /usr/ports/print/apsfilter. ** Command failed: make ---> Restoring the old version Looking forward to your feedback ---------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message