I'm putting together a script that will install Win-Builds for me on a cygwin 
based platform.  It is not completed because there are a few details I am 
blurred about and I'm not sure what changes have been incorporated into the 
recent scripts or programs.



FIRST:    It is inconvenient to have to reload all files to get to the instll 
section for testing.  Can this be avoided, in the cript by telling yypkg, which 
I'm not familiar with, to only install because everthing is alredy downloaded?

The below is the inital version:

####################################

#! /bin/bash

BITS=32
ARCH=i686
VERS=1.3.0

export YYPREFIX=/opt/windows_32
export PANGO_CACHE=${YYPREFIX}/etc/pango/pango.modules

TOPDIR=/cygdrive/c/win-apps/win-builds      # Top temp dir for holding install 
files
    mkdir -p $TOPDIR
    cd    $TOPDIR  || exit 3
    #
    # Use cygwin's wget package to fetch win-builds bundle
    #
    /usr/bin/wget http://win-builds.org/${VERS}/win-builds-bundle-${VERS}.zip 
    /cygdrive/c/Program\ Files/7-Zip/7z.exe  x win-builds-bundle-${VERS}.zip
    cd win-builds-bundle || exit 1

#
# Get two programs fixed for linking which enables Windows' XP's to work.
#
    /usr/bin/wget "http://notk.org/~adrien/yypkg-no-external-mklink.exe";
    mv yypkg-no-external-mklink.exe  yypkg.exe

    /usr/bin/wget "http://notk.org/~adrien/sherpa-no-external-mklink.exe";
    mv sherpa-no-external-mklink.exe sherpa.exe
#
# Get two scripts created for installing win-builds on cygwin
#
    # I'm not sure if these are still valid
    rm msys-install.sh
    /usr/bin/wget http://notk.org/~adrien/win-builds-cygwin/msys-install.sh

    rm -v win-builds-switch.sh
    /usr/bin/wget 
http://notk.org/~adrien/win-builds-cygwin/win-builds-switch.sh 
#
# Begin main installation process:
#
     #  It gets fuzzy after this....  I think the below is correct....?

      ./msys-cygwin-install.sh i686

#
#########################
        
The above results in the following failure just after all files have completed 
downloading.
. 
Installing atk-2.8.0-1-i686-w64-mingw32.txz...Fatal error: exception 
Unix.Unix_error(20, "create_process", "C:\cygwin\bin\bsdtar.exe")

 The $? value is 2.


Any ideas about how to fix this?

Thank You.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to