bug-gnu-utils
[Top][All Lists]
Advanced

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

gettext 0.18.1.1, libiconv 1.13.1, libunistring 0.9.3


From: Justin Ewing
Subject: gettext 0.18.1.1, libiconv 1.13.1, libunistring 0.9.3
Date: Tue, 5 Oct 2010 18:43:39 -0500

Having a problem compiling gettext 0.18.1.1.  The compiler is Sun Studio 12 on 
Solaris 10 with the latest patch set.
 
These items are already compiled, installed, and in use by other portions of 
the application in ${PREFIX} below:
 
pth-2.0.7
libiconv-1.13.1
libunistring-0.9.3
ncurses-5.7
 
This is the script being executed to compile:
 
#!/bin/ksh
export 
PATH=/opt/SUNWspro/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/ucb:/usr/bin:/usr/sbin
PREFIX=/opt/appl/cv1d9x1p
# Compiles 64-bit and avoids issue with abs44 (default on 64-bit) by using 
pic32 .
export CFLAGS="-m64 -xcode=pic32"
export CPPFLAGS="-m64 -I ${PREFIX}/include -xcode=pic32"
export LDFLAGS="-m64 -L${PREFIX}/lib -R${PREFIX}/lib"
export LD_OPTIONS="-L${PREFIX}/lib -R${PREFIX}/lib"
export LD_RUN_PATH="-L${PREFIX}/lib -R${PREFIX}/lib"

./configure --prefix=${PREFIX} --with-libpth-prefix=${PREFIX} 
--with-libiconv-prefix=${PREFIX} --with-included-glib --with-included-libcroco 
--with-libunistring-prefix=${PREFIX} --with-included-libxml 
--with-libncurses-prefix=${PREFIX} --with-libexpat-prefix=${PREFIX} 
--without-emacs --without-git
make
 
Everything is fine until it's compiling in the gettext-tools/src directory... 
and then it gets to po-lex.c.  I have searched for high and low trying to find 
a cause.  If I use the included libunistring... no issue... which is a 
workaround but not a solution:
 
/bin/bash ../libtool  --tag=CC    --mode=compile cc -xc99=all 
-DLOCALEDIR=\"/opt/app/p1clv1w1/share/locale\" -DBISON_LOCALEDIR=\"\"  
-DLOCALE_ALIAS_PATH=\"/opt/app/p1clv1w1/share/locale\"  -DUSEJAVA=1  
-DUSEJEXE=0  -DGETTEXTJEXEDIR=\"/opt/app/p1clv1w1/lib/gettext\"  
-DGETTEXTJAR=\"/opt/app/p1clv1w1/share/gettext/gettext.jar\"  
-DLIBDIR=\"/opt/app/p1clv1w1/lib\"  
-DGETTEXTDATADIR=\"/opt/app/p1clv1w1/share/gettext\"  
-DPROJECTSDIR=\"/opt/app/p1clv1w1/share/gettext/projects\" -DHAVE_CONFIG_H  -I. 
-I..  -I. -I.  -I.. -I..  -I../libgrep  -I../gnulib-lib -I../gnulib-lib  
-I../intl -I../../gettext-runtime/intl -m64 -I /opt/app/p1clv1w1/include 
-xcode=pic32 -D_REENTRANT -I/opt/app/p1clv1w1/include   -m64 -xcode=pic32 -c -o 
po-lex.lo po-lex.c
libtool: compile:  cc -xc99=all -DLOCALEDIR=\"/opt/app/p1clv1w1/share/locale\" 
-DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/opt/app/p1clv1w1/share/locale\" 
-DUSEJAVA=1 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/opt/app/p1clv1w1/lib/gettext\" 
-DGETTEXTJAR=\"/opt/app/p1clv1w1/share/gettext/gettext.jar\" 
-DLIBDIR=\"/opt/app/p1clv1w1/lib\" 
-DGETTEXTDATADIR=\"/opt/app/p1clv1w1/share/gettext\" 
-DPROJECTSDIR=\"/opt/app/p1clv1w1/share/gettext/projects\" -DHAVE_CONFIG_H -I. 
-I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl 
-I../../gettext-runtime/intl -m64 -I /opt/app/p1clv1w1/include -xcode=pic32 
-D_REENTRANT -I/opt/app/p1clv1w1/include -m64 -xcode=pic32 -c po-lex.c  -KPIC 
-DPIC -o .libs/po-lex.o
"po-lex.c", line 604: identifier redeclared: pass_obsolete_entries
        current : signed char
        previous: _Bool : "po-lex.h", line 63
"po-lex.c", line 1140: identifier redeclared: po_lex_pass_comments
        current : function(signed char) returning void
        previous: function(_Bool) returning void : "po-lex.h", line 78
"po-lex.c", line 1149: identifier redeclared: po_lex_pass_obsolete_entries
        current : function(signed char) returning void
        previous: function(_Bool) returning void : "po-lex.h", line 82
cc: acomp failed for po-lex.c
*** Error code 1
make: Fatal error: Command failed for target `po-lex.lo'
Current working directory /opt/source/gettext-0.18.1.1/gettext-tools/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /opt/source/gettext-0.18.1.1/gettext-tools/src
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man 
m4 tests gnulib-tests examples'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/source/gettext-0.18.1.1/gettext-tools
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /opt/source/gettext-0.18.1.1/gettext-tools
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='gnulib-local gettext-runtime gettext-tools'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'

                                          

reply via email to

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