[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [install-locale] Error in "make install"

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2004-11-06 19:38:09 CET

On Fri, 05 Nov 2004 00:06:03 +0000, Reynaldo Nogueras
<nogueras_r@hotmail.com> wrote:
> I think I got it. Your questions led me to look at the Makefile and what was
> the MSGFMT...
> The line in Makefile was correct
> MSGFMT=/usr/bin/msgfmt
>
> Below in the Makefile, there was a section commented out:
> ---------------------------------
> # For systems with bind_textdomain_codeset, just leave the Content-Type:
> # header alone.
> #.po.mo:
> # $(MSGFMT) -o $@ $<
> ---------------------------------
>
> So I uncommented both lines and re-ran make:
>
> ---------------------------------
> #make
> ------ making all in apr
> ------ completed all in apr
> ------ making all in apr-util
> Making all in xml/expat
> ------ completed all in apr-util
> ------ making all in neon
> cd src && make
>
> Compilation complete. run 'make install' (as root?) to install neon.
>
> ------ completed all in neon
> /usr/bin/msgfmt -o subversion/po/de.mo subversion/po/de.po
> /usr/bin/msgfmt -o subversion/po/es.mo subversion/po/es.po
> /usr/bin/msgfmt -o subversion/po/ja.mo subversion/po/ja.po
> /usr/bin/msgfmt -o subversion/po/nb.mo subversion/po/nb.po
> /usr/bin/msgfmt -o subversion/po/pl.mo subversion/po/pl.po
> /usr/bin/msgfmt -o subversion/po/pt_BR.mo subversion/po/pt_BR.po
> /usr/bin/msgfmt -o subversion/po/sv.mo subversion/po/sv.po
> /usr/bin/msgfmt -o subversion/po/zh_CN.mo subversion/po/zh_CN.po
> /usr/bin/msgfmt -o subversion/po/zh_TW.mo subversion/po/zh_TW.po
>
> ---------------------------------
>
> Then, all the .mo files appeared in the po directory
> make clean...make...make install....all good to go...
> Now something strange happened but I'm not going to pay much attention to
> it...just FYI, I cant run make check anymore.
>
> Thank you very much,
> Ray

Unfortunately, this did not solve the problems with the build system.
Could you please help me with that, so that you don't need to tweak
the Makefile next time?

If I'm correct, there are the following segments in your makefile:

-----------
.SUFFIXES: .c .lo .o .la-a .la .texi .info .dvi .txt .html .ps .pdf \
           .po .spo .mo
-----------
.po.spo:
        sed \
        '/^"Content-Type: text\/plain; charset=UTF-8\\n"$$/d' \
        $< > $@

.spo.mo:
        $(MSGFMT) $(MSGFMTFLAGS) -o $@ $<
-----------

Is that correct? if so, could you run 'make clean ; make
MSGFMTFLAGS=-g'? What's the output from the msgfmt lines in that case?

Thanks in advance. BTW not being able to run make check is *not* a
good thing. Which errors did you get?

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 6 19:38:39 2004

This is an archived mail posted to the Subversion Users mailing list.