RSS/Atom feed Twitter
Site is read-only, email is disabled

Rules to make target `xml/stamp-en-valid'?

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Rules to make target `xml/stamp-en-valid'? Kolbjørn Stuestøl 23 Feb 17:37
  Rules to make target `xml/stamp-en-valid'? Ulf-D. Ehlert 23 Feb 20:08
   Rules to make target `xml/stamp-en-valid'? Kolbjørn Stuestøl 24 Feb 13:34
   Rules to make target `xml/stamp-en-valid'? Kolbjørn Stuestøl 26 Feb 19:37
    Rules to make target `xml/stamp-en-valid'? Marco Ciampa 27 Feb 22:27
Kolbjørn Stuestøl
2008-02-23 17:37:01 UTC (almost 17 years ago)

Rules to make target `xml/stamp-en-valid'?

When trying to run 'make ALL_LINGUAS="no"' (or whatever language), I get the message:
"make: *** No rule to make target `xml/stamp-no-valid', needed by `validate'. Stop."
I assume I've missed a file or something, but where and what? Where do I find this rule, or more precisely: what do I have to do to get the program running as nicely as before? Yes, I have updated the 'gimp-help-2' directory and run the 'make' on a copy of this.

I have tried to figure out where this message is generated without any luck. Using Cygwin on Windows XP if that matter. Kolbjoern

Ulf-D. Ehlert
2008-02-23 20:08:43 UTC (almost 17 years ago)

Rules to make target `xml/stamp-en-valid'?

Kolbj?rn Stuest?l (Samstag, 23. Februar 2008, 17:37):

When trying to run 'make ALL_LINGUAS="no"' (or whatever language), I get the message:
"make: *** No rule to make target `xml/stamp-no-valid', needed by `validate'. Stop."
I assume I've missed a file or something, but where and what? Where do I find this rule, or more precisely: what do I have to do to get the program running as nicely as before? Yes, I have updated the 'gimp-help-2' directory and run the 'make' on a copy of this.

If in doubt, always try to re-run 'autogen.sh'.

Also, try grep valid Makefile
to check/verify the validate target. The output should contain xml/stamp-%-valid: xml/%.xml.
If it does, the target's prerequisite (xml/no.xml) cannot be built. Then try
grep ^xml/ Makefile
which should give you
xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(XML_FILES).

I have tried to figure out where this message is generated without any luck. Using Cygwin on Windows XP if that matter.

Maybe there are some chars and your "make" can't handle them? cat -v Makefile
will show you (trailing ^M's?).

Ulf -------------- next part -------------- A non-text attachment was scrubbed... Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /lists/gimp-docs/attachments/20080223/d1650e87/attachment.bin

Kolbjørn Stuestøl
2008-02-24 13:34:35 UTC (almost 17 years ago)

Rules to make target `xml/stamp-en-valid'?

Ulf-D. Ehlert wrote:

Kolbj?rn Stuest?l (Samstag, 23. Februar 2008, 17:37):

When trying to run 'make ALL_LINGUAS="no"' (or whatever language), I get the message:
"make: *** No rule to make target `xml/stamp-no-valid', needed by `validate'. Stop."
I assume I've missed a file or something, but where and what? Where do I find this rule, or more precisely: what do I have to do to get the program running as nicely as before? Yes, I have updated the 'gimp-help-2' directory and run the 'make' on a copy of this.

If in doubt, always try to re-run 'autogen.sh'.

Yes, I did it. My first attempt to find a solution.

Also, try
grep valid Makefile
to check/verify the validate target. The output should contain xml/stamp-%-valid: xml/%.xml.
If it does, the target's prerequisite (xml/no.xml) cannot be built. Then try
grep ^xml/ Makefile
which should give you
xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(XML_FILES).

I have tried to figure out where this message is generated without any luck. Using Cygwin on Windows XP if that matter.

Maybe there are some chars and your "make" can't handle them? cat -v Makefile
will show you (trailing ^M's?).

Ulf

I found an old version of the help-2 in the dust bin, updated this and it works normal. But I'll try your suggestions on the corrupted version to be on the safe side if the problem occurs later on. I'll tell you the result. Could be to some help in case others run into the same problem(s). Thank you, Ulf
Kolbjoern

------------------------------------------------------------------------

Kolbjørn Stuestøl
2008-02-26 19:37:53 UTC (almost 17 years ago)

Rules to make target `xml/stamp-en-valid'?

Ulf-D. Ehlert wrote:

Kolbj?rn Stuest?l (Samstag, 23. Februar 2008, 17:37):

When trying to run 'make ALL_LINGUAS="no"' (or whatever language), I get the message:
"make: *** No rule to make target `xml/stamp-no-valid', needed by `validate'. Stop."
I assume I've missed a file or something, but where and what? Where do I find this rule, or more precisely: what do I have to do to get the program running as nicely as before? Yes, I have updated the 'gimp-help-2' directory and run the 'make' on a copy of this.

If in doubt, always try to re-run 'autogen.sh'.

Also, try grep valid Makefile
to check/verify the validate target. The output should contain xml/stamp-%-valid: xml/%.xml.
If it does, the target's prerequisite (xml/no.xml) cannot be built. Then try
grep ^xml/ Makefile
which should give you
xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(XML_FILES).

This must be one of the well known but non explainable things that happens with computers.
Well, the corrupted copy is still corrupt. Even after copying all files from the trunk of my well working copy of gimp-help-2, comparing the two trunks says all the files are equal, but the error is still there when running the make command. Of cause I tried your suggestions, but all looks fine to me. (Though I'm not a (Python) programmer so perhaps I overlooked something).
I have given up finding what causes the error. It could be some hidden codes in the files (or perhaps that the copying process generates some) not recognized by most programs but essential to Cygwin. As I'm unable to step through the program, the only way to figure out what's going on seems to be doing a manual comparing in hex code for every file in the trunk. I don't go for that time consuming job :-\ .
The solution was to delete all files in the gimp-help-2/trunk and then run 'svn update' to get a fresh copy of gimp-help-2. Now the Cygwin runs happily as it should.

I have tried to figure out where this message is generated without any luck. Using Cygwin on Windows XP if that matter.

Maybe there are some chars and your "make" can't handle them? cat -v Makefile
will show you (trailing ^M's?).

I had done this too for all downloaded script files in the trunk. No ^M's. You told me this command half a year ago or so :-) . Thank you for your help.
Kolbj?rn

Ulf

------------------------------------------------------------------------

Marco Ciampa
2008-02-27 22:27:30 UTC (almost 17 years ago)

Rules to make target `xml/stamp-en-valid'?

On Tue, Feb 26, 2008 at 07:37:53PM +0100, Kolbj?rn Stuest?l wrote: [...]

I have given up finding what causes the error. It could be some hidden codes in the files (or perhaps that the copying process generates some) not recognized by most programs but essential to Cygwin. As I'm unable to step through the program, the only way to figure out what's going on seems to be doing a manual comparing in hex code for every file in the trunk. I don't go for that time consuming job :-\ .
The solution was to delete all files in the gimp-help-2/trunk and then run 'svn update' to get a fresh copy of gimp-help-2. Now the Cygwin runs happily as it should.

Please consider the fact that subversion is _not_ particularly "smart" when working with file permissions. The only way out sometimes is to delete the file and update...this is one of the reasons about so much interest in darcs/mercurial/bazaar/gits and so on...

bye