delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
X-IronPortListener: | Outbound_SMTP |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | Av4EAB1Hi1CcKEcU/2dsb2JhbABEwl6BCIIfAQEEEhViAgEIDSEBAgIBEh8TJQEBBAEJERqHZAufQpxZi3GDRgEUAoIwYQOIJIUHiV+EcYo2gwuBIh8 |
From: | "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>, |
"'Michael Steele'" <michaels AT go2dds DOT com> | |
Date: | Fri, 26 Oct 2012 22:31:05 -0400 |
Subject: | RE: Problem getting remote packages and installing |
Message-ID: | <0105D5C1E0353146B1B222348B0411A20ACC7F462C@NIHMLBX02.nih.gov> |
References: | <001001cdb397$659d3e90$30d7bbb0$@go2dds.com> |
In-Reply-To: | <001001cdb397$659d3e90$30d7bbb0$@go2dds.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q9R2Vcnl020983 |
Michael Steele wrote on October 26, 2012 12:32 PM >Below is the code I'm using to perform an unattended install, with extra >packages. > >------------------------------------> >@ECHO OFF >REM -- Automates Cygwin installation and kick start the Barnyard2 compile > >SETLOCAL > >REM -- Change to the directory of the executing batch file >CD %~dp0 > >REM -- Configure our paths >SET SITE=http://cygwin.mirrors.pair.com/ >SET LOCALDIR=d:/cygwin/downloads >SET ROOTDIR=d:/cygwin > >REM -- These are the packages we will install (in addition to the default >packages) >SET >PACKAGES=unzip,zip,bison,cmake,gcc,gcc-core,libtool,make,readline,zlib,zlib- >devel,perl > >REM *** INSTALLING DEFAULT PACKAGES >setup -q -D -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" > >REM *** INSTALLING CUSTOM PACKAGES >setup -q -D -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" -P %PACKAGES% > >ENDLOCAL > >REM *** KICKSTART THE BARNYARD2 COMPILING PROCESS >PATH=%PATH%;d:\cygwin\usr\local\bin;d:\cygwin\bin >bash --login -i -c /cygdrive/d/temp/go-compile.sh > >REM RMDIR /S /Q d:\cygwin > >PAUSE >EXIT /B 0 >------------------------------------> > >The problem is that it appears to transfer all the packages, because when I >go into the downloads folder they are listed in there, but it's not >installing them. > >An example is zip; It is in the downloads folder, but tying to user zip, it >states it can't be found. Can't say for sure, but -D and -L may be mutually exclusive, i.e., interfering with each other. (Perhaps -D downloads and then blocks -L from happening.) Try removing both. setup -q -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" Or run them one at a time, -D first. setup -q -D -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" setup -q -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" I'd also remove -X, unless you have a good reason to not verify. That gives setup -q -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" See also http://cygwin.com/faq/faq.setup.html#faq.setup.automated => Google, first hit => http://cygwin.com/ml/cygwin/2011-09/msg00097.html Good luck, - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |