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: Robin Seggelmann
Subject: Re: Compiling issues on Mac OS X 10.5.6
Date: Mon, 23 Mar 2009 14:20:23 -0700

Ok, I tried again now. The following almost worked:

autoreconf -i -f
./configure
make

Manually adding the hundreds of missing '\n' in address@hidden and address@hidden .

make autoreconf
make

This is ok so far, but then I'm getting the following error:

creating errcodes
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lib/includes -I../lib/ includes -I/usr/local/include -g -O2 -MT printlist.o -MD -MP - MF .deps/printlist.Tpo -c -o printlist.o printlist.c
printlist.c:26:26: error: gnutls/extra.h: No such file or directory
make[4]: *** [printlist.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Is the git version seriously broken for Mac OS X or am I doing anything wrong??

Robin



On Mar 23, 2009, at 9:34 AM, Robin Seggelmann wrote:


On Mar 23, 2009, at 9:06 AM, Simon Josefsson wrote:

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


Unfortunately this command doesn't change anything. I made a clean git checkout and typed:

autoreconf -i -f
./configure
make

That's all I did. The configure script runs fine, make compiles everything until it hits the language files. Then I get the same error as before. libgcrypt 1.4.4, libgpg-error 1.7 and gaa is installed.

Robin


_______________________________________________
Gnutls-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnutls-devel






reply via email to

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