From: SourceForge.net <no...@so...> - 2006-02-21 13:47:31
|
Bugs item #1435563, was opened at 2006-02-20 19:57 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1435563&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: None >Group: Known bugs Status: Open Resolution: None >Priority: 7 Submitted By: Thorsten Dahlheimer (dahlheim) Assigned to: Earnie Boyd (earnie) Summary: autoconf-2.59-mingwPORT and automake-1.9.5-mingwPORT broken Initial Comment: The mingwPORTs for autoconf 2.95 and automake 1.9.5 produce non-functional executables: $ autoconf /mingw/bin/autoconf: /usr/src/automake- 1.9.5/mingwPORT/bld/d:/Programme/MinGW/bin/autom4te: No such file or directory /mingw/bin/autoconf: exec: /usr/src/automake- 1.9.5/mingwPORT/bld/d:/Programme/MinGW/bin/autom4te: cannot execute: No such file or directory The culprit here is the final "exec" statement in the autoconf script: Its first parameter is the full Windows path name of the autom4te executable (which is "d:/Programme/MinGW/bin/autom4te" on my system), and the shell doesn't handle that properly: $ (exec d:/Programme/MinGW/bin/autom4te) sh: /usr/src/automake- 1.9.5/mingwPORT/bld/d:/Programme/MinGW/bin/autom4te: No such file or directory sh: exec: /usr/src/automake- 1.9.5/mingwPORT/bld/d:/Programme/MinGW/bin/autom4te: cannot execute: No such file or directory The perl scripts from the automake package try to add a Windows-style directory name to perl's include search path, but the ":" after the drive letter is interpreted as a path separator: $ aclocal Can't locate Automake/Config.pm in @INC (@INC contains: d /Programme/MinGW/share/automake- 1.9 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl /usr/lib/perl5/5.6.1/msys /usr/lib/perl5/5.6.1 /usr/li b/perl5/site_perl/5.6.1/msys /usr/lib/perl5/site_perl/5 .6.1 /usr/lib/perl5/site_perl .) at /mingw/bin/aclocal line 36. BEGIN failed--compilation aborted at /mingw/bin/aclocal line 36. The obvious fix for both packages is to not convert ${PREFIX} to Windows form in mingwPORT.configure. Regards, Thorsten ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2006-02-21 08:47 Message: Logged In: YES user_id=15438 The bug is actually with the shell ``exec'' command. One work around is to open up /mingw/bin/autoconf and remove the D: from the autom4te variable set. This means though that your source must reside on the same drive as autoconf. It will be a while before I can fix the sh error. Anyone want to volunteer please do so and submit a patch to the patch tracker referencing this bug. ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2006-02-21 08:02 Message: Logged In: YES user_id=15438 Thanks for the report. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1435563&group_id=2435 |