delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/31/08:59:39

X-Spam-Check-By: sourceware.org
Date: Tue, 31 Jul 2007 14:59:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: links
Message-ID: <20070731125915.GA21952@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20070731213343 DOT 3444 AT blackhawk>
Mime-Version: 1.0
In-Reply-To: <20070731213343.3444@blackhawk>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 31 21:33, wynfield AT gmail DOT com wrote:
> 
> 
> 
> I never noticed  .lnk externsion files in my /cygwin directories, but now I
> seem to have a lot.   Also there are the links that show up with the 
> permission flags and pointer -> as shown below.
> 
> I think either a) a test version of setup caused it and it is wrong or
> b) it is intentional and alright, or c.) some strange artifact of typing way to fast without thinking about file system effects by me...
> 
> lrwxrwxrwx  1 djh Users  19 Jul 16 09:33 /bin/db_hotbackup.exe -> db4.5_hotbackup.exe
> -rwxr-x---+ 1 djh Users 343 Jun 30 23:38 /bin/db_load.exe.lnk
> 
> lrwxrwxrwx  1 ???????? Users        7 Jun 30 23:35 uniqleaf -> texexec
> -rwxr-x---+ 1 djh      Users   975360 Jul  7 03:18 unison-2.13.exe
> -rwxr-x---+ 1 djh      Users      145 May 25 10:21 unison.exe.lnk
> 
> and 
> 
> ls -l /usr/include/*png*
> -rw-r--r--+ 1 djh   137 Jun 17 11:05 /usr/include/libpng.lnk
> -rw-r--r--+ 1 djh   135 Jun 17 11:05 /usr/include/png.h.lnk
> -rw-r--r--+ 1 djh   143 Jun 17 11:05 /usr/include/pngconf.h.lnk
> 
> With this when I try to build a program, ie, emacs, it dies saying
> it can not find png.h
> 
> Any help and advice is appreciated.

You probably removed the R/O attribute from the .lnk files.  It's
essential for shortcats to be recognized as Cygwin symlinks.  Try
something along the lines of

  cd /usr/include
  attrib +r png.h.lnk

or, for a bulk conversion

  find / -xdev -name '*.lnk' -exec attrib +r '{}' \;

and see if it helps.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019