From: Hugh S. <hg...@dm...> - 2010-12-01 17:50:25
|
I get the impression the installation should be solved, i.e. it should just work, but I'm finding that I don't get a copy of bash or tar no matter what I do. It doesn't appear in C:\MinGW or in C:\Msys\1.0. I'm on Windows XP, I have a working cygwin, but I need a working mingw as well for some other software which has it as a dependency. So I try to install msys-base again, to get a bash in there, or something: C:\MinGW\bin>mingw-get install msys-base Load catalogue: C:\MinGW\var/lib/mingw-get/data/package-list.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-package-list.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-autoconf.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-automake.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-basic-bsdtar.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-binutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-bzip2.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-cygutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-expat.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-gcc3.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-gcc4.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-gdb.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-gendef.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-gettext.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-gmp.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-libarchive.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-libiconv.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-libtool.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-make.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-mingw-get.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-mingw-utils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-mpc.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-mpfr.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-pdcurses.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-pexports.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-popt.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-pthreads-w32.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-runtime.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-xz.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-zlib.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-base.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw32-autotools.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-package-list.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-autoconf.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-autogen.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-automake.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-bash.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-binutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-bison.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-bzip2.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-console.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-core.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-coreutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-crypt.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-cvs.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-cygutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-dash.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-diffutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-expat.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-file.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-findutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-flex.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-gawk.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-gcc.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-gdbm.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-gettext.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-gmp.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-grep.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-groff.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-guile.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-gzip.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-inetutils.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-less.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-libarchive.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-libiconv.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-libtool.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-libxml2.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-lndir.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-lpr-enhanced.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-m4.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-make.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-man.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-minires.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-mintty.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-mktemp.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-openssh.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-openssl.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-patch.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-perl.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-popt.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-rebase.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-regex.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-rxvt.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-sed.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-tar.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-termcap.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-texinfo.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-unzip.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-vim.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-w32api.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-wget.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-xz.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-zip.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-zlib.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-base.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/mingw-developer-toolkit.xml Load catalogue: C:\MinGW\var/lib/mingw-get/data/msys-system-builder.xml no change: msysCORE-1.0.16-1-msys-1.0.16-lic.tar.lzma no change: msysCORE-1.0.16-1-msys-1.0.16-doc.tar.lzma no change: msysCORE-1.0.16-1-msys-1.0.16-bin.tar.lzma no change: termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma no change: libiconv-1.13.1-2-msys-1.0.13-dll-2.tar.lzma no change: libintl-0.17-2-msys-dll-8.tar.lzma no change: coreutils-5.97-3-msys-1.0.13-bin.tar.lzma no change: libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma no change: libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma no change: less-436-2-msys-1.0.13-bin.tar.lzma no change: grep-2.5.4-2-msys-1.0.13-bin.tar.lzma no change: diffutils-2.8.7.20071206cvs-3-msys-1.0.13-bin.tar.lzma no change: sed-4.2.1-2-msys-1.0.13-bin.tar.lzma no change: gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma no change: libpopt-1.15-2-msys-1.0.13-dll-0.tar.lzma no change: zlib-1.2.3-2-msys-1.0.13-dll.tar.lzma no change: libmagic-5.04-1-msys-1.0.13-dll-1.tar.lzma no change: liblzma-4.999.9beta_20100401-1-msys-1.0.13-dll-1.tar.gz no change: xz-4.999.9beta_20100401-1-msys-1.0.13-bin.tar.gz no change: texinfo-4.13a-2-msys-1.0.13-bin.tar.lzma no change: tar-1.23-1-msys-1.0.13-bin.tar.lzma no change: make-3.81-3-msys-1.0.13-bin.tar.lzma no change: gzip-1.3.12-2-msys-1.0.13-bin.tar.lzma no change: file-5.04-1-msys-1.0.13-bin.tar.lzma no change: findutils-4.4.2-2-msys-1.0.13-bin.tar.lzma no change: cygutils-dos2unix-1.3.4-4-msys-1.0.13-bin.tar.lzma no change: msysCORE-1.0.16-1-msys-1.0.16-ext.tar.lzma no change: bzip2-1.0.5-2-msys-1.0.13-bin.tar.lzma no change: bash-3.1.17-4-msys-1.0.16-bin.tar.lzma install: msys-base-2010080900-msys-bin.meta C:\MinGW\bin> So what does that actually mean? Did it install the msys-bin-meta somwhere? Did it install the contents of the msys-bin-meta somewhere? None of my files get updated, I get no diagnostics to tell me they don't need updating. I don't mind that it isn't updating the tar files, that's OK, but I do want it to update the installation. I need to be able to run the usual ./configure && make && make check in a MinGW environment. I can only assume that I have missed something obvious, and it is not missing the GUI tool which I used. I ticked [checked] the mingw-base box on thee as well as the compilers I needed. Do I need to completely remove my Msys directory, dating from 2004? Thank you, Hugh |
From: Charles W. <cwi...@us...> - 2010-12-01 19:14:59
|
On 12/1/2010 12:50 PM, Hugh Sasse wrote: > I get the impression the installation should be solved, i.e. it should > just work, but I'm finding that I don't get a copy of bash or tar no matter > what I do. It doesn't appear in C:\MinGW or in C:\Msys\1.0. That's because, by default, msys is now installed in C:\MinGW\msys\1.0\* This is controlled by the profile.xml file (or default.xml if you don't have a profile) in C:\MinGW\var\lib\mingw-get\data\ > I'm on Windows XP, I have a working cygwin, but I need a working mingw as well > for some other software which has it as a dependency. So I try to install > msys-base again, to get a bash in there, or something: > > C:\MinGW\bin>mingw-get install msys-base > Load catalogue: C:\MinGW\var/lib/mingw-get/data/package-list.xml ... > no change: bash-3.1.17-4-msys-1.0.16-bin.tar.lzma > install: msys-base-2010080900-msys-bin.meta > > C:\MinGW\bin> > > > So what does that actually mean? It means that as far as mingw-get knows, everything is up to date. (Technically, you probably should have done a 'mingw-get update' first, to download the latest copies of all the package manifests). > Did it install the msys-bin-meta somwhere? > Did it install the contents of the msys-bin-meta somewhere? None of my > files get updated, I get no diagnostics to tell me they don't need updating. > I don't mind that it isn't updating the tar files, that's OK, but I do want > it to update the installation. I need to be able to run the usual > ./configure && make && make check > in a MinGW environment. > > I can only assume that I have missed something obvious, and it is not > missing the GUI tool which I used. I ticked [checked] the mingw-base > box on thee as well as the compilers I needed. > > Do I need to completely remove my Msys directory, dating from 2004? I think you need to update any old shortcuts you may have on your desktop, to point to C:\MinGW\msys\1.0\msys.bat instead of some other version. The shortcut (Start->MinGW->MinGW Command Prompt) created by the "gui" mingw-get-inst installer -- if you used mingw-get-inst to install and run mingw-inst the first time -- should Do The Right Thing(tm). -- Chuck |
From: Keith M. <kei...@us...> - 2010-12-01 20:36:41
|
On Wednesday 01 December 2010 19:14:52 Charles Wilson wrote: > On 12/1/2010 12:50 PM, Hugh Sasse wrote: > > I get the impression the installation should be solved, i.e. it > > should just work, but I'm finding that I don't get a copy of bash > > or tar no matter what I do. It doesn't appear in C:\MinGW or in > > C:\Msys\1.0. > > That's because, by default, msys is now installed in > C:\MinGW\msys\1.0\* Thus, you should expect to find bash.exe and tar.exe, (among others), in C:\MinGW\msys\1.0\bin, (not in C:\MinGW\msys\1.0 directly, as the OP's stated expectation might be [mis]interpreted). > > I'm on Windows XP, I have a working cygwin, but I need a working > > mingw as well for some other software which has it as a dependency. > > So I try to install msys-base again, to get a bash in there, or > > something: > > > > C:\MinGW\bin>mingw-get install msys-base > > Load catalogue: C:\MinGW\var/lib/mingw-get/data/package-list.xml > > ... > > > no change: bash-3.1.17-4-msys-1.0.16-bin.tar.lzma > > install: msys-base-2010080900-msys-bin.meta > > > > C:\MinGW\bin> > > > > > > So what does that actually mean? > > It means that as far as mingw-get knows, everything is up to date. > (Technically, you probably should have done a 'mingw-get update' > first, to download the latest copies of all the package manifests). > > > Did it install the msys-bin-meta somwhere? Technically no, because... > > Did it install the contents of the msys-bin-meta somewhere? ...as a meta package, msys-base doesn't have any content; it just lists [pseudo-]dependencies, so that you can install all of the constituent packages for a basic MSYS tool chain, without specifying each and every one individually. The only physical evidence, that you "installed" msys-base, is a record in one of mingw-get's locally maintained XML files. > > None > > of my files get updated, I get no diagnostics to tell me they don't > > need updating. Uhmm ... that's what "no change" means: the files installed as a result of unpacking the specified tarball are up to date. > > I don't mind that it isn't updating the tar files, That's not what it's telling you... > > that's OK, but I do want it to update the installation. ...it's telling you that it doesn't need to update any file which the tarball provides. (Technically, the message doesn't show the tarball name; it shows the canonical package name. In most cases, the tarball name is the same as the canonical package name, but this congruence isn't always apparent). > > Do I need to completely remove my Msys directory, dating from 2004? You don't *need* to, but it is well out of date[*], and... > I think you need to update any old shortcuts you may have on your > desktop, to point to > C:\MinGW\msys\1.0\msys.bat ...after you've done this, you may just as well $ rm -rf /c/MSYS/1.0 to clear out all the obsolete junk, (although, if you've added any extensions which we don't support, you may wish to reproduce those into your new installation first). [*] IIRC, 2004 vintage MSYS provided only sh.exe, and not bash.exe as such; sh.exe *was* bash, but would start in sh compatibility mode. -- Regards, Keith. |
From: Hugh S. <hg...@dm...> - 2010-12-01 19:49:45
|
On Wed, 1 Dec 2010, Charles Wilson wrote: > On 12/1/2010 12:50 PM, Hugh Sasse wrote: > > I get the impression the installation should be solved, i.e. it should > > just work, but I'm finding that I don't get a copy of bash or tar no matter > > what I do. It doesn't appear in C:\MinGW or in C:\Msys\1.0. > > That's because, by default, msys is now installed in > C:\MinGW\msys\1.0\* > This is controlled by the profile.xml file (or default.xml if you don't > have a profile) in > C:\MinGW\var\lib\mingw-get\data\ > Thank you. The installation instructions talk about adding MinGW\bin to one's PATH, but I'd need C:\MinGW\msys\1.0\bin as well then? No apparent entries to act as symlinks, so I imagine so. > > > I'm on Windows XP, I have a working cygwin, but I need a working mingw as well > > for some other software which has it as a dependency. So I try to install > > msys-base again, to get a bash in there, or something: > > > > C:\MinGW\bin>mingw-get install msys-base > > Load catalogue: C:\MinGW\var/lib/mingw-get/data/package-list.xml > ... > > no change: bash-3.1.17-4-msys-1.0.16-bin.tar.lzma > > install: msys-base-2010080900-msys-bin.meta > > > > C:\MinGW\bin> > > > > > > So what does that actually mean? > > It means that as far as mingw-get knows, everything is up to date. > (Technically, you probably should have done a 'mingw-get update' first, > to download the latest copies of all the package manifests). Yes, I did that beforehand, but nothing different happened, so I didn't mention it. > [...] > > it to update the installation. I need to be able to run the usual > > ./configure && make && make check > > in a MinGW environment. > > > > I can only assume that I have missed something obvious, and it is not > > missing the GUI tool which I used. I ticked [checked] the mingw-base > > box on thee as well as the compilers I needed. > > > > Do I need to completely remove my Msys directory, dating from 2004? > > I think you need to update any old shortcuts you may have on your > desktop, to point to > C:\MinGW\msys\1.0\msys.bat > instead of some other version. The shortcut (Start->MinGW->MinGW > Command Prompt) created by the "gui" mingw-get-inst installer -- if you > used mingw-get-inst to install and run mingw-inst the first time -- > should Do The Right Thing(tm). I did use that first....And it hasn't updated that so it still points to the old C:\Msys[...]. Also, is there a way to move the updated installation, when it is all correct, to another machine which is not network connected? Can I regenerate a new installer from my distribution that I can put on a USB stick, or do I need the Msys Developers kit option in the GUI which I didn't tick this time? > > -- > Chuck Thank you, Hugh > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe > |
From: Keith M. <kei...@us...> - 2010-12-01 20:48:10
|
On Wednesday 01 December 2010 19:49:36 Hugh Sasse wrote: > The installation instructions talk about adding MinGW\bin > to one's PATH, but I'd need C:\MinGW\msys\1.0\bin as well then? No. You should start an MSYS shell, in your choice of console container, either by running msys.bat, or by whatever alternative mechanism that container provides to run c:\MinGW\msys\1.0\bin\sh.exe --login -i or c:\MinGW\msys\1.0\bin\bash.exe --login -i > No apparent entries to act as symlinks, ... You're on WinXP, right? Symlinks are not supported. -- Regards, Keith. |
From: Keith M. <kei...@us...> - 2010-12-01 21:15:21
|
On Wednesday 01 December 2010 19:49:36 Hugh Sasse wrote: > Also, is there a way to move the updated installation, when it is all > correct, to another machine which is not network connected? Can I > regenerate a new installer from my distribution that I can put on a > USB stick, or Yes. Let's assume your USB stick is mapped to drive U, and your initial (internet connected) installation is under C:\MinGW. Create U:\MinGW, then reproduce, from C:\MinGW into U:\MinGW bin\mingw-get.exe libexec\mingw-get\... var\lib\mingw-get\... var\cache\mingw-get\... (where ellipsis represents the content of the entire directory subtree). Then, open/create U:\MinGW\var\lib\mingw-get\data\profile.xml in your favourite editor, (copying it from defaults.xml in the same directory if necessary), and adjust the sysroot mappings to point back to the target paths on your C: drive. Now, plug your USB stick into any other PC, and run U:\MinGW\bin\mingw-get install whatever ... to install on the other PC. To keep your portable installer up to date run U:\MinGW\bin\mingw-get update while the USB stick is plugged into an internet connected PC, and also, while still internet connected, run U:\MinGW\bin\mingw-get install whatever ... or U:\MinGW\bin\mingw-get upgrade whatever ... to ensure you get the up to date package tarballs downloaded on to the USB stick. > do I need the Msys Developers kit option in the GUI > which I didn't tick this time? No. The MSYS Developers' kit is intended for use by those who wish to participate in the development of MSYS itself. The vast majority of MinGW users will never need it; mingw-get is in no way dependent on MSYS. -- Regards, Keith. |
From: Hugh S. <hg...@dm...> - 2010-12-01 21:59:44
|
Thank you, Keith, I think those answers have covered everything. Hugh |