From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32432 invoked by alias); 18 Nov 2002 23:04:35 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32425 invoked from network); 18 Nov 2002 23:04:34 -0000 Received: from unknown (HELO redhat.com) (66.30.22.225) by sources.redhat.com with SMTP; 18 Nov 2002 23:04:34 -0000 Received: by redhat.com (Postfix, from userid 201) id 564C51BF36; Mon, 18 Nov 2002 18:05:04 -0500 (EST) Date: Mon, 18 Nov 2002 18:32:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: gcc (as.exe) install error Message-ID: <20021118230504.GB17408@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5.1.0.14.2.20021110150412.028edeb0@pop3.cris.com> <20021118154654.F31607@newwww.internal.teleologic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021118154654.F31607@newwww.internal.teleologic.net> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00973.txt.bz2 On Mon, Nov 18, 2002 at 03:46:54PM -0600, Danny Sauer wrote: >Ok, so I found what appears to be my problem. I had installed cygwin >to a network drive (samba running on a linux machine). Apperently, the >installer expects to be able to create symlink-like files on the Win2K >system that it was running on, and those don't work over the samba server. > >I ran the reinstaller to a local drive, and it now works just fine. > >This is somewhat irritating, as it means that I've gotta install this >environment locally on every machine that I'd like to use it on, was well >as updating each instalation individually. Is there a way around this? >Is this issue a known bug, or should I further investigate my setup? setup uses old-style symlinks which don't work reliably on a samba-mounted partition, although with newer versions of samba that may change. You can just remove and recreate the symlinks and they should work ok. There isn't any automated way to do this but it should be relatively trivial to write a script, something like: foreach f *; do t=`readlink $f 2>/dev/null` [ -z "$t" ] && continue rm -f $f ln -s $t $f done Do this in the /bin and /usr/i686-pc-cygwin/bin directories. I HAVE NOT tried the above so you should be very careful before trying it. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/