[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getetxt-0.17 build failed on solaris-8 ...libtool problem
From: |
Malay HALDER |
Subject: |
getetxt-0.17 build failed on solaris-8 ...libtool problem |
Date: |
Tue, 20 May 2008 12:43:01 +0530 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070426) |
hello maintainers ,
I am facing this problem while building
gettext-0.17 on solaris-8.Configure is ok i have checked the config.log
its failing during the build stage
*****
gmake[4]: Entering directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17/gettext-tools/doc'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17/gettext-tools/doc'
*Making all in intl*
gmake[4]: Entering directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17/gettext-tools/intl'
sed -e '/IN_LIBGLOCALE/d' \
-e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,1,g' \
-e 's,@''HAVE_WPRINTF''@,0,g' \
<
/users/toolsrd/ws/si_ctoolrd/gettext/production/sources/gettext-0.17/gettext-tools/../gettext-runtime/intl/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
/users/toolsrd/ws/si_ctoolrd/gettext/production/sources/gettext-0.17/gettext-tools/../gettext-runtime/intl/export.h"
\
| sed -e 's,@''HAVE_VISIBILITY''@,0,g' \
> libgnuintl.h
*/bin/sh ../libtool *--mode=compile
/tools/openbin/gcc/3.4.4/sparc-sun-solaris8/bin/gcc -c
-DLOCALEDIR=\"/tools/openbin/gettext/0.17/sparc-sun-solaris8/share/locale\"
-DLOCALE_ALIAS_PATH=\"/tools/openbin/gettext/0.17/sparc-sun-solaris8/share/locale\"
-DLIBDIR=\"/tools/openbin/gettext/0.17/sparc-sun-solaris8/lib\"
-DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1
-DIN_LIBRARY
-DINSTALLDIR=\"/tools/openbin/gettext/0.17/sparc-sun-solaris8/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix
-Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I.
-I/users/toolsrd/ws/si_ctoolrd/gettext/production/sources/gettext-0.17/gettext-tools/../gettext-runtime/intl
-I.. -D_REENTRANT
-I/tools/openbin/libiconv/1.12/sparc-sun-solaris8/include
-I/tools/openbin/expat/2.0.1/sparc-sun-solaris8/include -g -O2
/users/toolsrd/ws/si_ctoolrd/gettext/production/sources/gettext-0.17/gettext-tools/../gettext-runtime/intl/bindtextdom.c
*libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'*
gmake[4]: *** [bindtextdom.lo] Error 1
gmake[4]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17/gettext-tools/intl'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17/gettext-tools'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17/gettext-tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gettext/production/objects/gettext-0.17'
*** Error code 2
dmake: Fatal error: Command failed for target `build-gettext'
************
i am using gcc-3.4.4/libiconv -1.12/expat-2.01/
***********
build machine info:
System = SunOS
Node = csbu061
Release = 5.10
KernelID = Generic_118833-24
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
*************
*i tried to search the root cause and found that the problem is coming
from the libtool script :
func_infer_tag ()*
{
if test -n "$available_tags" && test -z "$tagname"; then
CC_quoted=
for arg in $CC; do
case $arg in
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
arg="\"$arg\""
;;
esac
CC_quoted="$CC_quoted $arg"
done
case $@ in
# Blanks in the command may have been stripped by the calling shell,
# but not from the CC environment variable when configure was run.
" $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | "
$CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo
$CC_quoted` "*) ;;
# Blanks at the start of $base_compile will cause this to fail
# if we don't check for them as well.
*)
for z in $available_tags; do
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" >
/dev/null; then
# Evaluate the configuration.
eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG:
'$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
CC_quoted=
for arg in $CC; do
# Double-quote args containing other shell metacharacters.
case $arg in
*[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
arg="\"$arg\""
;;
esac
CC_quoted="$CC_quoted $arg"
done
case "$@ " in
" $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | "
$CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo
$CC_quoted` "*)
# The compiler in the base compile command matches
# the one in the tagged configuration.
# Assume this is the tagged configuration we want.
tagname=$z
break
;;
esac
fi
done
# If $tagname still isn't set, then no tagged configuration
# was found and let the user know that the "--tag" command
# line option must be used.
* if test -z "$tagname"; then
$echo "$modename: unable to infer tagged configuration"
$echo "$modename: specify a tag with \`--tag'" 1>&2
------->>script exiting because tagname variable is zero i suspect
exit $EXIT_FAILURE*
# else
# $echo "$modename: using $tagname tagged configuration"
fi
;;
esac
fi
}
if any one can help me in this build ...please..its important..
regards
Malay
- getetxt-0.17 build failed on solaris-8 ...libtool problem,
Malay HALDER <=