public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* make error: *** target pattern contains no `%'. Stop.‏
@ 2014-04-30 17:13 Richard H. McCullough
  2014-04-30 17:31 ` Larry Hall (Cygwin)
       [not found] ` <COL129-W463619626C83C0462BA330CB400@phx.gbl>
  0 siblings, 2 replies; 7+ messages in thread
From: Richard H. McCullough @ 2014-04-30 17:13 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

make no longer works on any of my makefiles.

example makefile attached.

 
Dick McCullough 
Context Knowledge Systems
Name your propositions !

 		 	   		  

[-- Attachment #2: makefile --]
[-- Type: application/octet-stream, Size: 3728 bytes --]

# KEHOME/src/makefile # Jan/15/2006 Sep/20/2009 Apr/29/2014

BIN	= $(KEHOME)/bin
EXE	= .exe
#ICONT	= unicon$(EXE) -u
ICONT	= icont$(EXE) -u
XICONT	= xicont$(EXE) -u
JCONT	= jcont$(EXE) -u
MERR	= $(BIN)/merr$(EXE)
# HOTOOLS	= $(BIN)/owl2mkr$(EXE) $(BIN)/ho2gs$(EXE) $(BIN)/gs2ho$(EXE) $(BIN)/gdbmload$(EXE) $(BIN)/gdbmmerge$(EXE) $(BIN)/vardump$(EXE) $(BIN)/varset$(EXE) $(BIN)/hocheck$(EXE) $(BIN)/gscheck$(EXE) $(BIN)/genus$(EXE) $(BIN)/ssdef$(EXE) $(BIN)/ssname$(EXE) $(BIN)/mkr1line$(EXE)

%.u: %.icn
	$(ICONT) %.icn
%$(EXE):  %.u
	$(ICONT) -o %(EXE) %.u


all: windows hotools

hotools: $(HOTOOLS)

dbclean:
	cd $(KEHOME)/db; rm -f * */*

$(BIN)/owl2mkr$(EXE):	owl2mkr.icn howord.icn
	rm -f $@
	. $(BIN)/unicon.env; $(ICONT) -o owl2mkr $<
	mv owl2mkr $@
$(BIN)/gdbmload$(EXE):	gdbmload.icn howalk.icn howord.icn
	rm -f $@
	. $(BIN)/unicon.env; $(ICONT) -o gdbmload $<
	mv gdbmload $@
$(BIN)/gdbmmerge$(EXE):	gdbmmerge.icn
	rm -f $@
	. $(BIN)/unicon.env; $(ICONT) -o gdbmmerge $<
	mv gdbmmerge $@
$(BIN)/vardump$(EXE):	vardump.icn
	rm -f $@
	$(ICONT) -o vardump $<
	mv vardump $@
$(BIN)/varset$(EXE):	varset.icn
	rm -f $@
	$(ICONT) -o varset $<
	mv varset $@
$(BIN)/genus$(EXE):	genus.icn
	rm -f $@
	$(ICONT) -o genus $<
	mv genus $@
$(BIN)/ssdef$(EXE):	ssdef.icn
	rm -f $@
	$(ICONT) -o ssdef $<
	mv ssdef $@
$(BIN)/ssname$(EXE):	ssname.icn
	rm -f $@
	$(ICONT) -o ssname $<
	mv ssname $@
$(BIN)/ho2gs$(EXE):	ho2gs.icn
	rm -f $@
	$(ICONT) -o ho2gs $<
	mv ho2gs $@
$(BIN)/gs2ho$(EXE):	gs2ho.icn
	rm -f $@
	$(ICONT) -o gs2ho $<
	mv gs2ho $@
$(BIN)/hocheck$(EXE):	hocheck.icn
	rm -f $@
	$(ICONT) -o hocheck $<
	mv hocheck $@
$(BIN)/gscheck$(EXE):	gscheck.icn
	rm -f $@
	$(ICONT) -o gscheck $<
	mv gscheck $@
$(BIN)/mkr1line$(EXE):	mkr1line.icn
	rm -f $@
	$(ICONT) -o mkr1line $<
	mv mkr1line $@

$(MERR): merr.icn
	rm -f $@
	. $(BIN)/unicon.env; $(ICONT) -o merr merr.icn
	mv merr $@
	chmod 775 $@

yyerror.icn: err.meta
	merrmode=merr merr ksc

ksc: windows

java: jke jksc jversion

windows: $(MERR)
	. $(BIN)/unicon.env; make -f ke.mk ICONT="$(ICONT)" EXE=""  all SemanticWeb
	chmod 775 $(BIN)/*
	chmod -x $(BIN)/*.env
	. $(BIN)/unicon.env; make -f ke.mk ICONT=icont EXE=""  cgi
	make -f w3ke.mk
	make -f ws.mk
	make hotools

$(BIN)/mkr2ikl.exe: $(BIN)/ke.exe
	rm -f $@
	cd $(BIN); mv ke.exe mkr2ikl.exe

linux: $(MERR)
	cd $(BIN); rm -f *.exe *.pif
	. $(BIN)/unicon.env; make -f ke.mk ICONT=icont EXE=""  all SemanticWeb
	. $(BIN)/unicon.env; make -f ke.mk ICONT=icont EXE=""  cgi
	make -f w3ke.mk EXE=
	make -f ws.mk  EXE=
	make hotools   EXE=

mac: $(MERR)
	cd $(BIN); rm -f *.exe *.pif
	. $(BIN)/unicon.env; make -f ke.mk ICONT=icont EXE=""  all SemanticWeb
	. $(BIN)/unicon.env; make -f ke.mk ICONT=icont EXE=""  cgi
	make -f w3ke.mk EXE=
	make -f ws.mk  EXE=
	make hotools   EXE=


wobject:
	make -f ke.mk ICONT="$(ICONT)" EXE="" object

xobject:
	make -f ke.mk ICONT="$(XICONT)" EXE= object

object:
	make -f ke.mk ICONT="$(ICONT)" EXE= object

jke: ke.icn
	$(JCONT) -c ke.icn
	$(JCONT) -r -o $(BIN)/jke.exe kelink.icn

jksc: ksc.icn
	$(JCONT) -c ksc.icn
	$(JCONT) -r -o $(BIN)/jksc.exe ksclink.icn

jversion: jversion.icn
	$(JCONT) -r -o $(BIN)/jversion.exe jversion.icn

jobject:
	$(JCONT) -c *.icn


#========================================================#
# obsolete

ntwindows:
	cd $(BIN); rm -f iversion.exe wicon*
	make -f ke.mk ICONT=nticont.exe EXE=""  all SemanticWeb
	cd $(BIN); mv iversion.exe ntiversion.exe
	cd $(BIN); mv ke.exe ntke.exe
	cd $(BIN); mv ksc.exe ntksc.exe
	chmod 775 $(BIN)/*

ntobject:
	make -f ke.mk ICONT=nticont.exe EXE="" object

xwindows:
	cd $(BIN); rm -f html/htmlone *.exe *.pif
	make -f ke.mk ICONT="$(XICONT)" EXE=  all SemanticWeb

wke:
	make -f ke.mk wke
	chmod 775 $(BIN)/*

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: make error: *** target pattern contains no `%'. Stop.‏
  2014-04-30 17:13 make error: *** target pattern contains no `%'. Stop.‏ Richard H. McCullough
@ 2014-04-30 17:31 ` Larry Hall (Cygwin)
       [not found] ` <COL129-W463619626C83C0462BA330CB400@phx.gbl>
  1 sibling, 0 replies; 7+ messages in thread
From: Larry Hall (Cygwin) @ 2014-04-30 17:31 UTC (permalink / raw)
  To: cygwin

On 04/30/2014 01:13 PM, Richard H. McCullough wrote:
> make no longer works on any of my makefiles.
>
> example makefile attached.

Trying this make file on Linux and on Cygwin produced the same results.

make: *** No rule to make target `merr.icn', needed by `/bin/merr.exe'.  Stop.

This does not seem out-of-order to me given the fact that I don't have
a merr.icn file.

If you're continuing to have problems and cannot determine why, please
follow the problem reporting guidelines found at the link below with
any subsequent help request to this list.

<http://cygwin.com/problems.html>

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: solved: make error: *** target pattern contains no `%'. Stop.‏
       [not found]     ` <COL129-W121663B17D868698D75815CB400@phx.gbl>
@ 2014-05-01 23:17       ` Richard H. McCullough
  0 siblings, 0 replies; 7+ messages in thread
From: Richard H. McCullough @ 2014-05-01 23:17 UTC (permalink / raw)
  To: cygwin, Clinton Jeffery


 This error is caused by having
 a dos-style directory name in $PATH.
 For example
            C:/Cygwin/bin

This problem is a result of trying to solve a different problem.
Using the Unicon language
            open("/cygdrive/c/file")  fails
            open("c:/file")  succeeds
 
 Dick McCullough
 Context Knowledge Systems
 Name your propositions !
 
 
 		 	   		   		 	   		  

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: make error: *** target pattern contains no `%'. Stop.‏
  2014-05-01 16:14 ` Thomas Wolff
@ 2014-05-01 17:50   ` Doug Henderson
  0 siblings, 0 replies; 7+ messages in thread
From: Doug Henderson @ 2014-05-01 17:50 UTC (permalink / raw)
  To: cygwin

On Thu, May 1, 2014 at 10:14 AM, Thomas Wolff <towo@towo.net> wrote:
> Am 01.05.2014 04:09, schrieb Richard H. McCullough:
>>
>> ... In the last week, "make" suddenly
>> changed -- it does nothing but stop on every makefile.
>
> Sounds like you changed your PATH and have a different (non-cygwin) version
> of make now.
> What does `type make` say?
>
> ---
> Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus
> Schutz ist aktiv.
> http://www.avast.com
>

I have seen two things mess up my makefiles in the past.

1) tabs converted to spaces (and vice versa).
2) CRLF instead of LF line separators, or mixed CRLF and LF line separators.

Both of these defects are normally invisible. I have used cat -A or od
-c to help detect these editor induced errors. dos2unix can fix line
endings. An editor with visible whitespace and selectable line endings
options and regexp search and replace can help with fixing tabs.


-- 
Doug Henderson, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: make error: *** target pattern contains no `%'. Stop.‏
  2014-05-01  2:09 Richard H. McCullough
  2014-05-01  4:45 ` Christopher Faylor
@ 2014-05-01 16:14 ` Thomas Wolff
  2014-05-01 17:50   ` Doug Henderson
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Wolff @ 2014-05-01 16:14 UTC (permalink / raw)
  To: cygwin

Am 01.05.2014 04:09, schrieb Richard H. McCullough:
> ... In the last week, "make" suddenly
> changed -- it does nothing but stop on every makefile.
Sounds like you changed your PATH and have a different (non-cygwin) 
version of make now.
What does `type make` say?

---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: make error: *** target pattern contains no `%'. Stop.‏
  2014-05-01  2:09 Richard H. McCullough
@ 2014-05-01  4:45 ` Christopher Faylor
  2014-05-01 16:14 ` Thomas Wolff
  1 sibling, 0 replies; 7+ messages in thread
From: Christopher Faylor @ 2014-05-01  4:45 UTC (permalink / raw)
  To: cygwin

On Wed, Apr 30, 2014 at 07:09:00PM -0700, Richard H. McCullough wrote:
>I picked a bad example, since you don't have my source files.
>The point is this: I've been using Cygwin "make" for years
>and never had a problem.  In the last week, "make" suddenly
>changed -- it does nothing but stop on every makefile.
>
>You must have released a new version of "make" which
>is definitely broken.
>
>Just think about it -- why should "make" suddenly force me to add
>       %: force
>targets for all my existing targets?

As long as we're thinking about it, the last release of make was five
months ago and the mailing list isn't filled with people complaining
that make is broken.

If you can identify a simple example of breakage please send it to
bug-make@gnu.org .

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

* make error: *** target pattern contains no `%'. Stop.‏
@ 2014-05-01  2:09 Richard H. McCullough
  2014-05-01  4:45 ` Christopher Faylor
  2014-05-01 16:14 ` Thomas Wolff
  0 siblings, 2 replies; 7+ messages in thread
From: Richard H. McCullough @ 2014-05-01  2:09 UTC (permalink / raw)
  To: cygwin

I picked a bad example, since you don't have my source files.
The point is this: I've been using Cygwin "make" for years
and never had a problem.  In the last week, "make" suddenly
changed -- it does nothing but stop on every makefile.

You must have released a new version of "make" which
is definitely broken.

Just think about it -- why should "make" suddenly force me to add
       %: force
targets for all my existing targets?
 
Dick McCullough 
Context Knowledge Systems
Name your propositions !

 		 	   		  

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-01 23:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30 17:13 make error: *** target pattern contains no `%'. Stop.‏ Richard H. McCullough
2014-04-30 17:31 ` Larry Hall (Cygwin)
     [not found] ` <COL129-W463619626C83C0462BA330CB400@phx.gbl>
     [not found]   ` <COL129-W230CB888BC6B23F7F78C8BCB400@phx.gbl>
     [not found]     ` <COL129-W121663B17D868698D75815CB400@phx.gbl>
2014-05-01 23:17       ` solved: " Richard H. McCullough
2014-05-01  2:09 Richard H. McCullough
2014-05-01  4:45 ` Christopher Faylor
2014-05-01 16:14 ` Thomas Wolff
2014-05-01 17:50   ` Doug Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).