make (v. 3.81) fails -- "target pattern contains no `%'"

Aslam Karachiwala akwala@gmail.com
Thu Jul 13 18:03:00 GMT 2006


Thanks, guys. I'll try this when I get a chance to reinstall 3.81, and
report back. At the moment I''ve reverted to 3.80, and have a deadline
approaching...you know how it is :)

On 7/13/06, Dave Korn <dave.korn@artimi.com> wrote:
> On 13 July 2006 01:47, Christopher Faylor wrote:
>
> > On Wed, Jul 12, 2006 at 05:32:04PM -0700, Jim Lawson wrote:
> >>>> Date: Wed, 12 Jul 2006 20:15:27 -0400
> >>> From: "Aslam Karachiwala" <akwala@gmail>
>
> >>>  The error -- target pattern contains no `%' --
> >>> occurs at a target
> >>> such as the following:
> >>>
> >>> releaseproducts  :: $(RELEASEDIR)/$(BINIMAGE)
> >>
> >> I think you'll find that this is due to the dropping of support for
> >> Windows paths in the new (3.81) version of make.  I suspect
> >> $(RELEASEDIR) has a ':' in it somewhere.
> >>
> >> Try something like this:
> >>
> >> RELEASEDIR:=$(shell cygpath -u $(RELEASEDIR))
> >
> > That is an inspired guess which never would have occurred to me.  I'll
> > bet you're right, though.  That may even become a FAQ at some point.
> >
> > If this isn't the case then we'll (obviously?) need to see more of
> > the makefile than the one failing line.
>
>
>   It's absolutely the case, I had the exact same problem myself when I built
> (re)make from source without the cygwin-specific patches.
>
>   In my case I fixed it by porting the diffs from the cygwin make-3.80 source
> package.  (I have users who require a mixed-mode make environment).
>
>
>
>     cheers,
>       DaveK
> --
> Can't think of a witty .sigline today....
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>


-- 
Aslam Karachiwala
http://www.mythicflow.com

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



More information about the Cygwin mailing list