From owner-freebsd-questions Fri Sep 6 22:45:07 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA07056 for questions-outgoing; Fri, 6 Sep 1996 22:45:07 -0700 (PDT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA07045 for ; Fri, 6 Sep 1996 22:45:03 -0700 (PDT) Received: from mekong.biomath.jussieu.fr (mekong.biomath.jussieu.fr [134.157.72.87]) by shiva.jussieu.fr (8.7.5/jtpda-5.2) with SMTP id HAA12615 ; Sat, 7 Sep 1996 07:44:58 +0200 (METDST) Received: from iaka.biomath.jussieu.fr (iaka) by mekong.biomath.jussieu.fr (5.67b/jn930126+af960905(mailhost)) at Sat, 7 Sep 1996 07:45:27 +0100 Received: by iaka.biomath.jussieu.fr (5.67b/jf930126) at Sat, 7 Sep 1996 07:45:25 +0100 Message-Id: <199609070645.AA20094@iaka.biomath.jussieu.fr> Subject: Re: Installing X To: UFCK28C@prodigy.com (MR BRIAN A NEAL) Date: Sat, 7 Sep 1996 07:45:24 +0100 (GMT+0100) From: "Alain FAUCONNET" Cc: questions@freebsd.org In-Reply-To: <199609070347.XAA24328@mime2.prodigy.com> from "MR BRIAN A NEAL" at Sep 6, 96 11:47:25 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk MR BRIAN A NEAL wrote / a ecrit: > > I've got the dos partition mounted, > > and I have the needed files for > xfree86 > > I've created /usr/X11R6 and copied > to tar's there, then > > for i in x312*.tgz; do > tar -xzf $i > done > > but I just get "cannot find file errors" > when I do this, the xfree readme says > to do this in root login, but when I try > that the for command is not recognized. You DO need to have root privileges do install nearly every software package, at least anything that creates files in /usr or /usr/local. Tar complains because it tries to extract files to subdirectories of /usr/X11R6 (you did create that one as root didn't you?) which he has been unable to create (because of file permissions). So: 1) type that list of commands logged in as root (or type "su" from your normal account) 2) bring up a Bourne subshell by typing "sh". The default shell for the root account on FreeBSD is the C-shell which has a different syntax for "for" loops. It would accept the following (just for your information) : foreach i (*.tgz) tar -xzf $i end Bonne chance, _Alain_ -- Alain FAUCONNET Ingenieur systeme - System Manager AP-HP/SIM Public Health 91 bld de l'Hopital 75013 PARIS FRANCE Medical Computing Research Labs Mail: af@biomath.jussieu.fr Tel: (+33) 1-40-77-96-19 Fax: (+33) 1-45-86-80-68 I've RTFMed. It says: "Refer to your system administrator" But... I *am* the system administrator :-]