Skip to contentSkip to conversation

package/gettext trouble

Buildroot Cristian Ionescu-Idbohrn 3 participants 7 messages Jul 8, 2007

lore
Share & tools
lore
#0 lore raw

I'm stuck :(

gettext fails on me, whatever I try. It shows me this:

make[4]: Entering directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime/intl'

sed -e '/IN_LIBGLOCALE/d' \
            -e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
            -e 's,@''HAVE_ASPRINTF''@,1,g' \
            -e 's,@''HAVE_SNPRINTF''@,1,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
sed -e '/IN_LIBGLOCALE/d' \
            -e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
            -e 's,@''HAVE_ASPRINTF''@,1,g' \
            -e 's,@''HAVE_SNPRINTF''@,1,g' \
            -e 's,@''HAVE_WPRINTF''@,0,g' \
          < ./libgnuintl.h.in > libintl.h

/bin/sh ./config.charset 'i486-pc-linux-gnu' > t-charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@/gettext-runtime/g' ./ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@/gettext-runtime/g' ./ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
/bin/sh ../libtool --mode=compile buildroot/build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./bindtextdom.c mv t-charset.alias charset.alias
/bin/sh ../libtool --mode=compile buildroot/build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./dcgettext.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[4]: *** [bindtextdom.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[4]: *** [dcgettext.lo] Error 1
make[4]: Leaving directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime/intl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime'
make[2]: *** [all] Error 2
make[2]: Leaving directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `buildroot/build_i486/gettext-0.16.1'
make: *** [buildroot/build_i486/gettext-0.16.1/gettext-runtime/src/gettext] Error 2

Can anyone put me on the right track?

Signature · 1 line
Cristian
#1 lore raw

I get this too; is it some environment setting or does everybody get it?

Quoted 82 lines · Cristian Ionescu-Idbohrn

I'm stuck :(

gettext fails on me, whatever I try. It shows me this:

make[4]: Entering directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime/intl'

sed -e '/IN_LIBGLOCALE/d' \
            -e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
            -e 's,@''HAVE_ASPRINTF''@,1,g' \
            -e 's,@''HAVE_SNPRINTF''@,1,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
sed -e '/IN_LIBGLOCALE/d' \
            -e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
            -e 's,@''HAVE_ASPRINTF''@,1,g' \
            -e 's,@''HAVE_SNPRINTF''@,1,g' \
            -e 's,@''HAVE_WPRINTF''@,0,g' \
          < ./libgnuintl.h.in > libintl.h

/bin/sh ./config.charset 'i486-pc-linux-gnu' > t-charset.alias sed -e '/^#/d' -e 's/@''PACKAGE''@/gettext-runtime/g' ./ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@/gettext-runtime/g' ./ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
/bin/sh ../libtool --mode=compile buildroot/build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc -c

(quoted diff) +0 -6
-DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\"
-DLIBDIR=\"/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I.
-I..  -g -O2 -fvisibility=hidden  ./bindtextdom.c

mv t-charset.alias charset.alias
/bin/sh ../libtool --mode=compile buildroot/build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc -c

(quoted diff) +0 -6
-DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\"
-DLIBDIR=\"/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL
-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/lib\" -DNO_XMALLOC
-Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I.
-I..  -g -O2 -fvisibility=hidden  ./dcgettext.c

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[4]: *** [bindtextdom.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[4]: *** [dcgettext.lo] Error 1
make[4]: Leaving directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime/intl' make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime'
make[2]: *** [all] Error 2
make[2]: Leaving directory `buildroot/build_i486/gettext-0.16.1/gettext-runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `buildroot/build_i486/gettext-0.16.1'
make: *** [buildroot/build_i486/gettext-0.16.1/gettext-runtime/src/gettext] Error 2

Can anyone put me on the right track?

--
Cristian
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

#2 lore raw
Quoted 1 line · BuraphaLinux Server

I get this too; is it some environment setting or does everybody get it?

Looks like there's a catch 22 situation here :(
I can't build package ed-0.6 because it requires pkg-config, which requires gettext, which doesn't build.

Looks like it's critical to get a gettext clean build before going any further. Any offers?

Signature · 1 line
Cristian
#3 lore raw
Quoted 10 lines · Cristian Ionescu-Idbohrn
Quoted 1 line · BuraphaLinux Server

I get this too; is it some environment setting or does everybody get it?

Looks like there's a catch 22 situation here :(
I can't build package ed-0.6 because it requires pkg-config, which requires gettext, which doesn't build.

Looks like it's critical to get a gettext clean build before going any further. Any offers?

i offer parts of my sparse spare-time on this sunday. Let me know if that r19043 did any good.. and send me that photo ;P

#4 lore raw
Quoted 6 lines · Bernhard Fischer
Quoted 3 lines · Cristian Ionescu-Idbohrn

Looks like it's critical to get a gettext clean build before going any further. Any offers?

i offer parts of my sparse spare-time on this sunday.

Me too. Found a few bugs, sent a few patches. I must admit I have some private intrest in getting working, but I contribute, don't I?

Quoted 1 line

Let me know if that r19043 did any good..

Yes, it definatelly did. Thanks.

Quoted 1 line

and send me that photo ;P

What kind of photo would you prefer ;-)

Cheers,

Signature · 1 line
Cristian
#5 lore raw
Quoted 6 lines · Cristian Ionescu-Idbohrn
Quoted 1 line · Bernhard Fischer

i offer parts of my sparse spare-time on this sunday.

Me too. Found a few bugs, sent a few patches. I must admit I have some private intrest in getting working, but I contribute, don't I?

you do indeed.

Quoted 4 lines
Quoted 2 lines

Let me know if that r19043 did any good..

Yes, it definatelly did. Thanks.

s/definatelly/definately/

welcome and thanks for the heads up!
kind regards && cheers,

#6 lore raw
Quoted 5 lines · Bernhard Fischer
Quoted 1 line · Cristian Ionescu-Idbohrn

Yes, it definatelly did. Thanks.

s/definatelly/definately/

definitely, even. Can't type today either.
cheers,