Mail Archives: djgpp/2001/08/03/05:09:04
> From: Cesar Rabak <csrabak AT uol DOT com DOT br>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 02 Aug 2001 21:23:05 -0300
>
> Eli Zaretskii wrote:
> [snipped]
> > >
> > > The problem is, that it just says "make.exe : *** [antiword.exe] error
> > > -1" after the DOS prompt.
> >
> > Add this line to the beginning of Makefile:
> >
> > SHELL = /bin/sh
> >
> > Then download and install these 2 packages from the usual DJGPP sites:
> >
> > v2gnu/bsh204b.zip
> > v2gnu/fil40b.zip
> >
> > Then this Makefile should work.
[...]
> Eli,
>
> Just for the sake of increasing my grasp: how did you figure that out
> from this (for me at least ;-) cryptic message?
Contrary to popular belief, I'm not a magician ;-). I simply
downloaded the package and looked into the Makefile. Once I saw
things like "if [ -d $(destdir) ]; then" and "chmod 755 foo", it was
clear what the problem was.
Btw, if someone's interested in this package: it works well, even with
exotic encodings like 8859-8, but it needs some work for DOS/Windows
to make it a good DOS/Windows citizen. For example, it currently
thinks that the directory separator character can be either / or \,
but not both; and it doesn't know about the drive-letter
brain-damage. It would also be nice if someone would send a
DJGPP-compatible Makefile to the maintainer. Finally, the
installation procedure (when you type "make install") is botched: it
doesn't install the files needed to recode Word's Unicode text into
something Unix and Window programs can grok. I copied the files
manually, based on what the man page said in the FILES section.
- Raw text -