From: SF/projects/mingw n. l. <min...@li...> - 2012-10-26 17:50:23
|
Bugs item #1602233, was opened at 2006-11-24 03:48 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1602233&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: MSYS Group: component package >Status: Pending >Resolution: Remind Priority: 5 Private: No Submitted By: Alexis Wilke (alexis_wilke) >Assigned to: Cesar Strauss (cstrauss) Summary: Problem with "`cmd ...` $var ..." Initial Comment: Hi guys, I'm using an MSYS + GnuWin32 environment to compile the entire Gtk suite. Works great, until I launch the Gtk configure script. The problem seems to be because of the shell but I cannot really understand why it fails in this one case and nowhere else. I'm attaching a tiny script which fails the same way to show what happens. (well... hopefully you can reproduce the problem!) Let me know if I can help. The shell code is a bit out of my scope right now... and it probably isn't too easy to fix such a bug! The attached file also includes the MSYS & Shell versions. Thank you, Alexis Wilke ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2012-10-26 10:50 Message: This is still an issue. The work around is to create a script like so. <file name=”/mingw/bin/pkg-config”> <contents> #! /bin/sh echo `pkg-config.exe “$@”` </contents> </file> ---------------------------------------------------------------------- Comment By: Alexis Wilke (alexis_wilke) Date: 2006-12-28 23:20 Message: Logged In: YES user_id=554061 Originator: YES Hi Earnie, I finally checked out this problem with version 1.0.11 and the 2006 fix to the dll (and tar/ps tools thought these have nothing to do with it.) Maybe I'm missing something?! I created a tarball that you can download from my ftp site here: ftp://ftp.m2osw.com/misc/MSYS-break.tar.bz2 This is a large file (about 3Mb) which includes the whole test and MSYS 1.0.11. That way you can see whether I have the correct files. If you have problems downloading it, let me know and I will only put the extras I added to run my test. To run the test, start rxvt and then type the following: export PATH=/mingw/bin:/bin ./reproduce.sh I assume you won't cd anywhere, the reproduce script is in /bin. I did check pkg-config inside out (and I can tell you that's quite a piece of ugly code!!!) and there is no bug in pkg-config. The problem is in the handling of the variable in the shell. Let me know if you need more info. Thank you, Alexis ---------------------------------------------------------------------- Comment By: SourceForge Robot (sf-robot) Date: 2006-12-24 19:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 30 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-11-24 07:43 Message: Logged In: YES user_id=15438 Originator: NO IIRC, this issue has been raised before. Grab the http://downloads.sourceforge.net/mingw/MSYS-1.0.11-20060807.tar.bz2 and install the mingw-1.0.dll using the windows file manager. The bug may have been fixed by the shell upgrade as well. If the mingw-1.0.dll upgrade doesn't fix the problem also upgrade http://downloads.sourceforge.net/mingw/bash-3.1-MSYS-1.0.11-snapshot.tar.bz2 to see if that helps. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1602233&group_id=2435 |