gnutls-devel
[Top][All Lists]
Advanced

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

Re: Compiling issues on Mac OS X 10.5.6


From: Simon Josefsson
Subject: Re: Compiling issues on Mac OS X 10.5.6
Date: Mon, 23 Mar 2009 17:06:04 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

Robin Seggelmann <address@hidden> writes:

> Hi everyone,
> I checked the latest GNUTLS out of the git repository and tried to
> build it on Mac OS X 10.5.6. Unfortunately I only get to the language
> files where I get the following errors:
>
> Making install in po
> test ! -f ./libgnutls.pot || \
>         test -z "address@hidden address@hidden de.gmo fr.gmo ms.gmo
> nl.gmo pl.gmo sv.gmo vi.gmo" || make address@hidden address@hidden
> de.gmo  fr.gmo ms.gmo nl.gmo pl.gmo sv.gmo vi.gmo
> rm -f address@hidden && /usr/local/bin/msgfmt -c --statistics -o
> address@hidden
>  address@hidden
> address@hidden:46: `msgid' and `msgstr' entries do not both end with
> \n'
> address@hidden:50: `msgid' and `msgstr' entries do not both end with
> \n'
> address@hidden:54: `msgid' and `msgstr' entries do not both end with
> \n'
>
> ...
>
> address@hidden:1127: `msgid' and `msgstr' entries do not both end with
> \n'
> address@hidden:1132: `msgid' and `msgstr' entries do not both end with
> \n'
> address@hidden:1137: `msgid' and `msgstr' entries do not both end with
> \n'
> /usr/local/bin/msgfmt: found 161 fatal errors
> 245 translated messages.
> make[3]: *** address@hidden Error 1
> make[2]: *** [stamp-po] Error 2
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
>
> Despite that this can't be the solution, I added '\n' to every line
> msgfmt complains about. Then I get the same errors for the file
> address@hidden . If I also correct them, it complains about not finding
> the file  de.po which actually isn't there, just a de.po.in. Renaming
> doesn't  solve anything.
>
> Does anyone know what's going wrong here?

How did you build it?  Check cfg.mk:

autoreconf:
        for f in $(PODIR)/*.po.in; do \
                cp $$f `echo $$f | sed 's/.in//'`; \
        done
        mv lib/build-aux/config.rpath lib/build-aux/config.rpath-
        test -f ./configure || autoreconf --install
        mv lib/build-aux/config.rpath- lib/build-aux/config.rpath

So you should type 'make autoreconf' to make it copy the po/*.po.in
files to po/*.po.  This is also the default make rule, so after a clean
'git' checkout, you should be able to do just 'make'.

/Simon




reply via email to

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