delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/02/02:31:08

From: lat AT iki DOT fi (Lassi A. Tuura)
Subject: Re: groff-1.10
2 Mar 1998 02:31:08 -0800 :
Message-ID: <Pine.HPP.3.95a.980302085600.4021A-100000.cygnus.gnu-win32@hpatl20.cern.ch>
References: <002801bd456c$f367e9e0$fd7dc898 AT jewell>
Reply-To: "Lassi A. Tuura" <Lassi DOT Tuura AT cern DOT ch>
Mime-Version: 1.0
To: Morph <morph AT SoftHome DOT net>
Cc: Gnu-win32 <gnu-win32 AT cygnus DOT com>

|> if test -n ""; then \
|>   for m in ; do \
|>     rm -f $m-wrap; \
|>     echo .cp 1 >$m-wrap; \
|>     echo .so $m >>$m-wrap; \
|>   done; \
|> fi
|> /bin/sh: -c: line 1: syntax error near unexpected token `;'
|> /bin/sh: -c: line 1: `if test -n ""; then  for m in ; do  rm -f $m-wrap;
|> echo .
|> cp 1 >$m-wrap;  echo .so $m >>$m-wrap;  done;  fi'
|> make[2]: *** [stamp-wrap] Error 2
|> make[1]: *** [tmac] Error 2
|> make: *** [all] Error 2

You indeed need to have something in that for statement---empty argument
list after `in' is not legal shell syntax.  As to finding the problem,
the script seems to be coming from a makefile in which the `stamp-wrap'
target is being built.  If multiple subdirectories are involved, try
using the `--print-directories' option to make to see which subdirectory
the makefile is in.  Then start looking for lines starting with
`stamp-wrap:' in that makefile to see what make is trying to do. 

//lat
--
Every old idea will be proposed again with a different name and a
different presentation, regardless of whether it works. --RFC1925

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019