Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 18 Nov 2002 18:05:04 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: gcc (as.exe) install error Message-ID: <20021118230504.GB17408@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021110150412 DOT 028edeb0 AT pop3 DOT cris DOT com> <20021118154654 DOT F31607 AT newwww DOT internal DOT teleologic DOT 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 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/