GNOME Bugzilla – Bug 116615
GNU Cash configure problem with 1.8.4
Last modified: 2018-06-29 20:34:46 UTC
./configure --prefix=/opt/Gnome loading cache ./config.cache checking for non-GNU ld... /usr/ucb/ld checking if the linker (/usr/ucb/ld) is GNU ld... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found ./configure: syntax error at line 1382: `INTLTOOL_REQUIRED_VERSION_AS_INT=$' unexpected
What is the problem here ? I'm stumped on this one !
Ok, so your OS is Solaris 8 (which makes it difficult to reproduce this bug since none of the developers has access to such a machine). What are your versions of intltools, autoconf, automake, aclocal? Did you call ./autogen.sh before you started ./configure? Can you submit your config.log as an attachment to this report? What does line 1382 and +-10 of surroundings read in ./configure? Thanks for your information.
Created attachment 18003 [details] Config.log as requested.
Created attachment 18004 [details] Configure script as requested ( Sorry could not edit )
Actually, I do have/use Solaris 8/9. You need to use "bash" to run the configure script. This is a known bug but mostly out of our control (it's a problem with some .m4 scripts that we depend on)
*** This bug has been marked as a duplicate of 116018 ***
Sorry but I was using GNU bash to configure the program and it still doesn't work !!!!
The actual fix is to change the first line of configure from #!/bin/sh to : #!/usr/bin/bash now it works ...
It works fine if you run: bash ./configure ...
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=116615. Please update any external references or bookmarks.