[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext 0.14.5 compile issue
From: |
Jason Keltz |
Subject: |
Re: gettext 0.14.5 compile issue |
Date: |
Wed, 03 Aug 2005 11:24:19 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050720) |
Bruno Haible wrote:
Jason Keltz wrote:
- If you go into the gettext-tools/intl/ directory and do "make" there,
what is "make"'s output? Does it build localename.lo?
Nope. Make output is simply:
make: Nothing to be done for `all'.
.. yet the directory only contains:
ChangeLog.inst Makefile VERSION
OK, that points to incorrect configuration results. I bet the
gettext-tools/config.status contains
s,@BUILD_INCLUDED_LIBINTL@,no,;t t
s,@USE_INCLUDED_LIBINTL@,no,;t t
How can this be if, as you said, you invoked "configure" with only a
prefix option?
- You're sure you didn't pass --disable-nls?
- You don't have the CONFIG_SITE environment variable set?
- No files PREFIX/share/config.site or PREFIX/etc/config.site exist,
for the PREFIX that you passed?
If this is all true, then in order to debug this, I'd need from a fresh
build (unpack gettext-0.14.5.tar.gz in a fresh directory, then configure it
as you did) the complete output of the configure command and the generated
gettext-tools/config.log.
Bruno
Hi Bruno,
You were half right about gettext-tools/config.status:
s,@BUILD_INCLUDED_LIBINTL@,yes,;t t
s,@USE_INCLUDED_LIBINTL@,no,;t t
I didn't pass --disable-nls.
I don't have a CONFIG_SITE environment variable set.
I don't have PREFIX/share/config.site or PREFIX/etc/config.site
Normally, I don't build these programs by hand. We have a system that
basically uncompresses the package, runs configure with the prefix, does
a make, and then a make install, and that is what I've been doing. It
has worked with every other GNU package that I've ever installed, and I
didn't think anything of it. When I uncompress gettext manually, and
run configure with the exact same arguments manually on the command
line, the compilation process completes successfully. I'm shocked
because I can't imagine what the problem would be.
Here is the diff output from
gettext-0.14.5/gettext-tools/config.status. The first argument to diff
is the not working compile (-), and the second argument is the working
compile (+)...
--------------------------------------------------------------------
--- xsys.32647.0/gettext-0.14.5/gettext-tools/config.status Wed Aug 3
10:25:03 2005
+++ gettext-0.14.5/gettext-tools/config.status Wed Aug 3 11:11:44 2005
@@ -303,13 +303,13 @@
Report bugs to <address@hidden>."
ac_cs_version="\
config.status
-configured by /tmp/xsys.32647.0/gettext-0.14.5/gettext-tools/configure,
generated by GNU Autoconf 2.59,
- with options \"'--prefix=/xsys' 'CC=gcc' 'CXX=g++'
'--cache-file=/dev/null'
'--srcdir=/tmp/xsys.32647.0/gettext-0.14.5/gettext-tools'\"
+configured by ./configure, generated by GNU Autoconf 2.59,
+ with options \"'--prefix=/xsys' 'CC=gcc' 'CXX=g++'
'--cache-file=/dev/null' '--srcdir=.'\"
Copyright (C) 2003 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
-srcdir=/tmp/xsys.32647.0/gettext-0.14.5/gettext-tools
+srcdir=.
INSTALL="/usr/bin/install -c"
# If no file are specified by the user, then we need to provide default
# value. By we need to know if files were specified by the user.
@@ -383,8 +383,8 @@
fi
if $ac_cs_recheck; then
- echo "running /bin/sh
/tmp/xsys.32647.0/gettext-0.14.5/gettext-tools/configure "
'--prefix=/xsys' 'CC=gcc' 'CXX=g++' '--cache-file=/dev/null'
'--srcdir=/tmp/xsys.32647.0/gettext-0.14.5/gettext-tools'
$ac_configure_extra_args " --no-create --no-recursion" >&6
- exec /bin/sh /tmp/xsys.32647.0/gettext-0.14.5/gettext-tools/configure
'--prefix=/xsys' 'CC=gcc' 'CXX=g++' '--cache-file=/dev/null'
'--srcdir=/tmp/xsys.32647.0/gettext-0.14.5/gettext-tools'
$ac_configure_extra_args --no-create --no-recursion
+ echo "running /bin/sh ./configure " '--prefix=/xsys' 'CC=gcc'
'CXX=g++' '--cache-file=/dev/null' '--srcdir=.' $ac_configure_extra_args
" --no-create --no-recursion" >&6
+ exec /bin/sh ./configure '--prefix=/xsys' 'CC=gcc' 'CXX=g++'
'--cache-file=/dev/null' '--srcdir=.' $ac_configure_extra_args
--no-create --no-recursion
fi
#
@@ -519,12 +519,12 @@
s,@CYGPATH_W@,echo,;t t
s,@PACKAGE@,gettext-tools,;t t
s,@VERSION@,0.14.5,;t t
-s,@ACLOCAL@,${SHELL} /tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing
--run aclocal-1.9,;t t
-s,@AUTOCONF@,${SHELL}
/tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing --run autoconf,;t t
-s,@AUTOMAKE@,${SHELL}
/tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing --run automake-1.9,;t t
-s,@AUTOHEADER@,${SHELL}
/tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing --run autoheader,;t t
-s,@MAKEINFO@,${SHELL}
/tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing --run makeinfo,;t t
-s,@install_sh@,/tmp/xsys.32647.0/gettext-0.14.5/build-aux/install-sh,;t t
+s,@ACLOCAL@,${SHELL} /tmp/gettext-0.14.5/build-aux/missing --run
aclocal-1.9,;t t
+s,@AUTOCONF@,${SHELL} /tmp/gettext-0.14.5/build-aux/missing --run
autoconf,;t t
+s,@AUTOMAKE@,${SHELL} /tmp/gettext-0.14.5/build-aux/missing --run
automake-1.9,;t t
+s,@AUTOHEADER@,${SHELL} /tmp/gettext-0.14.5/build-aux/missing --run
autoheader,;t t
+s,@MAKEINFO@,${SHELL} /tmp/gettext-0.14.5/build-aux/missing --run
makeinfo,;t t
+s,@install_sh@,/tmp/gettext-0.14.5/build-aux/install-sh,;t t
s,@STRIP@,strip,;t t
s,@ac_ct_STRIP@,strip,;t t
s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t
@@ -532,7 +532,7 @@
s,@AWK@,gawk,;t t
s,@SET_MAKE@,,;t t
s,@am__leading_dot@,.,;t t
-s,@AMTAR@,${SHELL} /tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing
--run tar,;t t
+s,@AMTAR@,${SHELL} /tmp/gettext-0.14.5/build-aux/missing --run tar,;t t
s,@am__tar@,${AMTAR} chof - "$$tardir",;t t
s,@am__untar@,${AMTAR} xf -,;t t
s,@localedir@,${datadir}/locale,;t t
@@ -674,8 +674,8 @@
s,@EMACSLOADPATH@,,;t t
s,@lispdir@,${datadir}/emacs/site-lisp,;t t
s,@aclocaldir@,${datadir}/aclocal,;t t
-s,@DVIPS@,/tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing dvips,;t t
-s,@TEXI2PDF@,/tmp/xsys.32647.0/gettext-0.14.5/build-aux/missing
texi2pdf,;t t
+s,@DVIPS@,/tmp/gettext-0.14.5/build-aux/missing dvips,;t t
+s,@TEXI2PDF@,/tmp/gettext-0.14.5/build-aux/missing texi2pdf,;t t
s,@PERL@,/xsys/bin/perl,;t t
s,@CROSS_COMPILING@,no,;t t
s,@LOCALE_FR@,none,;t t
@@ -886,7 +886,14 @@
fi;;
esac
done` || { (exit 1); exit 1; }
- sed "
+ sed "/^[ ]*VPATH[ ]*=/{
+s/:*\$(srcdir):*/:/;
+s/:*\${srcdir}:*/:/;
+s/:address@hidden@:*/:/;
+s/^\([^=]*=[ ]*\):*/\1/;
+s/:*$//;
+s/^[^=]*=[ ]*$//;
+}
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
Our build system is automatically building this like all the other gnu
tools... uncompress, configure with prefix set, make, and make install...
- Re: gettext 0.14.5 compile issue, Jason Keltz, 2005/08/02
- Re: gettext 0.14.5 compile issue, Bruno Haible, 2005/08/02
- Re: gettext 0.14.5 compile issue, Jason Keltz, 2005/08/02
- Re: gettext 0.14.5 compile issue, Bruno Haible, 2005/08/03
- srcdir detection (was: Re: gettext 0.14.5 compile issue), Stepan Kasal, 2005/08/04
- Re: srcdir detection (was: Re: gettext 0.14.5 compile issue), Bruno Haible, 2005/08/04
- Re: srcdir detection, Tim Van Holder, 2005/08/04