From: <tsm...@gm...> - 2011-05-30 01:08:04
|
Sergio, Thanks. I just get the latest package installed. There is no mingw-get. I cannot get mingw-get to have xz package installed. Also, pwd -W works but /bin/pwd -W will get the error as before. Any suggestions? Tom but I didn't find the msys.bat On May 29, 2011 2:40pm, Sergio NNX <sfh...@ho...> wrote: > Hi Tom, > We've just released a new MinGW/MSYS installer > (http://sourceforge.net/projects/mingwbundle/) you are more than welcome > to try. If you let me know more in detail which app(s) you have been > trying to build, I can try them here and let you know how it goes. > Cheers. > Sergio. > ---- > Parliamentary ICT > Houses of Parliament > UK > http://www.parliament.uk/ > Date: Sun, 29 May 2011 21:12:32 +0000 > From: tsm...@gm... > To: min...@li... > Subject: [Mingw-users] msys build error > Hi, > I just tried to compile msys and its application based on the mingw HOWTO > wiki. > I got a couple of problems and questions. Any help is appreciated in > advance. > 1) "$pwd -W" works but "$/bin/pwd -W" ends with the error "/bin/pwd: > invalid option -- W" > 2) when building msysCORE, it has an error message in the beginning > ./msysrlsbld: line 234: [: too many arguments > The good thing is that the code can be compiled regardless of such an > error > 3) $ ./msys-build-grep grep-2.5.4.tar.bz2 > *** Info: unpacking grep-2.5.4.tar.bz2 > debian-2.5.4-4-patches/ > .... > *** applying patch 80-catalan_translation.patch: > patching file po/ca.po > Hunk #1 succeeded at 74 with fuzz 2 (offset -1 lines). > (hangup here for 5 hours) > 4) > $tar -Jxf unzip-6.0-1-msys-1.0.13-src.tar.lzma > $ ./msys-build-unzip unzip60.tgz > *** Info: unpacking unzip60.tgz > *** Info: Unpacking optional bzip2 component > (hangup here for 5 hours) > Tom > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > 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: Earnie <ea...@us...> - 2011-05-30 20:44:11
|
Earnie wrote: > Greg Chicares wrote: >> On 2011-05-30 15:46Z, Tom Smith wrote: >>> >>> Yes. There is no alias settings in msys shell. why "pwd -W" works but >>> "/bin/pwd -W" doesn't? >> >> The first invokes a bash builtin; the second, a program. > > Yes it is and I consider this a regression. https://sourceforge.net/tracker/?func=detail&aid=3309442&group_id=2435&atid=102435 -- Earnie -- http://www.for-my-kids.com |
From: Tom S. <tsm...@gm...> - 2011-05-31 07:31:30
|
On Mon, May 30, 2011 at 1:44 PM, Earnie <ea...@us...>wrote: > > > Yes it is and I consider this a regression. > > > https://sourceforge.net/tracker/?func=detail&aid=3309442&group_id=2435&atid=102435 > > Thanks for the link. I guess this is not a big issue for using msys. It looks that (http://sourceforge.net/projects/mingwbundle/) is not officially supported here. Let me get back to my original question and see if you have any suggestions. I follow the Mingw Howto to have the package installed, but the compilation cannot get through. Did I miss something or maybe I need to try a different machine? 3) $ ./msys-build-grep grep-2.5.4.tar.bz2 *** Info: unpacking grep-2.5.4.tar.bz2 debian-2.5.4-4-patches/ .... *** applying patch 80-catalan_translation.patch: patching file po/ca.po Hunk #1 succeeded at 74 with fuzz 2 (offset -1 lines). (hangup here for 5 hours) 4) $tar -Jxf unzip-6.0-1-msys-1.0.13-src.tar.lzma $ ./msys-build-unzip unzip60.tgz *** Info: unpacking unzip60.tgz *** Info: Unpacking optional bzip2 component (hangup here for 5 hours) Tom |
From: Tom S. <tsm...@gm...> - 2011-05-30 15:46:58
|
Hi Sergio, Hi there, > > I usually use 'wget' to get any package I need. For instance, you could > use: > > wget --verbose " > http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/m/project/mi/mingw/MinGW/xz/xz-4.999.9beta_20100401-1/xz-4.999.9beta_20100401-1-mingw32-bin.tar.bz2 > " > > to get xz package. I've just tested it and it's worked fine. As far as I > know 'mingw-get' is used when using the Automated installer, but i may be > wrong. > Thanks. xz is the base I thought that msys BaseSystem package. I thought it should installer should get it installed by default. > > I don't think u need to use '/bin/pwd -W', but pwd -W. Regardless where ur > path is (eg. /src/gcc/java/....), if you type 'pwd -W' it works fine. > Yes. There is no alias settings in msys shell. why "pwd -W" works but "/bin/pwd -W" doesn't? I know grep is there already, just want to try if I can get it compiled based on the Mingw HOWTO documentation. Here is my findings. "C:\Program Files\MinGW-MSYS\msys.bat" sets the shell to MINGW32 instead of MSYS. I unpacked grep-2.5.4-2-msys-1.0.13-src.tar.lzma, modified the file msys-build-grep. changed MSYS in "if [ "$MSYSTEM" != "MSYS" ]" to MINGW32, then run "./msys-build-grep grep-2.5.4.tar.bz2", here is the error I get: d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c: In function 'quotearg_buffer_restyled': d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:414:3: error: 'mbstate_t' undeclared (first use in this function) d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:414:3: note: each undeclared identifier is reported only once for each function it appears in d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:414:13: error: expected ';' before 'mbstate' d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:415:12: error: 'mbstate' undeclared (first use in this function) make[3]: *** [quotearg.o] Error 1 How to get such a problem resolved? Thanks, Tom > - grep is already installed. if you type 'grep --version', u'll get 'GNU > grep 2.5.4' > > - regarding 'unzip', you could use 'gunzip' or 'bunzip2'. Both are > installed! > > Let me know how you get on. > > > Sergio. > > ---- > *Parliamentary ICT > Houses of Parliament > > UK* > http://www.parliament.uk/ > > > > > ------------------------------ > Date: Mon, 30 May 2011 01:07:57 +0000 > > From: tsm...@gm... > To: min...@li... > Subject: Re: [Mingw-users] msys build error > > > Sergio, > > Thanks. > I just get the latest package installed. > There is no mingw-get. I cannot get mingw-get to have xz package installed. > Also, pwd -W works but /bin/pwd -W will get the error as before. > > Any suggestions? > > Tom > > > but I didn't find the msys.bat > > On May 29, 2011 2:40pm, Sergio NNX <sfh...@ho...> wrote: > > > > > > > > > > > > Hi Tom, > > > > We've just released a new MinGW/MSYS installer ( > http://sourceforge.net/projects/mingwbundle/) you are more than welcome to > try. If you let me know more in detail which app(s) you have been trying to > build, I can try them here and let you know how it goes. > > > > Cheers. > > > > Sergio. > > > > ---- > > Parliamentary ICT > > Houses of Parliament > > > > UK > > http://www.parliament.uk/ > > > > > > > > > > Date: Sun, 29 May 2011 21:12:32 +0000 > > From: tsm...@gm... > > To: min...@li... > > Subject: [Mingw-users] msys build error > > > > Hi, > > > > I just tried to compile msys and its application based on the mingw HOWTO > wiki. > > I got a couple of problems and questions. Any help is appreciated in > advance. > > > > 1) "$pwd -W" works but "$/bin/pwd -W" ends with the error "/bin/pwd: > invalid option -- W" > > > > 2) when building msysCORE, it has an error message in the beginning > > ./msysrlsbld: line 234: [: too many arguments > > The good thing is that the code can be compiled regardless of such an > > error > > > > 3) $ ./msys-build-grep grep-2.5.4.tar.bz2 > > *** Info: unpacking grep-2.5.4.tar.bz2 > > debian-2.5.4-4-patches/ > > .... > > *** applying patch 80-catalan_translation.patch: > > patching file po/ca.po > > Hunk #1 succeeded at 74 with fuzz 2 (offset -1 lines). > > (hangup here for 5 hours) > > > > 4) > > $tar -Jxf unzip-6.0-1-msys-1.0.13-src.tar.lzma > > $ ./msys-build-unzip unzip60.tgz > > *** Info: unpacking unzip60.tgz > > *** Info: Unpacking optional bzip2 component > > (hangup here for 5 hours) > > > > Tom > > > ------------------------------------------------------------------------------ > > vRanger cuts backup time in half-while increasing security. > > With the market-leading solution for virtual backup and recovery, > > you get blazing-fast, flexible, and affordable data protection. > > Download your free trial now. > > http://p.sf.net/sfu/quest-d2dcopy1 > > _______________________________________________ > > 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 > > > > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. With the > market-leading solution for virtual backup and recovery, you get > blazing-fast, flexible, and affordable data protection. Download your free > trial now. http://p.sf.net/sfu/quest-d2dcopy1 > > _______________________________________________ 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: Greg C. <gch...@sb...> - 2011-05-30 16:00:30
|
On 2011-05-30 15:46Z, Tom Smith wrote: > > Yes. There is no alias settings in msys shell. why "pwd -W" works but > "/bin/pwd -W" doesn't? The first invokes a bash builtin; the second, a program. |
From: Tom S. <tsm...@gm...> - 2011-05-30 17:09:17
|
On Mon, May 30, 2011 at 9:00 AM, Greg Chicares <gch...@sb...>wrote: > On 2011-05-30 15:46Z, Tom Smith wrote: > > > > Yes. There is no alias settings in msys shell. why "pwd -W" works but > > "/bin/pwd -W" doesn't? > > The first invokes a bash builtin; the second, a program. Good to know. Thanks. Tom |
From: Earnie <ea...@us...> - 2011-05-30 20:28:13
|
Greg Chicares wrote: > On 2011-05-30 15:46Z, Tom Smith wrote: >> >> Yes. There is no alias settings in msys shell. why "pwd -W" works but >> "/bin/pwd -W" doesn't? > > The first invokes a bash builtin; the second, a program. Yes it is and I consider this a regression. The recent versions of MSYS removed the simple shell script named pwd in /bin and used the coreutils version of pwd directly. If you want /bin/pwd -W to work you can create the following script and you do not have to worry with removing the /bin/pwd.exe version either. <script file="/bin/pwd"> #!/bin/sh # Copyright (C) 2002, Earnie Boyd # mailto:ea...@us... # This file is part of MSYS # http://www.mingw.org/msys.shtml # File: pwd pwd "$@" </script> -- Earnie -- http://www.for-my-kids.com |
From: Tom S. <tsm...@gm...> - 2011-05-30 17:08:53
|
On Mon, May 30, 2011 at 8:57 AM, Sergio NNX <sfh...@ho...> wrote: > Hi Tom, > > I don't use MSYS to build packages/libraries, but MinGW. In order to build > grep, i do: > > a) ./configure --prefix=/mingw > b) make > Ok. I tried your solution. Here is the error I got after type "make" grep.o:grep.c:(.text+0x21a6): undefined reference to `S_ISSOCK' ../lib/libgreputils.a(error.o):error.c:(.text+0x3c): undefined reference to `lib intl_vfprintf' ../lib/libgreputils.a(error.o):error.c:(.text+0x17a): undefined reference to `li bintl_vfprintf' collect2: ld returned 1 exit status make[2]: *** [grep.exe] Error 1 thanks. Tom > c) make install > > And it works very well. > > Let me know how u're doing. > > > Sergio. > > > ---- > *Parliamentary ICT > Houses of Parliament > > UK* > http://www.parliament.uk/ > > > > > ------------------------------ > Date: Mon, 30 May 2011 08:46:51 -0700 > From: tsm...@gm... > To: Min...@li... > > Subject: Re: [Mingw-users] msys build error > > Hi Sergio, > > Hi there, > > I usually use 'wget' to get any package I need. For instance, you could > use: > > wget --verbose " > http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/m/project/mi/mingw/MinGW/xz/xz-4.999.9beta_20100401-1/xz-4.999.9beta_20100401-1-mingw32-bin.tar.bz2 > " > > to get xz package. I've just tested it and it's worked fine. As far as I > know 'mingw-get' is used when using the Automated installer, but i may be > wrong. > > > > Thanks. xz is the base I thought that msys BaseSystem package. I thought > it should installer should get it installed by default. > > > > I don't think u need to use '/bin/pwd -W', but pwd -W. Regardless where ur > path is (eg. /src/gcc/java/....), if you type 'pwd -W' it works fine. > > > Yes. There is no alias settings in msys shell. why "pwd -W" works but > "/bin/pwd -W" doesn't? > > I know grep is there already, just want to try if I can get it compiled > based on the Mingw HOWTO documentation. > > Here is my findings. > > "C:\Program Files\MinGW-MSYS\msys.bat" sets the shell to MINGW32 instead > of MSYS. > > I unpacked grep-2.5.4-2-msys-1.0.13-src.tar.lzma, modified the file > msys-build-grep. > changed MSYS in "if [ "$MSYSTEM" != "MSYS" ]" to MINGW32, then run > "./msys-build-grep grep-2.5.4.tar.bz2", > here is the error I get: > d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c: In function > 'quotearg_buffer_restyled': > d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:414:3: error: > 'mbstate_t' undeclared (first use in this function) > d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:414:3: note: each > undeclared identifier is reported only once for each function it appears in > d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:414:13: error: > expected ';' before 'mbstate' > d:/mingw3/msys/1.0/home/xxxx/grep-2.5.4/lib/quotearg.c:415:12: error: > 'mbstate' undeclared (first use in this function) > make[3]: *** [quotearg.o] Error 1 > > How to get such a problem resolved? > Thanks, > > Tom > > > - grep is already installed. if you type 'grep --version', u'll get 'GNU > grep 2.5.4' > > - regarding 'unzip', you could use 'gunzip' or 'bunzip2'. Both are > installed! > > Let me know how you get on. > > > Sergio. > > ---- > *Parliamentary ICT > Houses of Parliament > > UK* > http://www.parliament.uk/ > > > > > ------------------------------ > Date: Mon, 30 May 2011 01:07:57 +0000 > > From: tsm...@gm... > To: min...@li... > Subject: Re: [Mingw-users] msys build error > > > Sergio, > > Thanks. > I just get the latest package installed. > There is no mingw-get. I cannot get mingw-get to have xz package installed. > Also, pwd -W works but /bin/pwd -W will get the error as before. > > Any suggestions? > > Tom > > > but I didn't find the msys.bat > > On May 29, 2011 2:40pm, Sergio NNX <sfh...@ho...> wrote: > > > > > > > > > > > > Hi Tom, > > > > We've just released a new MinGW/MSYS installer ( > http://sourceforge.net/projects/mingwbundle/) you are more than welcome to > try. If you let me know more in detail which app(s) you have been trying to > build, I can try them here and let you know how it goes. > > > > Cheers. > > > > Sergio. > > > > ---- > > Parliamentary ICT > > Houses of Parliament > > > > UK > > http://www.parliament.uk/ > > > > > > > > > > Date: Sun, 29 May 2011 21:12:32 +0000 > > From: tsm...@gm... > > To: min...@li... > > Subject: [Mingw-users] msys build error > > > > Hi, > > > > I just tried to compile msys and its application based on the mingw HOWTO > wiki. > > I got a couple of problems and questions. Any help is appreciated in > advance. > > > > 1) "$pwd -W" works but "$/bin/pwd -W" ends with the error "/bin/pwd: > invalid option -- W" > > > > 2) when building msysCORE, it has an error message in the beginning > > ./msysrlsbld: line 234: [: too many arguments > > The good thing is that the code can be compiled regardless of such an > > error > > > > 3) $ ./msys-build-grep grep-2.5.4.tar.bz2 > > *** Info: unpacking grep-2.5.4.tar.bz2 > > debian-2.5.4-4-patches/ > > .... > > *** applying patch 80-catalan_translation.patch: > > patching file po/ca.po > > Hunk #1 succeeded at 74 with fuzz 2 (offset -1 lines). > > (hangup here for 5 hours) > > > > 4) > > $tar -Jxf unzip-6.0-1-msys-1.0.13-src.tar.lzma > > $ ./msys-build-unzip unzip60.tgz > > *** Info: unpacking unzip60.tgz > > *** Info: Unpacking optional bzip2 component > > (hangup here for 5 hours) > > > > Tom > > > ------------------------------------------------------------------------------ > > vRanger cuts backup time in half-while increasing security. > > With the market-leading solution for virtual backup and recovery, > > you get blazing-fast, flexible, and affordable data protection. > > Download your free trial now. > > http://p.sf.net/sfu/quest-d2dcopy1 > > _______________________________________________ > > 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 > > > > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. With the > market-leading solution for virtual backup and recovery, you get > blazing-fast, flexible, and affordable data protection. Download your free > trial now. http://p.sf.net/sfu/quest-d2dcopy1 > > _______________________________________________ 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 > > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. With the > market-leading solution for virtual backup and recovery, you get > blazing-fast, flexible, and affordable data protection. Download your free > trial now. http://p.sf.net/sfu/quest-d2dcopy1 > > _______________________________________________ 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: Fabian G. <fa...@gr...> - 2011-05-31 09:39:49
|
Am 30.05.2011 10:08, schrieb Tom Smith: > grep.o:grep.c:(.text+0x21a6): undefined reference to `S_ISSOCK' > ../lib/libgreputils.a(error.o):error.c:(.text+0x3c): undefined > reference to `lib > intl_vfprintf' > ../lib/libgreputils.a(error.o):error.c:(.text+0x17a): undefined > reference to `li > bintl_vfprintf' > collect2: ld returned 1 exit status > make[2]: *** [grep.exe] Error 1 Seems you are not in an MSYS environment. What does "echo $MSYSTEM say?" If it says "MINGW32", then please run "C:\MinGW\msys\1.0\msys.bat MSYS" and try again in this environment. - Fabian |
From: Tom S. <tsm...@gm...> - 2011-05-31 15:00:15
|
> > > Seems you are not in an MSYS environment. What does "echo $MSYSTEM say?" If > it says "MINGW32", then please run "C:\MinGW\msys\1.0\msys.bat MSYS" and try > again in this environment. > Hi Fabian, Thanks for the help. Just ignore my previous email error which used a different build. I do run from msys.bat MSYS and then try to build grep and unzip package. Both got stuck in the middle. do you have such a problem to build any of them? $ ./msys-build-grep grep-2.5.4.tar.bz2 *** Info: unpacking grep-2.5.4.tar.bz2 debian-2.5.4-4-patches/ .... *** applying patch 80-catalan_translation.patch: patching file po/ca.po Hunk #1 succeeded at 74 with fuzz 2 (offset -1 lines). (hangup here for 5 hours) $tar -Jxf unzip-6.0-1-msys-1.0.13-src.tar.lzma $ ./msys-build-unzip unzip60.tgz *** Info: unpacking unzip60.tgz *** Info: Unpacking optional bzip2 component (hangup here for 5 hours) Thanks. tom |
From: Fabian G. <fa...@gr...> - 2011-05-31 15:21:36
|
Am 31.05.2011 08:00, schrieb Tom Smith: > I do run from msys.bat MSYS and then try to build grep and unzip package. > Both got stuck in the middle. do you have such a problem to build any > of them? No, never. Please note that your hang in the grep source occurs after the last Debian patch is applied. After this, the directory containing the Debian patches is normally removed and then another patch is applied. If you do not get the message of the successful application of this final patch, than the five hours are apperently used to clean out the directory (see line 222 in msys-build-grep). - Fabian |
From: Tom S. <tsm...@gm...> - 2011-06-06 16:43:15
|
Hi Fabian, > > > > No, never. Please note that your hang in the grep source occurs after > the last Debian patch is applied. After this, the directory containing > the Debian patches is normally removed and then another patch is > applied. If you do not get the message of the successful application > of this final patch, than the five hours are apperently used to clean > out the directory (see line 222 in msys-build-grep). > > Just got some time to check this issue this weekend. I find the problem can be resolved by using the latest mingw-get built on May 30 to get the package installed. msysCORE and other packages can be built successfully. Thanks for the help. I find the / was mounted to c:\mingw\msys\1.0 by default. Is there a way I can change such a default mount to c:\ without forcing to put msys-1.0.dll under c:\bin? Tom |
From: Earnie <ea...@us...> - 2011-06-06 18:17:44
|
Tom Smith wrote: > > I find the / was mounted to c:\mingw\msys\1.0 by default. Is there a way I > can change such a default mount to c:\ without forcing to put msys-1.0.dll > under c:\bin? > No, that is by design. The parent directory of the directory containing msys-1.0.dll is the root / directory and the directory containing msys-1.0.dll is the /bin directory. -- Earnie -- http://www.for-my-kids.com |
From: Tom S. <tsm...@gm...> - 2011-06-06 18:54:41
|
Earnie, > > I find the / was mounted to c:\mingw\msys\1.0 by default. Is there a way > I > > can change such a default mount to c:\ without forcing to put > msys-1.0.dll > > under c:\bin? > > > > No, that is by design. The parent directory of the directory containing > msys-1.0.dll is the root / directory and the directory containing > msys-1.0.dll is the /bin directory. Thanks for the help. There are many convenience if I can mount / to c:\. For example, I can run "ls /windows", "ls /other_directory" instead of using ls /c/windows or ls /c/other_directory. The only way is to do it is to put msys-1.0.dll and other binary under c:\bin. it requires me to put all msys related directory such as etc under c:\etc I am thinking if there is a better way to do it without creating too many msys related sub directories under c:\? Tom |
From: Earnie <ea...@us...> - 2011-06-06 22:15:42
|
Tom Smith wrote: > Earnie, > > > >>> I find the / was mounted to c:\mingw\msys\1.0 by default. Is there a way >> I >>> can change such a default mount to c:\ without forcing to put >> msys-1.0.dll >>> under c:\bin? >>> >> >> No, that is by design. The parent directory of the directory containing >> msys-1.0.dll is the root / directory and the directory containing >> msys-1.0.dll is the /bin directory. > > > Thanks for the help. There are many convenience if I can mount / to c:\. > > For example, I can run "ls /windows", "ls /other_directory" instead of using > ls /c/windows or ls /c/other_directory. > > The only way is to do it is to put msys-1.0.dll and other binary under > c:\bin. > it requires me to put all msys related directory such as etc under c:\etc > That's what /etc/fstab is for. You can map the windows directories to a posix path using /etc/fstab. If you want that posix path to auto-complete you will need to create a stub directory for it in / either by creating the stub before adding it to /etc/fstab or afterward via mkdir /c/mingw/msys/1.0/foo where foo is related to posix path /foo that maps to windows directory c:\somewhere\foo. I suggest reading /doc/msys/* to get a few hints. Also, be wary of directories and files with space in the name. Use the 8.3 format for that name as given by cmd //c dir //x. -- Earnie -- http://www.for-my-kids.com |
From: Tom S. <tsm...@gm...> - 2011-06-06 22:59:53
|
> > > > For example, I can run "ls /windows", "ls /other_directory" instead of > using > > ls /c/windows or ls /c/other_directory. > > > > The only way is to do it is to put msys-1.0.dll and other binary under > > c:\bin. > > it requires me to put all msys related directory such as etc under c:\etc > > > > That's what /etc/fstab is for. You can map the windows directories to a > posix path using /etc/fstab. If you want that posix path to > auto-complete you will need to create a stub directory for it in / > either by creating the stub before adding it to /etc/fstab or afterward > via mkdir /c/mingw/msys/1.0/foo where foo is related to posix path /foo > that maps to windows directory c:\somewhere\foo. I suggest reading > /doc/msys/* to get a few hints. Also, be wary of directories and files > with space in the name. Use the 8.3 format for that name as given by > cmd //c dir //x. I have read the doc. There are 50 directories under my c:\, and I may add or remove directories under c:\ any time. very inconvenient to keep the mapping in /etc/fstab. why not give the user the option to change / to mount to c:\ instead of fixed parent directory of msys-1.0.dll? the user can have the option to mount /usr and /bin as well if they change the mounting point of /. however, we can still keep /usr pointing to the directory where msys-1.0.dll exists, I have a quick check of source code and it looks that path.cc is related, right? Thanks. Tom |
From: Earnie <ea...@us...> - 2011-06-07 12:36:46
|
Tom Smith wrote: > I have read the doc. > There are 50 directories under my c:\, and I may add or remove directories > under c:\ any time. > very inconvenient to keep the mapping in /etc/fstab. > So, create a script to update it if you want to map all directories of c:\ to root. > why not give the user the option to change / to mount to c:\ instead of > fixed parent directory of msys-1.0.dll? Because it would cause superfluous message traffic by people who don't know what they've done and because more than one person can distribute msys-1.0.dll and if we allow for / to be changed it would conflict with possible multiple msys-1.0.dll. > the user can have the option to mount /usr and /bin as well if they change > the mounting point of /. > however, we can still keep /usr pointing to the directory where msys-1.0.dll > exists, > > I have a quick check of source code and it looks that path.cc is related, > right? If you wish to build a private copy to accomplish what you want then godspeed to you. I haven't been in the source code for years and can't offer help with your embellishments. As for the official version of MSYS we will not offer the ability to do this. -- Earnie -- http://www.for-my-kids.com |