[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems compiling RPM
- To: Oded Arbel <odeda-linux-il(at-nospam)betalfa.org.il>
- Subject: Re: problems compiling RPM
- From: guy keren <choo(at-nospam)actcom.co.il>
- Date: Fri, 13 Jul 2001 17:00:07 +0300 (EET DST)
- cc: Linux-IL Mailing list <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: <Pine.LNX.4.30.0107131423040.24643-100000@europa.betalfa.org.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Fri, 13 Jul 2001, Oded Arbel wrote:
> all of a sudden , I was struck be the weird desire to compile RPM from
> source (may it be due to the fact that the version of RPM that comes with
> Mandrake 8 does not build from source ? nahh....). so I precuired the
> source tarball and did the usuall configure & make procedure, and then
> encountered this:
[some output deleted..]
> make[2]: Entering directory `/usr/src/RPM/BUILD/rpm-4.0.2/po'
the 'po' directory contains translations to other languages, and is used
by Gnu's gettext() library to support the 1st level of i18n (i.e. show the
sting in a language specified by the user). but i guess you already knew
that...
> file=./`echo es | sed 's,.*/,,'`.gmo \
> && rm -f $file && PATH=../intl:$PATH no -o $file es.po
> /bin/sh: no: command not found
did you try STFEing for 'gnu gexttext no' ?
> I have no idea what it means by that - I have never heard of a utility
> called 'no'. from the -o flag I guess someone forgot to put in the command
> for the C compiler somewhere. I think this was caused by this setting in
no. 'po' files are simple text. they are not compiled by a C compiler.
the are translated into binary catalogs using 'msgfmt' (as a google search
of about 4 minutes just revealed). so 'MSGFMT' should be set to 'msgfmt'
(at least on redhat 6.2 this binary exists in /usr/bin/). the '-o' flag
(according to 'msgftm --help') is for the output file parameter.
> po/Makefile :
>
> GMSGFMT = PATH=../intl:$$PATH no
> MSGFMT = no
so just replace this 'no' with 'msgfmt' and try compiling again.
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il