grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken build


From: Bruce Dubbs
Subject: Re: Broken build
Date: Fri, 26 Mar 2010 23:10:25 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11

Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Bruce Dubbs wrote:
Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Carles Pina i Estany wrote:
Hi,

On Mar/17/2010, Bruce Dubbs wrote:
With the addition of the internationalization code, building GRUB in
a separate directory fails.
I'll take a look into it "soon" (next days or next week)

Probably it's an easy thing, if someone checks it before please report
:-)
        cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f $< --keyword=_ --keyword=N_
to
        cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f po/POTFILES --keyword=_ --keyword=N_
Feel free to test & commit
I don't think so.
Well you have a funny way of disagreeing arriving to the same result as
I told: replace
        cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f $< --keyword=_ --keyword=N_
with
        cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@
-f po/POTFILES --keyword=_ --keyword=N_
Have you tested it?

Yes, have you?

tar -xf grub-1.98.tar.gz
cd grub-1.98
mkdir build
cd build
../configure
#edit line 528 of Makefile as above
make

cd .. && /usr/bin/xgettext -ctranslate --from-code=utf-8 -o ../po/grub.pot -f po/POTFILES --keyword=_ --keyword=N_ /usr/bin/xgettext: cannot create output file "../po/grub.pot": No such file or directory
make: *** [../po/grub.pot] Error 1


As I said before, the error is that -o $@ is invalid because of the change of directory.

  -- Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]