According to John Emerson:
> Hi Gilles,
> 
> I'm not sure who to ask. I found your name on a DejaNews.

Well, the best place to ask is usually the [EMAIL PROTECTED] mailing list.
See http://www.htdig.org/ for details.

It so happens, though, that this error is as a result of one of my changes
in early February.  Oops!

> I am able to configure and make htDig 3.1.1, but when doing the 'make
> install' I get the following error:
> 
> <snip>
> make[1]: Leaving directory `/home/aiusa/htdig-3.1.1/htsearch'
> make[1]: Entering directory `/home/aiusa/htdig-3.1.1/htmerge'
> transform=s,x,x,
> /usr/bin/ginstall -c htmerge /home/aiusa/htdig/bin/`echo htmerge | sed ''`
> make[1]: Leaving directory `/home/aiusa/htdig-3.1.1/htmerge'
> make[1]: Entering directory `/home/aiusa/htdig-3.1.1/htnotify'
> transform=s,x,x,
> /usr/bin/ginstall -c htnotify /home/aiusa/htdig/bin/`echo htnotify | sed
> ''`
> make[1]: Leaving directory `/home/aiusa/htdig-3.1.1/htnotify'
> 
> Installing default configuration files...
> /bin/sh: -c: line 1: syntax error near unexpected token `done'
> /bin/sh: -c: line 1: `for i in header.html footer.html wrapper.html
> nomatch.html
>  syntax.html; do  if [ ! -f /home/aiusa/htdig/common/$i ]; then sed -e
> s%@IMAGED
> IR@%/search% ./installdir/$i >/home/aiusa/htdig/common/$i; echo
> /home/aiusa/htdi
> g/common/$i;fi  done && test -z "$fail"'
> make: *** [install] Error 2
> 
> 
> I think it's probably just a misplaced semicolon somewhere. Any thoughts?
> 
> -    John Emerson
> -    Web Coordinator
> -    Amnesty International USA
> 
> -    www.amnestyusa.org

Yes, there is indeed a semicolon missing in two places in the Makefile
(and Makefile.in).  In the for loops that deal with the $(COMMONHTML)
and $(COMMONDICT) lists, there should be a semicolon added right after
the "fi", before the backslash and the "done".  It seems that this isn't
a problem with GNU make, but other make programs may strip out the
newlines, which is why the shell needs the semicolon.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to