From: Stephen L. <ste...@st...> - 2014-04-27 15:25:13
|
I'm just getting started with msys2 and mingw64. I've unpacked msys2-base-x86_64-20140216.tar.xz to c:/MinGW64, creating c:/MinGW64/msys64/bin etc. I'm running c:/MinGW64/msys64/bin/bash.exe, with c:/MinGW64/msys64/bin first in PATH. I'm trying to install Gnu 'make'. I find it with pacman: $ pacman -S -s make This shows, among other things: mingw64/mingw-w64-x86_64-make 4.0.2289.432cb65-1 (mingw-w64-x86_64-toolchain) GNU make utility to maintain groups of programs So I try to install it: $ pacman -S mingw64/mingw-w64-x86_64-make resolving dependencies... looking for conflicting packages... warning: insufficient columns available for table display Packages (1) mingw-w64-x86_64-make-4.0.2289.432cb65-1 :: Proceed with installation? [Y/n] y y :: Retrieving packages ... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... installing mingw-w64-x86_64-make... But 'make' is still not there: $ type make bash: type: make: not found stephe@takver$ echo $PATH /MinGW64/mingw64/bin:/MinGW64/msys64/bin:/Apps/monotone-1.0:/Apps/Inno_Setup_5:/Python27:/home/stephe/bin:/Apps/GNAT-7.1.2/bin:/Apps/emacs-24.3/bin:/windows/system32 $ ls /cygdrive/c/MinGW64/msys64/bin/*make* /cygdrive/c/MinGW64/msys64/bin/makeinfo /cygdrive/c/MinGW64/msys64/bin/makepkg /cygdrive/c/MinGW64/msys64/bin/makepkg-mingw /cygdrive/c/MinGW64/msys64/bin/makepkg-template What am I missing? -- -- Stephe |
From: Alexpux <al...@gm...> - 2014-04-27 17:26:50
|
27 апр. 2014 г., в 19:21, Stephen Leake <ste...@st...> написал(а): > I'm just getting started with msys2 and mingw64. > > I've unpacked msys2-base-x86_64-20140216.tar.xz to c:/MinGW64, creating > c:/MinGW64/msys64/bin etc. > > I'm running c:/MinGW64/msys64/bin/bash.exe, with c:/MinGW64/msys64/bin > first in PATH. > > I'm trying to install Gnu 'make'. I find it with pacman: > > $ pacman -S -s make > > This shows, among other things: > > mingw64/mingw-w64-x86_64-make 4.0.2289.432cb65-1 (mingw-w64-x86_64-toolchain) > GNU make utility to maintain groups of programs > this is mingw version of Make. It contain mingw32-make executable To install msys-make just run pacman -S make Regards, Alexey. > So I try to install it: > > $ pacman -S mingw64/mingw-w64-x86_64-make > resolving dependencies... > looking for conflicting packages... > warning: insufficient columns available for table display > > Packages (1) mingw-w64-x86_64-make-4.0.2289.432cb65-1 > > > :: Proceed with installation? [Y/n] y > y > :: Retrieving packages ... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > downloading mingw-w64-x86_64-make-4.0.2289.432cb65-1-any.pkg.tar.xz... > checking keyring... > checking package integrity... > loading package files... > checking for file conflicts... > checking available disk space... > installing mingw-w64-x86_64-make... > > But 'make' is still not there: > > $ type make > bash: type: make: not found > stephe@takver$ echo $PATH > /MinGW64/mingw64/bin:/MinGW64/msys64/bin:/Apps/monotone-1.0:/Apps/Inno_Setup_5:/Python27:/home/stephe/bin:/Apps/GNAT-7.1.2/bin:/Apps/emacs-24.3/bin:/windows/system32 > > $ ls /cygdrive/c/MinGW64/msys64/bin/*make* > /cygdrive/c/MinGW64/msys64/bin/makeinfo > /cygdrive/c/MinGW64/msys64/bin/makepkg > /cygdrive/c/MinGW64/msys64/bin/makepkg-mingw > /cygdrive/c/MinGW64/msys64/bin/makepkg-template > > > What am I missing? > > -- > -- Stephe > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Msys2-users mailing list > Msy...@li... > https://lists.sourceforge.net/lists/listinfo/msys2-users |
From: Stephen L. <ste...@st...> - 2014-04-27 18:28:49
|
Alexpux <al...@gm...> writes: >> $ pacman -S -s make >> >> This shows, among other things: >> >> mingw64/mingw-w64-x86_64-make 4.0.2289.432cb65-1 (mingw-w64-x86_64-toolchain) >> GNU make utility to maintain groups of programs >> > this is mingw version of Make. It contain mingw32-make executable Ah. That makes sense. Where did it get installed? 'pacman -v' didn't give that info. > To install msys-make just run pacman -S make Yes, that works. Thanks. -- -- Stephe |
From: Ray D. <min...@gm...> - 2014-04-27 18:33:34
|
"pacman -Ql package-name" .. if you are asking because you want to remove the files by hand, don't, you'll confuse pacman's databases. Use "pacman -R package-name" instead. There's also octopi if you want a graphical view of things but this is quite WIP and doesn't work very well (yet). On Sun, Apr 27, 2014 at 7:28 PM, Stephen Leake <ste...@st...> wrote: > Alexpux <al...@gm...> writes: > >>> $ pacman -S -s make >>> >>> This shows, among other things: >>> >>> mingw64/mingw-w64-x86_64-make 4.0.2289.432cb65-1 (mingw-w64-x86_64-toolchain) >>> GNU make utility to maintain groups of programs >>> >> this is mingw version of Make. It contain mingw32-make executable > > Ah. That makes sense. > > Where did it get installed? 'pacman -v' didn't give that info. > >> To install msys-make just run pacman -S make > > Yes, that works. > > Thanks. > > -- > -- Stephe > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Msys2-users mailing list > Msy...@li... > https://lists.sourceforge.net/lists/listinfo/msys2-users |
From: Stephen L. <ste...@st...> - 2014-04-27 20:57:50
|
Ray Donnelly <min...@gm...> writes: > "pacman -Ql package-name" > Ah; that says /mingw64/* but it did _not_ put them there. Msys2 seems to be very confused about what "/" means. 'mount' says: C:/MinGW64/msys64 on /usr type ntfs (binary,noacl,auto) C:/MinGW64/msys64 on / type ntfs (binary,noacl,auto) C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) but 'ls /' clearly shows the contents of c:\ c:/mingw64 does _not_ contain the result of installing make. Neither does c:/MinGW64/msys64/mingw64; that doesn't exist. I'm guessing pacman and/or the mingw-w64-x86_64-make package are assuming that c:/MinGW64 is mounted at '/mingw64', similar to '/mingw' in MSYS. But I don't see how to implement that. I have MinGW64 unpacked in c:/MinGW64/mingw64, so I try: $ mkdir /mingw64 $ mount c:/MinGW64/mingw64 /mingw64 $ mount C:/MinGW64/msys64 on /usr type ntfs (binary,noacl,auto) C:/MinGW64/msys64 on / type ntfs (binary,noacl,auto) C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) $ ls /mingw64 $ why doesn't that work? Now when I do 'pacman -S mingw-w64-x86_64-make', the files are installed in c:/MinGW64/msys64/mingw64 > .. if you are asking because you want to remove the files by hand, No, I'm asking because I'm wondering what I need to add to PATH to see that 'make'. > don't, you'll confuse pacman's databases. Use "pacman -R package-name" > instead. right. -- -- Stephe |
From: Ray D. <min...@gm...> - 2014-04-27 21:20:46
|
> I'm running c:/MinGW64/msys64/bin/bash.exe, with c:/MinGW64/msys64/bin first in PATH. Please read and follow the instructions on this wiki page: http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ You should run one of mingw32_shell.bat, mingw64_shell.bat or msys2_shell.bat, or at least do everything important that those batch files do (setting MSYSTEM, running sh.exe with --login -i). Also, mintty works better than cmd.exe at present due to xterm emulation, this is something that we are keen to fix. > Ah; that says /mingw64/* but it did _not_ put them there. Are you sure about that? It definitely should have put them there. Obviously discussion of paths is trickier since MSYS has it's own version of each Windows path. For me: pacman -Ql mingw-w64-x86_64-make .. mingw-w64-x86_64-make /mingw64/bin/mingw32-make.exe .. and: ls -l /mingw64/bin/mingw32-make.exe -rwxr-xr-x 1 ray None 222723 Jan 13 04:37 /mingw64/bin/mingw32-make.exe > Msys2 seems to be very confused about what "/" means. 'mount' says: It's not 'confused' as such there are just two versions, the same as a bind mount in Linux. This is an unfortunate layout that we inherited from the original msys and it's a shame that we didn't correct it, but it can be lived with generally. Fixing it would mean rebuilding every MSYS2 package. > c:/MinGW64/msys64/mingw64; that doesn't exist. This indicates that you didn't run the startup scripts because you didn't run "sh.exe --login -i". |