X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 	tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4A0B176B.6080403@cornell.edu>
Date: Wed, 13 May 2009 14:54:35 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: emacs 23
References: <23523466.post@talk.nabble.com> <4A0AE529.2000506@cornell.edu> <23524451.post@talk.nabble.com> <4A0AEF5D.7000803@cornell.edu> <23526019.post@talk.nabble.com> <4A0B04F9.7090005@cornell.edu> <23526801.post@talk.nabble.com> <4A0B12D0.4020804@cornell.edu>
In-Reply-To: <4A0B12D0.4020804@cornell.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 5/13/2009 2:34 PM, Ken Brown wrote:
> On 5/13/2009 2:25 PM, Marc Girod wrote:
>>
>> Ken Brown-6 wrote:
>>> Then go to /etc/postinstall and run the postinstall scripts emacs.sh 
>>> and emacs-X11.sh.  (This is for the alternatives setup.)
>>>
>> Two more requirements:
>> - desktop-file-utils
>> - shared-mime-info
> 
> You don't really need these.
> 
>> ./emacs.sh: line 9: /usr/bin/update-desktop-database: Permission denied
>> ./emacs.sh: line 10: /usr/bin/update-mime-database: Permission denied
>> postinstall> ll /usr/bin/update-desktop-database.exe
>> -rwxr-xr-x 1 emagiro root 33792 Nov 12  2004
>> /usr/bin/update-desktop-database.exe
>> postinstall> ll emacs.sh
>> -rwxr-xr-x 1 emagiro EEI-ATusers 241 Apr 23 15:24 emacs.sh
>> postinstall> ll /usr/bin/update-mime-database.exe
>> -rwxr-xr-x 1 emagiro root 31744 May  3  2006
>> /usr/bin/update-mime-database.exe
> 
> The lines in the postinstall scripts involving desktop-database and 
> mime-database were added by cygport, not by me.  The errors are harmless 
> and can be ignored.  If/when this becomes a regular package installed by 
> setup.exe, you won't even see the error messages except perhaps in some 
> log file.

Sorry, I wrote my response without reading your post carefully enough. 
I don't have desktop-file-utils and shared-mime-info installed, so I 
didn't see your error messages; I only saw errors like

   /usr/bin/update-mime-database: No such file or directory

I'm not sure why you're getting permission denied errors.  I would still 
bet that it's harmless.  But if it's not, and if it's something about my 
packaging that caused this, maybe someone can tell me how to fix it.

Ken

--
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/

