Mail Archives: djgpp/2000/04/25/21:38:25
> > 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.
- Raw text -