Make broken
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.
Make broken | julien | 08 Jul 07:57 |
Make broken | Axel Wernicke | 08 Jul 08:45 |
Make broken | Ulf-D. Ehlert | 08 Jul 11:39 |
Make broken | Roman Joost | 09 Jul 12:41 |
Make broken | Ulf-D. Ehlert | 09 Jul 14:36 |
Make broken
Before update, "make" OK".
After update, I get :
Under Mandriva 2006:
[xxx at localhost trunk]$ make validate ALL_LINGUAS="en fr"
xml
make: xml : unknown command
make: *** [xml/en.xml] Error 127
Under Suse 10.2: Now type 'make' to compile gimp-help-2. xxx at linux-zhl6:~/SVN-fr/trunk> make validate ALL_LINGUAS="en" /usr/bin/xmllint --noout --valid xml/en.xml > /dev/null touch xml/stamp-en-valid.
Something is wrong in the last update.
Julien
Make broken
Hi list,
if there isn't anybody who can take care for the problems concerning the buildsystem, I'd suggest to rollback this patch, release 0.13 and postpone the new buildsystem til it is mature.
Greetings, lexA
Am 08.07.2007 um 07:57 schrieb julien:
Before update, "make" OK".
After update, I get :Under Mandriva 2006: [xxx at localhost trunk]$ make validate ALL_LINGUAS="en fr" xml
make: xml : unknown command
make: *** [xml/en.xml] Error 127Under Suse 10.2: Now type 'make' to compile gimp-help-2. xxx at linux-zhl6:~/SVN-fr/trunk> make validate ALL_LINGUAS="en" /usr/bin/xmllint --noout --valid xml/en.xml > /dev/null touch xml/stamp-en-valid.
Something is wrong in the last update.
Julien
Make broken
Am Sonntag, 8. Juli 2007 schrieb julien: [...]
Under Mandriva 2006:
[xxx at localhost trunk]$ make validate ALL_LINGUAS="en fr" xml
make: xml : unknown command
make: *** [xml/en.xml] Error 127
Make is trying to execute
$(MKDIR_P) xml
but "MKDIR_P" is not defined (empty).
Fix/workaround: Replace every "MKDIR_P" with "mkdir_p" in Makefile.am
and quickreference/Makefile.am and re-run autogen.sh.
Under Suse 10.2:
Now type 'make' to compile gimp-help-2. xxx at linux-zhl6:~/SVN-fr/trunk> make validate ALL_LINGUAS="en" /usr/bin/xmllint --noout --valid xml/en.xml > /dev/null touch xml/stamp-en-valid.
Dependencies are broken.
Workaround: remove xml/stamp-en-valid and xml/en.xml.
I tried to replace
xml/%.xml: src/gimp.xml stylesheets/profile.xsl
with
xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(filter-out $$@,
$(XML_FILES))
(without line-break), and it seems to work too...
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/20070708/715053cd/attachment.bin
Make broken
Hi Ulf,
On Sun, Jul 08, 2007 at 11:39:48AM +0200, Ulf-D. Ehlert wrote:
Am Sonntag, 8. Juli 2007 schrieb julien: [...]
Under Mandriva 2006:
[xxx at localhost trunk]$ make validate ALL_LINGUAS="en fr" xml
make: xml : unknown command
make: *** [xml/en.xml] Error 127Make is trying to execute
$(MKDIR_P) xml
but "MKDIR_P" is not defined (empty).
Fix/workaround: Replace every "MKDIR_P" with "mkdir_p" in Makefile.am and quickreference/Makefile.am and re-run autogen.sh.
I rerun autogen and did a lookup on my generated Makefile. There is a MKDIR_P and a mkdir_p variable. I wonder which one is the correct one. Maybe that has something todo with an old automake/conf-whatever version?
Under Suse 10.2:
Now type 'make' to compile gimp-help-2. xxx at linux-zhl6:~/SVN-fr/trunk> make validate ALL_LINGUAS="en" /usr/bin/xmllint --noout --valid xml/en.xml > /dev/null touch xml/stamp-en-valid.Dependencies are broken.
Workaround: remove xml/stamp-en-valid and xml/en.xml.I tried to replace xml/%.xml: src/gimp.xml stylesheets/profile.xsl with
xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(filter-out $$@, $(XML_FILES))
What's this workaround doing?
Greetings,
Make broken
Hi Roman,
Am Montag, 9. Juli 2007 schrieb Roman Joost: [...]
Fix/workaround: Replace every "MKDIR_P" with "mkdir_p" in Makefile.am and quickreference/Makefile.am and re-run autogen.sh.
I rerun autogen and did a lookup on my generated Makefile. There is a MKDIR_P and a mkdir_p variable. I wonder which one is the correct one. Maybe that has something todo with an old automake/conf-whatever version?
My automake version is 1.9.5 (Mar/2005), so it seems that "mkdir_p" is the old one, "MKDIR_P" the new one. [1]
[...]
I tried to replace
xml/%.xml: src/gimp.xml stylesheets/profile.xsl with
xml/%.xml: src/gimp.xml stylesheets/profile.xsl $(filter-out $$@, $(XML_FILES))What's this workaround doing?
Adding all XML files except src/gimp.xml ('$$@' is wrong - it "removes" xml/en.xml from the file list -, it should read 'src/gimp.xml') as prerequisites for the target xml/en.xml. If you change a source file now, xml/en.xml will be rebuilt.
Probably better (cleaner) solution:
Add
XML_FILES_INCLUDED := $(shell cd $(top_srcdir) && find
src -name '*.xml' -not -name 'gimp.xml')
or
XML_FILES_INCLUDED := $(filter-out src/gimp.xml,$(XML_FILES))
after "XML_FILES := ..." and use
xml/%.xml: src/gimp.xml stylesheets/profile.xsl
$(XML_FILES_INCLUDED)
Just tested, seems to work.
But obviously there's something wrong with the index/xrefs/whatever dependencies...
Ulf
[1] Please read http://freshmeat.net/articles/view/889/ ;-)
-------------- 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/20070709/cec70de4/attachment.bin