delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/25/14:12:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: "A. Alper Atici" <alperatici AT ttnet DOT net DOT tr>
Subject: Re: The Choices Are Exim, Exim and, er, Exim...
Date: Sun, 25 Apr 2004 21:12:36 +0300
Lines: 34
Message-ID: <c6gv0r$7t6$1@sea.gmane.org>
References: <c6gmmo$f3k$1 AT sea DOT gmane DOT org> <408BEEB2 DOT 6285 DOT D816321 AT localhost>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: mstr195175-13888.dial-in.ttnet.net.tr
X-Archive: encrypt
User-Agent: Forte Agent 2.0/32.646

On Sun, 25 Apr 2004 17:00:34 +0100, Sabahattin Gucukoglu wrote:
>
>Thanks for suggesting - no, I don't; it does give you a base system, but 
>that does not seem to include a GNU development toolchain of any kind.  
>(Well, "gcc" isn't found.)  I need this to try my builds on - QuakeForge 
>builds on Windows too but only if you use Cygwin, and I'll need to do this 
>shortly anyway for my other project (http://www.agrip.org.uk/).  I don't 
>know of a way to install/uninstall packages from like the command line - I 
>think it's all done in setup.exe.  What wouldn't I give for a console one 
>at this stage? ... :-)

One feature of setup program is to automatically select packages for
you when it encounters a new version of an already installed package
on your system. I think we can exploit this to install a new package
if we can fake setup to think there exists a previous version on your
system. The names of the installed packages are stored in
/etc/setup/installed.db which is a plain text file with one line for
each installed package.
All you need to do is to enter an obsolete versioned line for the
package you want to install, and then execute setup as you've did
during base installation. Dependencies should automatically be
resolved and selected by setup itself also.

I can send you relevant lines of installed.db and you can add them
with a single cat >> command, or you can figure them out yourself by
examining the file named setup.ini which is created every time you run
setup.exe in the local directory you've specified (well, in a
subdirectory of it, to be precise).

regards,


--
A. Alper Atici               OpenPGP KeyID: 0xB824F550


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