Date: Fri, 03 Aug 2001 12:08:25 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Cesar Rabak Message-Id: <1438-Fri03Aug2001120824+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3B69EEE9.C54F9C25@uol.com.br> (message from Cesar Rabak on Thu, 02 Aug 2001 21:23:05 -0300) Subject: Re: Can't make Antiword with Djgpp References: <3B69EEE9 DOT C54F9C25 AT uol DOT com DOT br> 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 > From: Cesar Rabak > 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.