delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/06/11:48:33

X-Spam-Check-By: sourceware.org
Date: Fri, 6 Jul 2007 11:48:06 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Patrcik Strasser <patrick DOT strasser AT tugraz DOT at>
cc: cygwin AT cygwin DOT com
Subject: Re: Installing an old version of a package
In-Reply-To: <f6lkne$obe$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0707061142440.7471@access1.cims.nyu.edu>
References: <f6lkne$obe$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Fri, 6 Jul 2007, Patrcik Strasser wrote:

> Hello!
>
> I try to get python2.4 installed in my cygwin system, with no success.
>
> I need python2.4, my package (GNU Radio) does not work well with python2.5. I
> followed the directions at
> http://cygwin.com/faq/faq.setup.html#faq.setup.old-versions
> and got an old package from
> http://ftp.univie.ac.at/packages/cygwin/release/python/
> Now I'n not quite shure how to install this package. I put it in my local
> package directory in the same directory as the current version (some 2.5.x),
> but I could not select it in the package list of setup.exe.

Yes, because the setup.ini file does not list 2.4 as either 'prev',
'curr', or 'exp'.  Those are the only three versions you can select in
setup.exe when installing from the internet.

> Of course I could untar the file and put the files by hand in place, but
> I guess all the post-inst-script magic is missing then and I'll get in
> big trouble.

Correct.  You can, theoretically, just run the postinstall scripts
manually, but there is a better way.

> Can anyone give me a hint how to install this package in a cygwin style?
> Any command line tool like dpkg or rpm for this?

No command-line tools[*], but you can do the following:

1) Download the package to some subdirectory of your Cygwin package cache
directory, e.g., C:\install\Cygwin\custom.
2) Setup should be smart enough to infer the version, but, just to make
sure, you can create a custom setup.ini with that one package in it,
setting 'curr' to the version you want (i.e., 2.4).  See
<http://www.cygwin.com/ml/cygwin/2007-07/msg00134.html> for an example of
such a setup.ini (except you'd need one with a "python" package).
3) Tell setup to "Install from local directory".  That should let you
select 2.4, and setup will install it.

[*] You can also run setup in unattended mode (as described in the above
link), but it may require more elaborate manipulation of setup.ini.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

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