X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <933607 DOT 56165 DOT qm AT web57211 DOT mail DOT re3 DOT yahoo DOT com> Subject: RE: Uninstalling a program from Cygwin in Windows XP Date: Fri, 14 Sep 2007 15:38:30 +0100 Message-ID: <024101c7f6dc$eb5961d0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 14 September 2007 15:14, Dave Korn wrote: > On 14 September 2007 13:56, D wrote: > >> When I tried to ask the developer of the program how to remove the program >> he indicated that the problem was not with fontforge, but with Cygwin, > > He is wrong. > > The command he provided is a simple delete of all the files that the > installer should have installed. If it doesn't work, it's not because > Cygwin refused to delete the files for no reason, it's because he's > specified the wrong paths in that command. Hey, hang on a minute... it *is* because Cygwin's refusing to delete files for no reason! /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe -rwxr-xr-x 1 dk Domain Users 13700198 Sep 14 15:20 /usr/local/bin/fontforge.exe /tmp/ff/fontforge $ rm -rf /usr/local/bin/{fontforge,sfddiff} /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe -rwxr-xr-x 1 dk Domain Users 13700198 Sep 14 15:20 /usr/local/bin/fontforge.exe /tmp/ff/fontforge $ echo rm -rf /usr/local/bin/{fontforge,sfddiff} rm -rf /usr/local/bin/fontforge /usr/local/bin/sfddiff /tmp/ff/fontforge $ rm -rf /usr/local/bin/fontforge /usr/local/bin/sfddiff /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe -rwxr-xr-x 1 dk Domain Users 13700198 Sep 14 15:20 /usr/local/bin/fontforge.exe /tmp/ff/fontforge $ rm -rf /usr/local/bin/fontforge.exe /tmp/ff/fontforge $ ls -la /usr/local/bin/fontforge.exe ls: cannot access /usr/local/bin/fontforge.exe: No such file or directory /tmp/ff/fontforge $ > Basically, you need to find the files listed in the 'rm' command: > >> $ rm -rf /usr/local/bin/{fontforge,sfddiff} \ >> /usr/local/lib/{libgdraw,libgunicode,libuninameslist}* \ >> /usr/local/lib/pkgconfig/fontforge.pc \ >> /usr/local/man/man1/{fontforge,sfddiff}.1 \ >> /usr/local/share/doc/fontforge \ >> /usr/local/share/locale/*/LC_MESSAGES/FontForge.mo > > and delete them. That's all the command does. Hmm. So, after the rm command, we still have: /usr/local/bin: +cyguninameslist-0.dll +cyguninameslist-fr-0.dll +fontforge.exe +fontimage +pfaedit.exe /usr/local/man/man1: +fontimage.1 /usr/local/share: +fontforge +/usr/local/share/fontforge: +Adobe-CNS1-4.cidmap +Adobe-GB1-4.cidmap +Adobe-Identity-0.cidmap +Adobe-Japan1-6.cidmap +Adobe-Japan2-0.cidmap +Adobe-Korea1-2.cidmap So, there seems to be a failure of 'exe magic', and part of it is because he hasn't allowed for the cygwin library naming scheme (and the fact that dlls go into bin, not lib). The working version of the command should therefore be: $ rm -rf /usr/local/bin/{fontforge.exe,fontimage,sfddiff,pfaedit.exe} \ /usr/local/bin/cyguninameslist* \ /usr/local/lib/{libgdraw,libgunicode,libuninameslist}* \ /usr/local/lib/pkgconfig/fontforge.pc \ /usr/local/man/man1/{fontforge,fontimage,sfddiff}.1 \ /usr/local/share/doc/fontforge \ /usr/local/share/locale/*/LC_MESSAGES/FontForge.mo \ /usr/local/share/fontforge You could pass it on to the fontforge guy if you liked. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/