delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/26/12:31:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
From: "Michael Steele" <michaels AT go2dds DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Problem getting remote packages and installing
Date: Fri, 26 Oct 2012 12:31:47 -0400
Message-ID: <001001cdb397$659d3e90$30d7bbb0$@go2dds.com>
MIME-Version: 1.0
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

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.

Kindest Regards,
Michael



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019