Dana 1.12.2012 21:11, alex lupu je napisao:
> My GTK fails to build when it reaches the tutorials.
> Again? (the tut-tut sound always brings back memories of gtk+-2.22 !)
>
> I remember at one point, I even issued a bug report about this situation
> (which, not surprisingly, went nowhere) and then created a little personal
> procedure which looked something like this
> <<
> # After untarring the package (_before_ configure)
> sed -i "s/db2html gtk-faq.sgml/db2html \
> gtk-faq.sgml -o gtk-faq/" docs/faq/Makefile.in ; echo $?
> sed -i "s/db2html gtk-tut.sgml/db2html \
> gtk-tut.sgml -o gtk-tut/" docs/tutorial/Makefile.in ; echo $?
>>>
> so I could subsequently configure/compile OK.
>
> Now, years later, despite the fact that I think I have all the dependencies
> required by the book,
>
> ATK-2.6.0, Cairo-1.12.8, gdk-pixbuf-2.26.4, Pango-1.32.1 (here, I only
> have Pango-1.30, but I can't imagine the problem has anything to do with this)
>
> and it also seems the authors had to grapple with something similar, requiring
> sed -i 's#l \(gtk-.*\).sgml#& -o \1#' docs/{faq,tutorial}/Makefile.in ...,
> before firing the
> ./configure --prefix=/usr --sysconfdir=/etc,
>
> I still get hit by a similar doc creation (?) error:
>
> make[3]: Leaving directory `/usr/src/gtk+-2.24.13/docs/tutorial'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/gtk+-2.24.13/docs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gtk+-2.24.13'
> make: *** [all] Error 2
>
> make[2]: Entering directory `/usr/src/gtk+-2.24.13/docs'
> Making all in tutorial
> make[3]: Entering directory `/usr/src/gtk+-2.24.13/docs/tutorial'
> if test -w .; then \
> (cd .; \
> db2html gtk-tut.sgml -o gtk-tut; \
> test -d html && rm -r html; \
> mv gtk-tut html; \
> mkdir html/images; \
> cp images/*.png html/images); \
> fi
> grep: character class syntax is [[:space:]], not [:space:]
> grep: character class syntax is [[:space:]], not [:space:]
> jw: There is no frontend called "/docbook/utils-0.6.14/frontends/docbook".
> mv: cannot stat `gtk-tut': No such file or directory
> mkdir: cannot create directory `html/images': No such file or directory
> cp: target `html/images' is not a directory
> make[3]: *** [html] Error 1
> ------------------------------------------------------------------------
>
> Any help will be highly appreciated,
> -- Alex
>
Isn't there a sed that fixes that? I remember getting the very same
error untill I used seds that were present in the book. (The error only
happens when docbook-utils are installed though).
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page