From: Charles W. <cwi...@us...> - 2006-11-16 03:10:11
|
Edward Diener <eldiener@...> writes: > > After installing MSYS, the MSYS development kit and its own autoconf, > automake, libtool, bison, and m4 packages I was able to build the Mingw > autoconf 2.59 successfully. However when I tried to build the Mingw > automake 1.95 I received the message: > > "checking whether autoconf works ... no" > > and subsequent failure. Any ideas why this is happening ? It's because the autotools are the exception to the rule of "configure using prefix=`cd /unix/style/prefix && pwd -W`. They are exceptions because they're just scripts: perl scripts and m4 scripts. However, both perl.exe and m4.exe are msys programs, not native programs. Therefore, perl/m4 expect that the scripts they execute will have unix(msys)-style paths, not native windows paths. Now, I've had better success installing the autoconf/automake/libtool *mingwPORTs* into /usr/local (or /mingw) and using those versions instead of the ones in /bin that come with MsysDTK. However, even then I still need to fixup the installed script files. I don't know if you can just use my fixit recipe (or the patch) on the MsysDTK files in /bin -- but it works fine with mingwPORTs installed into /usr/local/. Here's my fix-it recipe ( and patch, uue encoded ) but if you use the "normal" mingwPORTs, they install into /mingw/, not /usr/local/. ## edit /usr/local/bin/autoconf ## around line 158, change ## : ${AUTOM4TE='C:/msys/1.0/local/bin/autom4te'} ## to ## : ${AUTOM4TE='/usr/local/bin/autom4te'} ## also need to do similar operations here: ## /usr/local/bin/autoheader (lines 32, 54) ## /usr/local/bin/autom4te (lines 29, 49) ## /usr/local/bin/autoreconf (lines 32, 107, 108) ## /usr/local/bin/autoscan (lines 29, 95, 98) ## /usr/local/bin/autoupdate (lines 30, 50, 54) ## /usr/local/bin/ifnames (line 36) ## /usr/local/share/autoconf/autom4te.cfg (172, 200, 214, 226) ## ## or, just apply the 'autoconf-afterpatch' I needed to employ a similar procedure for automake. -- Chuck begin 644 autoconf-afterpatch M9&EF9B`M=7).(%]I;G-T+6]L9"]B:6XO875T;V-O;F8@7VEN<W0M;F5W+V)I M;B]A=71O8V]N9@HM+2T@7VEN<W0M;VQD+V)I;B]A=71O8V]N9@E7960@07!R M(#$Y(#$V.C(U.C4Y(#(P,#8**RLK(%]I;G-T+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