X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: ksDT3EcVM1nRtli2kGtEWk_nwY37lFIunkZMra_YjMASdBbrFsGJ3YcUvwm8Uolac1nXq2h_b9uWehRkClgbLlO6xpNRbz0Y1Aq5A4bi9eXqt0zFA.0d2ukQx7ZsLg-- Date: Fri, 14 Sep 2007 13:48:02 -0700 (PDT) From: D Subject: RE: Uninstalling a program from Cygwin in Windows XP To: cygwin AT cygwin DOT com In-Reply-To: <024101c7f6dc$eb5961d0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <248460.79026.qm@web57210.mail.re3.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 So basically take the command that is at the bottom and use that instead because I am on windows xp? --- Dave Korn wrote: > 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/ > > ____________________________________________________________________________________ Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! http://tv.yahoo.com/collections/3658 -- 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/