[Gtk-osx-users] jhbuild bootstrap fails building gettext (libintl) on clean Snow Leopard



This is the error message:

*** Building gettext *** [1/12]
make 
Making all in gnulib-local
make[1]: Nothing to be done for `all'.
Making all in gettext-runtime
make  all-recursive
Making all in doc
make[3]: Nothing to be done for `all'.
Making all in intl
sed -e '/IN_LIBGLOCALE/d' \
        -e 's,@''HAVE_POSIX_PRINTF''@,0,g' \
        -e 's,@''HAVE_ASPRINTF''@,0,g' \
        -e 's,@''HAVE_SNPRINTF''@,0,g' \
        -e 's,@''HAVE_WPRINTF''@,0,g' \
      < ./libgnuintl.h.in \
    | if test 'no' = yes; then \
        sed -e 's/extern \([^()]*\);/extern __declspec (dllimport) \1;/'; \
      else \
        cat; \
      fi \
    | sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \
          -e "/#define _LIBINTL_H/r ./export.h" \
    | sed -e 's,@''HAVE_VISIBILITY''@,1,g' \
      > libgnuintl.h
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -c 
-DLOCALEDIR=\"/Users/dacobi/gtk/inst/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/Users/dacobi/gtk/inst/share/locale\" 
-DLIBDIR=\"/Users/dacobi/gtk/inst/lib\" -DBUILDING_LIBINTL 
-DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY 
-DINSTALLDIR=\"/Users/dacobi/gtk/inst/lib\" -DNO_XMALLOC 
-Dset_relocation_prefix=libintl_set_relocation_prefix 
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. 
-I. -I.. -I/Users/dacobi/gtk/inst/include 
-I/Users/dacobi/gtk/inst/include -I/Users/dacobi/gtk/inst/include 
-I/Developer/SDKs/MacOSX10.4.sdk/usr/include -arch x86_64 -arch x86_64 
-arch i386 -I/Developer/SDKs/MacOSX10.4.sdk/usr/include -isysroot 
/Developer/SDKs/MacOSX10.4.sdk -mmacosx-version-min=10.4 
-mmacosx-version-min=10.6 -mmacosx-version-min=10.6 -fvisibility=hidden  
./bindtextdom.c
mkdir .libs
chmod 777 .libs
 /usr/bin/gcc-4.0 -c -DLOCALEDIR=\"/Users/dacobi/gtk/inst/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/Users/dacobi/gtk/inst/share/locale\" 
-DLIBDIR=\"/Users/dacobi/gtk/inst/lib\" -DBUILDING_LIBINTL 
-DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY 
-DINSTALLDIR=\"/Users/dacobi/gtk/inst/lib\" -DNO_XMALLOC 
-Dset_relocation_prefix=libintl_set_relocation_prefix 
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. 
-I. -I.. -I/Users/dacobi/gtk/inst/include 
-I/Users/dacobi/gtk/inst/include -I/Users/dacobi/gtk/inst/include 
-I/Developer/SDKs/MacOSX10.4.sdk/usr/include -arch x86_64 -arch x86_64 
-arch i386 -I/Developer/SDKs/MacOSX10.4.sdk/usr/include -isysroot 
/Developer/SDKs/MacOSX10.4.sdk -mmacosx-version-min=10.4 
-mmacosx-version-min=10.6 -mmacosx-version-min=10.6 -fvisibility=hidden 
./bindtextdom.c  -fno-common -DPIC -o .libs/bindtextdom.o
./bindtextdom.c:23:20: error: stddef.h: No such file or directory
./bindtextdom.c:24:20: error: stdlib.h: No such file or directory
./bindtextdom.c:25:20: error: string.h: No such file or directory
In file included from ./gettextP.h:38,
                 from ./bindtextdom.c:27:
./lock.h:71:22: error: pthread.h: No such file or directory
In file included from ./gettextP.h:38,
                 from ./bindtextdom.c:27:
./lock.h:143: error: syntax error before 'gl_lock_t'
./lock.h:143: warning: data definition has no type or storage class
./lock.h:290: error: syntax error before 'pthread_mutex_t'
./lock.h:290: warning: no semicolon at end of struct or union
./lock.h:291: warning: data definition has no type or storage class
./lock.h:292: error: syntax error before 'waiting_writers'
./lock.h:292: warning: data definition has no type or storage class
./lock.h:295: error: syntax error before '}' token
./lock.h:296: warning: data definition has no type or storage class
./lock.h:338: error: syntax error before '*' token
./lock.h:339: error: syntax error before '*' token./bindtextdom.c:23:20: 
error: stddef.h: No such file or directory
./bindtextdom.c:24:20: error: stdlib.h: No such file or directory
./bindtextdom.c:25:20: error: string.h: No such file or directory
In file included from ./gettextP.h:38,
                 from ./bindtextdom.c:27:
./lock.h:71:22: error: pthread.h: No such file or directory

./lock.h:340: error: syntax error before '*' token
In file included from ./gettextP.h:38,
                 from ./bindtextdom.c:27:
./lock.h:143: error: syntax error before 'gl_lock_t'./lock.h:341: error: 
syntax error before '*' token

./lock.h:143: warning: data definition has no type or storage class
./lock.h:342: error: syntax error before '*' token
./lock.h:290: error: syntax error before 'pthread_mutex_t'
./lock.h:290: warning: no semicolon at end of struct or union
./lock.h:291: warning: data definition has no type or storage class
./lock.h:292: error: syntax error before 'waiting_writers'
./lock.h:292: warning: data definition has no type or storage class
./lock.h:295: error: syntax error before '}' token
./lock.h:296: warning: data definition has no type or storage class
./lock.h:338: error: syntax error before '*' token./lock.h:450: error: 
syntax error before 'pthread_mutex_t'

./lock.h:339: error: syntax error before '*' token
./lock.h:340: error: syntax error before '*' token
./lock.h:341: error: syntax error before '*' token
./lock.h:450: warning: no semicolon at end of struct or 
union./lock.h:342: error: syntax error before '*' token

./lock.h:450: error: syntax error before 'pthread_mutex_t'./lock.h:451: 
warning: data definition has no type or storage class
./lock.h:453: error: syntax error before '}' token
./lock.h:454: warning: data definition has no type or storage class

./lock.h:450: warning: no semicolon at end of struct or union
./lock.h:451: warning: data definition has no type or storage class
./lock.h:453: error: syntax error before '}' token
./lock.h:454: warning: data definition has no type or storage class
./lock.h:489: error: syntax error before '*' token
./lock.h:490: error: syntax error before '*' token
./lock.h:491: error: syntax error before '*' token
./lock.h:492: error: syntax error before '*' token
./lock.h:498: error: syntax error before 'gl_once_t'
./lock.h:498: warning: data definition has no type or storage class
./lock.h:516: error: syntax error before '*' token
./lock.h:489: error: syntax error before '*' token
./lock.h:490: error: syntax error before '*' token
./lock.h:491: error: syntax error before '*' token
./lock.h:492: error: syntax error before '*' token
./lock.h:498: error: syntax error before 'gl_once_t'
./lock.h:498: warning: data definition has no type or storage class
./lock.h:516: error: syntax error before '*' token
In file included from ./gettextP.h:72,
                 from ./bindtextdom.c:27:
./libgnuintl.h:28:20: error: locale.h: No such file or directory
In file included from ./gettextP.h:72,
                 from ./bindtextdom.c:27:
./libgnuintl.h:28:20: error: locale.h: No such file or directory
./libgnuintl.h:319:19: error: stdio.h: No such file or directory
./libgnuintl.h:324:21: error: stdarg.h: No such file or directory
In file included from ./gettextP.h:72,
                 from ./bindtextdom.c:27:
./libgnuintl.h:331: error: syntax error before '*' token
./libgnuintl.h:319:19:./libgnuintl.h:334: error: syntax error before '*' 
token
 error: stdio.h: No such file or directory
./libgnuintl.h:324:21: error: stdarg.h: No such file or directory
In file included from ./gettextP.h:72,
                 from ./bindtextdom.c:27:
./libgnuintl.h:331: error: syntax error before '*' token
./libgnuintl.h:334: error: syntax error before '*' token
./libgnuintl.h:347: error: syntax error before 'va_list'
./libgnuintl.h:354: error: syntax error before 
'va_list'./libgnuintl.h:347: error: syntax error before 'va_list'

./libgnuintl.h:354: error: syntax error before 'va_list'
In file included from ./gettextP.h:89,
                 from ./bindtextdom.c:27:
./gmo.h:22:20: error: limits.h: No such file or directory
In file included from ./gettextP.h:89,
                 from ./bindtextdom.c:27:
./gmo.h:22:20: error: limits.h: No such file or directory
In file included from ./bindtextdom.c:27:
./gettextP.h:196: error: syntax error before 'gl_rwlock_t'
./gettextP.h:196: warning: no semicolon at end of struct or union
./gettextP.h:200: error: syntax error before '}' token
In file included from ./bindtextdom.c:27:
./gettextP.h:196: error: syntax error before 'gl_rwlock_t'
./gettextP.h:196: warning: no semicolon at end of struct or union
./gettextP.h:200: error: syntax error before '}' token
./bindtextdom.c:52: error: syntax error before '_nl_state_lock'
./bindtextdom.c:52: warning: data definition has no type or storage class
./bindtextdom.c: In function 'set_binding_values':
./bindtextdom.c:84: error: 'NULL' undeclared (first use in this function)
./bindtextdom.c:84: error: (Each undeclared identifier is reported only once
./bindtextdom.c:84: error: for each function it appears in.)
./bindtextdom.c:135: warning: incompatible implicit declaration of 
built-in function 'strlen'
./bindtextdom.c:136: warning: incompatible implicit declaration of 
built-in function 'malloc'
./bindtextdom.c:138: warning: incompatible implicit declaration of 
built-in function 'memcpy'
./bindtextdom.c:173: warning: incompatible implicit declaration of 
built-in function 'strlen'
./bindtextdom.c:174: warning: incompatible implicit declaration of 
built-in function 'malloc'
./bindtextdom.c:176: warning: incompatible implicit declaration of 
built-in function 'memcpy'
./bindtextdom.c:204: warning: incompatible implicit declaration of 
built-in function 'strlen'
./bindtextdom.c:206: warning: incompatible implicit declaration of 
built-in function 'malloc'
./bindtextdom.c:211: warning: incompatible implicit declaration of 
built-in function 'memcpy'
./bindtextdom.c:52: error: syntax error before '_nl_state_lock'
./bindtextdom.c:52: warning: data definition has no type or storage class
./bindtextdom.c: In function 'set_binding_values':
./bindtextdom.c:84: error: 'NULL' undeclared (first use in this function)
./bindtextdom.c:84: error: (Each undeclared identifier is reported only once
./bindtextdom.c:84: error: for each function it appears in.)
./bindtextdom.c:135: warning: incompatible implicit declaration of 
built-in function 'strlen'
./bindtextdom.c:136: warning: incompatible implicit declaration of 
built-in function 'malloc'
./bindtextdom.c:138: warning: incompatible implicit declaration of 
built-in function 'memcpy'
./bindtextdom.c:173: warning: incompatible implicit declaration of 
built-in function 'strlen'
./bindtextdom.c:174: warning: incompatible implicit declaration of 
built-in function 'malloc'
./bindtextdom.c:176: warning: incompatible implicit declaration of 
built-in function 'memcpy'
./bindtextdom.c:204: warning: incompatible implicit declaration of 
built-in function 'strlen'
./bindtextdom.c:206: warning: incompatible implicit declaration of 
built-in function 'malloc'
./bindtextdom.c: In function 'libintl_bindtextdomain':
./bindtextdom.c:323: error: 'NULL' undeclared (first use in this function)
./bindtextdom.c:211: warning: incompatible implicit declaration of 
built-in function 'memcpy'
./bindtextdom.c: In function 'libintl_bind_textdomain_codeset':
./bindtextdom.c:332: error: 'NULL' undeclared (first use in this function)
./bindtextdom.c: In function 'libintl_bindtextdomain':
./bindtextdom.c:323: error: 'NULL' undeclared (first use in this function)
./bindtextdom.c: In function 'libintl_bind_textdomain_codeset':
./bindtextdom.c:332: error: 'NULL' undeclared (first use in this function)
lipo: can't figure out the architecture type of: 
/var/folders/eH/eHboVkZDH1WTbsKU8NVKxk+++TM/-Tmp-//ccarmxgK.out
make[3]: *** [bindtextdom.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
*** Error during phase build of gettext: ########## Error running make   
*** [1/12]

Whats missing?




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