delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/25/07:31:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 25 Aug 2004 13:30:51 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
Message-ID: <841824520621.20040825133051@familiehaase.de>
To: "Robb, Sam" <sam DOT robb AT timesys DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Attn: gtk2-x11 maintainer - postinstall patch
In-Reply-To: <3D848382FB72E249812901444C6BDB1D03E04E4E@exchange.timesys.com>
References: <3D848382FB72E249812901444C6BDB1D03E04E4E AT exchange DOT timesys DOT com>
MIME-Version: 1.0

Sam wrote:

> When doing a full installation of Cygiwn on a clean machine,
> setup.exe runs into an error when running the postinstall
> script for gtk2-x11 as documented in the mail message:

>   http://www.cygwin.com/ml/cygwin/2004-07/msg01125.html

> Note that when this error message occurs, X has been installed,
> but the X postinstall script(s) haven't been run yet.  As a
> result, the default PATH doesn't contain /usr/X11R6/bin.

> The attached patch to the gtk2-x11 postinstall script works
> around the problem by explicitly setting the PATH for the
> postinstall script execution.  It also changes the calls to
> mkdir and chmod to use absolute paths as well, though this
> probably really isn't neccesary with the PATH being set
> properly.

> -Samrobb

> --- gtk2-x11.sh.orig    2004-07-06 12:21:39.000000000 -0400
> +++ gtk2-x11.sh 2004-08-24 16:32:09.538908200 -0400
> @@ -1,7 +1,9 @@
>  #!/usr/bin/sh

> -mkdir -p /etc/gtk-2.0
> -chmod 777 /etc/gtk-2.0
> +export PATH=/usr/bin:/usr/X11R6/bin

This should already be included in the latest release.


Gerrit
-- 
=^..^=                                     http://nyckelpiga.de/donate.html


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