Hi all,

while working on the US version RPMs, I encountered a weird build error with
the US version tarball:

The build fails in m4/ with a message about @SHELL@ being undefined. True
enough, "Makefile" in m4/ contains the line 
SHELL = @SHELL@

The funny thing is: After running "configure", the Makefile is actually
correct. When I then type "make", configure is re-run after some calls to
aclocal/autoconf - and after that second run and the autoconf calls, the
Makefile is wrong.

I did a bit of experimenting and came up with the following results:

International Mutt Version, plain:
when running "make", "configure" is not re-run, nor is autoconf run =>
compiles and installs just fine

International Mutt with compressed folder patch:
On running "make", autoconf and configure are run, but m4/Makefile gets
generated correctly => compiles and installs fine

US Mutt, plain:
On running "make", autoconf and configure are run and m4/Makefile gets
generated wrongly (it looks as if Makefile.in isn't regenerated, at least
Makefile.in also contains that SHELL = @SHELL@ line) => compiles fine,
but install fails with:
make[2]: Leaving directory `/usr/src/redhat/BUILD/mutt-1.0pre1-us/intl'
Making install in m4
make[2]: Entering directory `/usr/src/redhat/BUILD/mutt-1.0pre1-us/m4'
make[2]: @SHELL@: Command not found

US Mutt with compressed folder patch:
On running "make", autoconf and configure are run, but m4/Makefile gets
generated correctly => compiles and installs fine

The only difference between the international tarball and the US tarball
that I could find (other than the PGP differences) is the fact that in the
US tarball *all* files have the same date, whereas in the international
version the files have dates ranging from early 1998 till now. Hence, I
almost suspect it's some kind of date problem (in fact, when I changed the
dates on all files in m4(US) to match those in m4(international), it
worked), but my autoconf knowledge is simply too limited to find the real
solution.

Maybe somebody else can point out what's happening here...

My system: Red Hat Linux 5.2, autoconf-2.12, automake-1.3, gcc-2.7.2.3,
           make-3.76.1

Cheerio,

Thomas
-- 
-----------------------------------------------------------------------------
      Thomas Ribbrock    http://www.bigfoot.com/~kaytan    ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"

Reply via email to