Date: Wed, 26 Apr 2000 06:55:39 +0500 Message-Id: <200004260155.GAA00866@midpec.com> From: Prashant TR To: djgpp AT delorie DOT com In-reply-to: (message from Jason Green on Tue, 25 Apr 2000 22:55:46 +0100) Subject: Re: Question about running configure script References: <3905B9E3 DOT C6DA3661 AT worldaccessnet DOT com> <8e4ldv$i1u$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > There is a pitfall waiting for you, though: 'configure' scripts > > generated by most (all?) versions of GNU autoconf don't work on DOS > > unchanged, despite all heroic efforts. You may want to try the ported > > DJGPP 'autoconf' and 'm4' to regenerate the 'configure' script from > > 'configure.in', to fix that, or you need quite a bit of knowledge > > about Unix shell programming to work your way around those pitfalls, > > manually. > > Is it usually obvious if the configure script has failed, or does it > break quietly? Usually obvious. You get some kind of strange errors often. But then, there's yet another thing you need to do, i.e. edit the Makefiles. Generally, to modify the configure or Makefiles, most DJGPP ports use sed. Also, there may be a few files like config.h.in, and you can't have files like that under DOS (two dots not allowed). But if you want to build them under Windows with LFN, things are cool. You just have to use the latest version of BASH, set TEST_FINDS_EXE=Y in djgpp/share/config.site. In this case, the configure scripts work *without* any problems in *most* cases. > I am trying to build MESA 3.1 and have had a few problems, the > configure seemed to go ok but the make failed. I have installed a > couple more packages that were needed and will try again from scratch, > but would be interested in any tips for running configure under DJGPP. I suggest that you go through the DJGPP port of some large package like textutils, and you can see how things are done. > This is the list of packages I have installed (not all for MESA), I > hope this is of some use to the OP: > > acnf213b.zip > bsh203b.zip > fil316b.zip > find41b.zip > grep24b.zip > gwk304b.zip > m4-14b.zip > sed302b.zip > shl112b.zip > txt20b.zip > > Are there any others that would normally be required? txi40b if you want to build the "info" docs.