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 +0000Subject: 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 <sfhacker@hotmail.com> 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: tsmountain1@gmail.com
> To: mingw-users@lists.sourceforge.net
> 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
> MinGW-users@lists.sourceforge.net
>
> 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:mingw-users-request@lists.sourceforge.net?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 MinGW-users@lists.sourceforge.net 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:mingw-users-request@lists.sourceforge.net?subject=unsubscribe