After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 362006 - MSWindows auto-installer install.sh, error at gnucash part
MSWindows auto-installer install.sh, error at gnucash part
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Build system
git-master
Other Windows
: Normal normal
: ---
Assigned To: Christian Stimming
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2006-10-13 19:18 UTC by Patrick
Modified: 2018-06-29 21:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.tif of response to Andreas' suggestions (131.47 KB, image/tiff)
2006-10-15 10:43 UTC, Patrick
Details
Image of repos directory (175.16 KB, image/tiff)
2006-10-15 20:46 UTC, Patrick
Details

Description Patrick 2006-10-13 19:18:33 UTC
Please describe the problem:
Installing Gnucash on windows XP as per http://wiki.gnucash.org/wiki/Windows#Instructions_for_.28almost.29_automated_Build most of the process seems to have worked fine (in that the installer has got up to the Gnucash part (?I assume that means the prerequisites are done?).

have got the Gnucash note: Please ignore the output of glib-gettextise above! part

Putting files in AC_CONFIG_AUX_DIR, '..'
cp: cannot create regular file 'po/Makefile.....etc
intltoolize: cannot copy '/c/soft/gnome/........etc

**Eror**:intltoolize failed.

Steps to reproduce:
1. follow instructions for install.sh
2. 
3. 


Actual results:
the above as described

Expected results:


Does this happen every time?
only done once installer took many hours...

Other information:
apologies i don't really know much about this and don't expect a detailed reply as to what i should do, I just mention it in case it is something that helps you help others.
I can give more details if asked, but don't really understand the linux side of things....
Comment 1 Andreas Köhler 2006-10-14 09:17:27 UTC
I am not sure whether we want to deal with these problems at bugzilla or the gnucash-devel mailing list right now, reassigning to cstim to call in our win32 guru :D

Thanks for trying out the mingw compile, we need you :) Everything you have compiled yet will not bother you the next install.sh run, it will simply skip this task then. But I think the script failed to execute ./autogen.sh (./ is needed, because the current working directory is not in the PATH of executables). You might try to open the MSYS shell and cd (change directory) to the repository and execute ./autogen.sh by yourself. If that fails again, enter "/c/soft/gnome/bin/intltoolize --force --copy" and make it fail again (echo $? should something non-zero).

I suppose I cannot help you much further without additional information. You may have some permission problems, but I do not know. Maybe you can find it out or cstim knows better.
Comment 2 Christian Stimming 2006-10-14 09:27:49 UTC
You have to give us the exact copy of the output after the "Gnucash note: Please ignore the output of glib-gettextise above!" message. Also, what are your directory settings - where is your gnucash source code and from where did you execute install.sh? Does any of these paths contain a space? If yes, then that's the problem.

Apart from my guess, please give the full message that is shown here (including all path names):

Putting files in AC_CONFIG_AUX_DIR, '..'
cp: cannot create regular file 'po/Makefile.....etc
intltoolize: cannot copy '/c/soft/gnome/........etc

Thanks.
Comment 3 Patrick 2006-10-15 10:43:44 UTC
Created attachment 74750 [details]
.tif of response to Andreas' suggestions
Comment 4 Christian Stimming 2006-10-15 19:38:34 UTC
Can you please show us the content of the /c/soft/repos directory? I think it's missing the po/ subdirectory, because that would explain the cp error message. Maybe the "svn checkout" didn't work?  @Andi: maybe we need to add some more checks about whether the svn checkout actually worked correctly?
Comment 5 Patrick 2006-10-15 20:46:12 UTC
Created attachment 74764 [details]
Image of repos directory
Comment 6 Christian Stimming 2006-10-16 09:10:17 UTC
Weird. intltoolize tries to use '..' as base directory, i.e. /c/soft/ instead of /c/soft/repos, and since that one (correctly) doesn't have a subdirectory po/, the copying fails. I now really wonder where this AC_CONFIG_AUX_DIR came from, because it doesn't appear in any of the gnucash-SVN code. Please give us the output of the following:

  cd /c/soft/repos
  grep AC_CONFIG_AUX_DIR *

(A screenshot is one possibility, but the other possibility is simply marking the text in the window by the left mouse-click, and then pressing "Paste" here.)

Apart from this, running ./autogen.sh doesn't work because the PATH doesn't contain the directory entries of all the autotools. Instead, please simply run install.sh again and maybe post the output here.
Comment 7 Patrick 2006-10-16 18:09:20 UTC
*************************************************************
*************************************************************
aspire@ASPIRE-MP91MRKF /c/soft/repos
$ grep AC_CONFIG_AUX_DIR *
grep: accounts: Invalid request code
grep: art: Invalid request code
grep: doc: Invalid request code
grep: intl-scm: Invalid request code
grep: lib: Invalid request code
grep: m4: Invalid request code
grep: macros: Invalid request code
grep: packaging: Invalid request code
grep: po: Invalid request code
grep: src: Invalid request code
grep: util: Invalid request code

aspire@ASPIRE-MP91MRKF /c/soft/repos
$ 

*************************************************************
*************************************************************

aspire@ASPIRE-MP91MRKF /c/soft/repos
$ ./autogen.sh

**Warning**: Could not find a autoconf that identifies itself >= 2.59.


**Warning**: Could not find a autoheader that identifies itself >= 2.59.


**Warning**: Could not find a automake that identifies itself >= 1.9.


**Warning**: Could not find a aclocal that identifies itself >= 1.9.


**Error**: You must have `glib-gettextize' installed to compile GnuCash.
Get the development packages of the glib-2.x library from your distribution.

**Error**: You must have `intltoolize' installed to compile GnuCash.
Get the package 'intltool' of your distribution.

**Error**: You must have `libtoolize' installed to compile GnuCash.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

**Error**: You must have `automake' installed to compile GnuCash.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

**Error**: You must have `autoconf' installed to compile GnuCash.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

aspire@ASPIRE-MP91MRKF /c/soft/repos


*********************************************************************

aspire@ASPIRE-MP91MRKF /c/soft
$ install.sh

############################################################
###  Wget
############################################################
already installed.  skipping.

############################################################
###  MSYS DTK
############################################################
msys dtk already installed.  skipping.

############################################################
###  MinGW
############################################################
mingw already installed.  skipping.

############################################################
###  Unzip
############################################################
unzip already installed.  skipping.

############################################################
###  RegEx
############################################################
regex already installed.  skipping.

############################################################
###  Readline
############################################################
readline already installed.  skipping.

############################################################
###  Indent
############################################################
indent already installed.  skipping.

############################################################
###  ActivePerl (intltool)
############################################################
ActivePerl already installed.  skipping.

############################################################
###  Guile
############################################################
guile and slib already installed.  skipping.

############################################################
###  OpenSSL
############################################################
openssl already installed.  skipping.

############################################################
###  pexports
############################################################
pexports already installed.  skipping.

############################################################
###  LibXML2
############################################################
libxml2 already installed.  skipping.

############################################################
###  Expat
############################################################
expat already installed.  skipping.

############################################################
###  Gnome platform
############################################################
gnome packages installed.  skipping.

############################################################
###  G-Wrap
############################################################
g-wrap already installed.  skipping.

############################################################
###  Autotools
############################################################
autoconf/automake already installed.  skipping.
libtool/libtoolize already installed.  skipping.

############################################################
###  libGSF
############################################################
libgsf already installed.  skipping.

############################################################
###  GOffice
############################################################
goffice already installed.  skipping.

############################################################
###  Subversion
############################################################
subversion already installed.  skipping.

############################################################
###  svn up
############################################################
U    src\register\register-gnome\test\Makefile.am
U    src\register\ledger-core\gnc-ledger-display.c
D    src\register\register-core\gw-register-core-spec.scm
U    src\register\register-core\gncmod-register-core.c
U    src\register\register-core\test\Makefile.am
U    src\register\register-core\Makefile.am
 U   src\register\register-core
D    src\optional\swig
U    src\optional\Makefile.am
D    src\core-utils\gw-core-utils-spec.scm
U    src\core-utils\gnc-main.h
A    src\core-utils\core-utils.scm
U    src\core-utils\Makefile.am
U    src\core-utils\gnc-main.c
A    src\core-utils\core-utils.i
 U   src\core-utils
U    src\network-utils\test\Makefile.am
U    src\backend\file\test\Makefile.am
U    src\backend\postgres\test\Makefile.am
U    src\import-export\qif-import\qif-to-gnc.scm
U    src\import-export\qif-import\qif-objects.scm
U    src\import-export\qif-import\qif-dialog-utils.scm
U    src\import-export\qif-import\qif-guess-map.scm
U    src\import-export\qif-import\qif-import.scm
U    src\import-export\qif-import\qif-parse.scm
U    src\import-export\qif-import\Makefile.am
U    src\import-export\qif-import\qif-merge-groups.scm
U    src\import-export\qif-import\qif-file.scm
U    src\import-export\qif-import\druid-qif-import.c
 U   src\import-export\qif-import
 U   src\import-export\binary-import
U    src\import-export\qif-io-core\test\test-import-phase-1.scm
U    src\import-export\qif-io-core\test\Makefile.am
U    src\import-export\qif-io-core\test\test-parser.scm
U    src\import-export\qif-io-core\qif-invst-xtn-import.scm
U    src\import-export\qif-io-core\qif-format-check.scm
U    src\import-export\qif-io-core\qif-bank-xtn-import.scm
U    src\import-export\qif-io-core\qif-parse.scm
U    src\import-export\qif-io-core\qif-acct-table.scm
U    src\import-export\qif\test\Makefile.am
U    src\import-export\qif\Makefile.am
U    src\import-export\test\Makefile.am
U    src\import-export\hbci\Makefile.am
U    src\import-export\Makefile.am
U    src\import-export\log-replay\Makefile.am
 U   src\import-export
D    src\gnc-module\gw-gnc-module-spec.scm
D    src\gnc-module\test\mod-bar\bar-gwrap.scm
U    src\gnc-module\test\mod-bar\gnc-mod-bar.c
U    src\gnc-module\test\mod-bar\Makefile.am
A    src\gnc-module\test\mod-bar\bar.i
 U   src\gnc-module\test\mod-bar
U    src\gnc-module\test\test-load-deps
U    src\gnc-module\test\test-scm-multi
D    src\gnc-module\test\mod-baz\baz-gwrap.scm
U    src\gnc-module\test\mod-baz\gnc-mod-baz.c
A    src\gnc-module\test\mod-baz\baz.i
U    src\gnc-module\test\mod-baz\Makefile.am
 U   src\gnc-module\test\mod-baz
D    src\gnc-module\test\mod-foo\foo-gwrap.scm
U    src\gnc-module\test\mod-foo\gnc-mod-foo.c
U    src\gnc-module\test\mod-foo\Makefile.am
A    src\gnc-module\test\mod-foo\foo.i
 U   src\gnc-module\test\mod-foo
U    src\gnc-module\test\test-gwrapped-c
U    src\gnc-module\test\Makefile.am
A    src\gnc-module\gnc-module.i
U    src\gnc-module\Makefile.am
U    src\gnc-module\gnc-module.c
U    src\gnc-module\gnc-module.scm
 U   src\gnc-module
U    src\bin\gnucash-bin.c
U    src\bin\gnucash-valgrind.in
U    src\bin\overrides\gnucash-build-env.in
U    src\bin\overrides\gnucash-env.in
U    src\bin\overrides\Makefile.am
U    src\bin\Makefile.am
U    src\bin\gnucash.in
U    src\report\utility-reports\test\Makefile.am
U    src\report\utility-reports\welcome-to-gnucash.scm
U    src\report\utility-reports\view-column.scm
U    src\report\utility-reports\hello-world.scm
U    src\report\utility-reports\test-graphing.scm
U    src\report\locale-specific\us\taxtxf.scm
U    src\report\locale-specific\us\test\Makefile.am
U    src\report\locale-specific\us\taxtxf-de_DE.scm
U    src\report\standard-reports\daily-reports.scm
U    src\report\standard-reports\test\Makefile.am
U    src\report\standard-reports\trial-balance.scm
U    src\report\standard-reports\category-barchart.scm
U    src\report\standard-reports\price-scatter.scm
U    src\report\standard-reports\net-barchart.scm
U    src\report\standard-reports\budget.scm
U    src\report\standard-reports\income-statement.scm
U    src\report\standard-reports\account-piecharts.scm
U    src\report\standard-reports\portfolio.scm
U    src\report\standard-reports\advanced-portfolio.scm
U    src\report\standard-reports\equity-statement.scm
U    src\report\standard-reports\cash-flow.scm
U    src\report\standard-reports\register.scm
U    src\report\standard-reports\general-journal.scm
U    src\report\standard-reports\transaction.scm
U    src\report\standard-reports\account-summary.scm
U    src\report\standard-reports\balance-sheet.scm
U    src\report\standard-reports\standard-reports.scm
U    src\report\standard-reports\average-balance.scm
U    src\report\stylesheets\test\Makefile.am
U    src\report\stylesheets\stylesheet-fancy.scm
U    src\report\stylesheets\stylesheet-easy.scm
D    src\report\report-system\gw-report-system-spec.scm
U    src\report\report-system\test\Makefile.am
U    src\report\report-system\html-piechart.scm
U    src\report\report-system\html-acct-table.scm
U    src\report\report-system\gncmod-report-system.c
A    src\report\report-system\report-system.i
U    src\report\report-system\options-utilities.scm
U    src\report\report-system\html-scatter.scm
U    src\report\report-system\html-style-sheet.scm
U    src\report\report-system\report.scm
U    src\report\report-system\html-utilities.scm
U    src\report\report-system\commodity-utilities.scm
U    src\report\report-system\gnc-report.c
U    src\report\report-system\report-utilities.scm
U    src\report\report-system\gnc-report.h
U    src\report\report-system\html-barchart.scm
U    src\report\report-system\Makefile.am
U    src\report\report-system\html-style-info.scm
U    src\report\report-system\report-system.scm
 U   src\report\report-system
D    src\report\report-gnome\gw-report-gnome-spec.scm
U    src\report\report-gnome\report-gnome.scm
U    src\report\report-gnome\test\Makefile.am
U    src\report\report-gnome\window-report.c
U    src\report\report-gnome\dialog-column-view.c
U    src\report\report-gnome\dialog-style-sheet.c
U    src\report\report-gnome\gncmod-report-gnome.c
A    src\report\report-gnome\report-gnome.i
U    src\report\report-gnome\gnc-plugin-page-report.c
U    src\report\report-gnome\Makefile.am
 U   src\report\report-gnome
U    src\scm\price-quotes.scm
U    src\scm\command-line.scm
U    src\scm\main.scm
U    src\scm\main-window.scm
U    src\scm\printing\print-check.scm
D    src\business\business-core\gw-business-core-spec.scm
U    src\business\business-core\gncJob.h
U    src\business\business-core\businessmod-core.c
U    src\business\business-core\gncInvoice.c
U    src\business\business-core\gncOwner.h
U    src\business\business-core\gncInvoice.h
U    src\business\business-core\gncEntry.c
U    src\business\business-core\gncEntry.h
U    src\business\business-core\gncCustomer.h
U    src\business\business-core\test\Makefile.am
U    src\business\business-core\gncBillTerm.h
U    src\business\business-core\gncBusGuile.c
U    src\business\business-core\gncOrder.h
U    src\business\business-core\business-core.scm
A    src\business\business-core\business-core.i
U    src\business\business-core\Makefile.am
 U   src\business\business-core
U    src\business\business-reports\payables.scm
U    src\business\business-reports\owner-report.scm
U    src\business\business-reports\receivables.scm
U    src\business\business-reports\aging.scm
U    src\business\business-reports\business-reports.scm
U    src\business\business-reports\fancy-invoice.scm
U    src\business\business-reports\easy-invoice.scm
U    src\business\business-reports\invoice.scm
U    src\business\business-utils\business-options.c
U    src\business\business-utils\business-options.scm
U    src\business\business-utils\Makefile.am
U    src\business\business-utils\business-prefs.scm
U    src\business\business-ledger\gncEntryLedgerLoad.c
D    src\business\business-gnome\gw-business-gnome-spec.scm
U    src\business\business-gnome\business-gnome.scm
U    src\business\business-gnome\businessmod-gnome.c
U    src\business\business-gnome\business-options-gnome.c
U    src\business\business-gnome\Makefile.am
U    src\business\business-gnome\dialog-invoice.c
 U   src\business\business-gnome
D    src\business\dialog-tax-table\gw-dialog-tax-table-spec.scm
U    src\business\dialog-tax-table\dialog-tax-table.scm
U    src\business\dialog-tax-table\gncmod-dialog-tax-table.c
A    src\business\dialog-tax-table\dialog-tax-table.i
U    src\business\dialog-tax-table\Makefile.am
 U   src\business\dialog-tax-table
U    src\tax\us\test\Makefile.am
U    src\tax\us\txf-de_DE.scm
A    src\base-typemaps.i
D    src\gnome-utils\gw-gnome-utils-spec.scm
U    src\gnome-utils\gnc-tree-model-commodity.c
A    src\gnome-utils\gnome-utils.i
U    src\gnome-utils\gnc-tree-model-account.c
U    src\gnome-utils\Makefile.am
U    src\gnome-utils\gnc-html.h
U    src\gnome-utils\gnc-plugin-menu-additions.c
U    src\gnome-utils\gnc-file.c
U    src\gnome-utils\gnc-file.h
U    src\gnome-utils\gnc-main-window.c
U    src\gnome-utils\gnc-tree-model-price.c
U    src\gnome-utils\gnc-main-window.h
U    src\gnome-utils\gncmod-gnome-utils.c
U    src\gnome-utils\gnome-utils.scm
U    src\gnome-utils\test\Makefile.am
U    src\gnome-utils\dialog-options.c
U    src\gnome-utils\dialog-options.h
 U   src\gnome-utils
D    src\gnome\gw-gnc-spec.scm
 U   src\gnome\schemas
A    src\gnome\gnome.i
U    src\gnome\gnc-plugin-page-register.c
U    src\gnome\dialog-price-edit-db.c
U    src\gnome\top-level.c
U    src\gnome\dialog-sx-from-trans.c
U    src\gnome\dialog-tax-info.c
U    src\gnome\Makefile.am
 U   src\gnome
D    src\engine\gw-kvp-spec.scm
D    src\engine\gw-engine-spec.scm
U    src\engine\engine.scm
A    src\engine\engine.i
U    src\engine\gnc-pricedb.c
U    src\engine\gnc-pricedb.h
U    src\engine\gnc-budget.h
U    src\engine\Account.h
U    src\engine\engine-helpers.c
U    src\engine\gnc-numeric.scm
U    src\engine\engine-helpers.h
U    src\engine\Group.c
U    src\engine\Group.h
U    src\engine\engine-interface.scm
U    src\engine\Query.c
U    src\engine\Query.h
U    src\engine\gncmod-engine.c
U    src\engine\glib-helpers.c
U    src\engine\engine-utilities.scm
U    src\engine\kvp-scm.c
U    src\engine\glib-helpers.h
U    src\engine\test-core\Makefile.am
U    src\engine\Transaction.h
U    src\engine\test\test-create-account.scm
U    src\engine\test\test-scm-query-import.scm
U    src\engine\test\Makefile.am
U    src\engine\gnc-commodity.c
U    src\engine\gnc-commodity.h
U    src\engine\Makefile.am
U    src\engine\gnc-hooks.c
 U   src\engine
U    src\gnome-search\Makefile.am
 U   src\gnome-search
U    src\Makefile.am
D    src\app-utils\kvp-option-registry.scm
D    src\app-utils\gw-app-utils-spec.scm
U    src\app-utils\app-utils.scm
U    src\app-utils\gnc-component-manager.c
U    src\app-utils\gnc-component-manager.h
A    src\app-utils\app-utils.i
D    src\app-utils\test\test-component-manager
U    src\app-utils\test\test-load-module
U    src\app-utils\test\Makefile.am
U    src\app-utils\gfec.c
U    src\app-utils\gnc-helpers.c
U    src\app-utils\gfec.h
U    src\app-utils\gnc-helpers.h
U    src\app-utils\prefs.scm
U    src\app-utils\c-interface.scm
U    src\app-utils\guile-util.c
U    src\app-utils\gncmod-app-utils.c
U    src\app-utils\hooks.scm
U    src\app-utils\option-util.c
U    src\app-utils\date-utilities.scm
U    src\app-utils\Makefile.am
U    src\app-utils\option-util.h
U    src\app-utils\options.scm
U    src\app-utils\gnc-ui-util.c
 U   src\app-utils
 U   src
U    lib\libqof\qof\qofquery.c
D    macros\g-wrap.m4
A    macros\ac_pkg_swig.m4
C    configure.in
U    Makefile.am
 U   .
Updated to revision 15026.

############################################################
###  GnuCash
############################################################
Creating ./po/POTFILES.in ...
Creating ./aclocal.m4 ...
Running glib-gettextize --force --copy ...  
GnuCash note: Please ignore the output of glib-gettextize below!
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /c/soft/gnome/bin/../share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

GnuCash note: Please ignore the output of glib-gettextize above!

Ensure ./aclocal.m4 is writable ...
Ensure ./po/POTFILES.in is writable ...
Running intltoolize --force --copy ...
You should add the contents of '/c/soft/gnome/share/aclocal/intltool.m4' to 'aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, '..'.
cp: cannot create regular file `po/Makefile.in.in': No such file or directory
intltoolize: cannot copy '/c/soft/gnome/share/intltool/Makefile.in.in' to 'po/Makefile.in.in'
**Error**: intltoolize failed.

aspire@ASPIRE-MP91MRKF /c/soft

*************************************************************
*************************************************************

Hi Christian thanks for your suggestions (and for your tip about screen dumps :) ).
I hope that this is helping and I haven't done something really stupid...


All the best,
Patrick
Comment 8 Christian Stimming 2006-10-16 18:31:38 UTC
*sigh* Thanks for the output. As you can see, there is no AC_CONFIG_AUX_DIR in gnucash. Also, as expected ./autogen.sh alone doesn't work, whereas install.sh does. But as long as intltoolize says

  Putting files in AC_CONFIG_AUX_DIR, '..'.

this won't work, unfortunately. Hm, maybe this is because you have called install.sh from the '..' directory (/c/soft)? What happens if you move the install.sh and custom.sh to e.g. /c/soft/scripts ?

But unfortunately we have to tell you that the latest SVN-Trunk version currently won't compile anyway on Windows due to the transition from g-wrap to swig. Currently you have to comment out the step "svn_up" in custom.sh, execute in /c/soft/repos this:

  svn up -r15007

and then execute the install.sh again, but as suggested from a different location. Does that work? We only need the output after the last ######## marker :-)
Comment 9 Patrick 2006-10-17 22:03:26 UTC
apologies, I am not sure I have understood this right... probably just being stupid but here it is
*********************************************
aspire@ASPIRE-MP91MRKF /c/soft/repos
$ svn up -r15007
sh: svn: command not found

aspire@ASPIRE-MP91MRKF /c/soft/repos
*******************************************

I also did the suggested moving install and custom.sh to a new folder called 'scripts', commented out the svn_up line and ran install.sh from this folder:

############################################################
###  Subversion
############################################################
subversion already installed.  skipping.

############################################################
###  GnuCash
############################################################
Creating ./po/POTFILES.in ...
Creating ./aclocal.m4 ...
Running glib-gettextize --force --copy ...  
GnuCash note: Please ignore the output of glib-gettextize below!
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /c/soft/gnome/bin/../share/aclocal directory to your autoconf macro dir                                             ectory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

GnuCash note: Please ignore the output of glib-gettextize above!

Ensure ./aclocal.m4 is writable ...
Ensure ./po/POTFILES.in is writable ...
Running intltoolize --force --copy ...
You should add the contents of '/c/soft/gnome/share/aclocal/intltool.m4' to 'acl                                             ocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, '..'.
cp: cannot create regular file `po/Makefile.in.in': No such file or directory
intltoolize: cannot copy '/c/soft/gnome/share/intltool/Makefile.in.in' to 'po/Ma                                             kefile.in.in'
**Error**: intltoolize failed.

aspire@ASPIRE-MP91MRKF /c/soft/scripts


Not sure this has helped you.... sorry, I hope you are not getting frustrated! :) Thanks for your help though.

Patrick



Comment 10 Christian Stimming 2006-10-18 11:03:02 UTC
Ok, thanks. So finally I have no clue about this weird AC_CONFIG_AUX_DIR and why intltoolize cannot be forced to ignore it. You could try to create the directory /c/soft/po/  and see what happens then on install.sh (and copy its content to /c/soft/repos/po/ later).

As for svn: If you get "svn: command not found" then you need to specify the full path, i.e.

  /c/soft/svn/bin/svn -r15007

because, as I said, the SVN version larger than 15007 unfortunatly won't build on windows. 
Comment 11 Christian Stimming 2006-10-18 15:35:21 UTC
Actually, when you tried "I also did the suggested moving install and custom.sh to a new folder called 'scripts'," did you really *remove* the file install.sh from the /c/soft/ directory? If not, please remove the install.sh there and try again. 

@andi: Look into the intltool program, lines 168ff:

  # Try to discover auxdir the same way it is discovered by configure.
  # Note that we default to the current directory.
  for dir in . .. ../..; do
    if test -f $dir/install-sh; then
      auxdir=$dir
      break
    elif test -f $dir/install.sh; then
      auxdir=$dir
      break
    fi
  done

This sucks, royally. But we can get around this by creating a dummy "install-sh" file in the gnucash repository...
Comment 12 Christian Stimming 2006-10-18 15:40:41 UTC
Should be fixed when using the install.sh from SVN r15037, which creates an empty file /c/soft/repos/install-sh before calling autogen.sh. Does that work?
Comment 13 Andreas Köhler 2006-10-18 17:31:28 UTC
Damn, what a nasty bug. Well spotted, Christian, Kudos to you :)
Confirmation desired still.
Comment 14 Patrick 2006-10-22 09:40:39 UTC
Apologies for the delays. I will now go through the last four replies and give my response to each of them:

#10: Suggestion: create /c/soft/po/
Response: This is already present with just Makefile.in.in in it.

S: copy its contents to /c/soft/repos/po
R: There is already a Makefile.in.in in that folder, which is different. I moved the existing and copied in the /soft/po Makefile.in.in 
Ran install.sh from /soft again to see if this made any difference. As far as I can tell (simply from the size of the files) the old makefile.in.in was put back in the /repos/po. Output below:
_____________________________________________
Ensure ./aclocal.m4 is writable ...
Ensure ./po/POTFILES.in is writable ...
Running intltoolize --force --copy ...
You should add the contents of '/c/soft/gnome/share/aclocal/intltool.m4' to 'aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, '..'.
intltoolize: 'po/Makefile.in.in' is out of date: use '--force' to overwrite
**Error**: intltoolize failed.
____________________________________________


S: Use full command line: /c/soft/svn/bin/svn -r15007
R: 
aspire@ASPIRE-MP91MRKF /c/soft
$ /c/soft/svn/bin/svn -r15007
Subcommand argument required
Type 'svn help' for usage.


Comment #11: S: remove install.sh and custom.sh from /soft directory and run from scripts folder.
R: files moved to desktop and ran from scripts and got a much more positive result (apologies for the length, but I am not sure which bits are most relevant to you!).

############################################################
###  Subversion
############################################################
subversion already installed.  skipping.

############################################################
###  GnuCash
############################################################
Creating ./po/POTFILES.in ...
Creating ./aclocal.m4 ...



Running glib-gettextize --force --copy ...  
GnuCash note: Please ignore the output of glib-gettextize below!
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /c/soft/gnome/bin/../share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

GnuCash note: Please ignore the output of glib-gettextize above!

Ensure ./aclocal.m4 is writable ...
Ensure ./po/POTFILES.in is writable ...
Running intltoolize --force --copy ...
You should add the contents of '/c/soft/gnome/share/aclocal/intltool.m4' to 'aclocal.m4'.
Running libtoolize --force --copy ...
You should add the contents of `/c/soft/autotools/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal -I /c/soft/autotools/share/aclocal -I /c/soft/gnome/s
l -I /c/soft/guile/share/aclocal -I macros ...
Running autoheader...
Running automake --add-missing --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./missing'
lib/glib26/Makefile.am: installing `./depcomp'
lib/libgsf-1.12.3/python/Makefile.am: installing `./compile'
src/doc/design/Makefile.am:2: installing `src/doc/design/mdate-sh'
src/doc/design/Makefile.am:2: installing `src/doc/design/texinfo.tex'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Running autoconf ...

NOTE: Just run configure.  Even if something told you to run
      aclocal, automake, or anything else above, IGNORE IT.
      Everything has been run properly.  Just run configure...

You must now run ./configure --enable-compile-warnings ...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes

checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for perl... c:/soft/active-perl/bin/perl
checking for XML::Parser... ok
checking for iconv... /c/soft/gnome/bin/iconv
checking for msgfmt... /c/soft/gnome/bin/msgfmt
checking for msgmerge... /c/soft/gnome/bin/msgmerge
checking for xgettext... /c/soft/gnome/bin/xgettext
Using config source xml:merged:c:/soft/gnome/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes

checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /c/soft/gnome/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /c/soft/gnome/bin/msgfmt
checking for xgettext... /c/soft/gnome/bin/xgettext
checking for catalogs to be installed...  ca cs da de el en_GB es_NI es eu fr hu it ja nb ne nl pl pt_BR pt ro ru rw sk sv ta tr uk zh_CN zh_TW
checking for a BSD-compatible install... /bin/install -c
checking build system type... i686-pc-mingw32

checking host system type... i686-pc-mingw32
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... c:/soft/mingw/mingw32/bin/ld.exe
checking if the linker (c:/soft/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for c:/soft/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /mingw/bin/nm
checking whether ln -s works... no, using cp -p
checking how to recognise dependent libraries... file_magic file format pei*-i386(.*architecture: i386)?
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no

checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 8192
checking command to parse /mingw/bin/nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib

checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (c:/soft/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... c:/soft/mingw/mingw32/bin/ld.exe
checking if the linker (c:/soft/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (c:/soft/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT
checking if g++ PIC flag -DDLL_EXPORT works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes

checking whether the g++ linker (c:/soft/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for library containing strerror... none required
checking whether byte ordering is bigendian... no
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... no, using cp -p
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/times.h usability... no
checking sys/times.h presence... no
checking for sys/times.h... no
checking sys/wait.h usability... no
checking sys/wait.h presence... no
checking for sys/wait.h... no
checking for stpcpy... no
checking for memcpy... yes
checking for timegm... no
checking for towupper... yes
checking for setenv... no
checking for putenv... yes

checking for native Win32... yes
checking for Win32 platform in general... yes
checking for the tm_gmtoff member of struct tm... no
checking if scanf supports %lld conversions... no
checking if scanf supports %qd conversions... no
checking if scanf supports %I64d conversions... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for swig... no
configure: WARNING: cannot find 'swig' program. You should look at http://www.swig.org
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking glob.h usability... no
checking glob.h presence... no
checking for glob.h... no
checking for chown... no
checking for gethostname... no
checking for getppid... no
checking for getuid... no
checking for gettimeofday... no
checking for gmtime_r... no
checking for gethostid... no

checking for link... no
checking whether binary relocation support should be enabled... yes
checking for pthread_getspecific in -lpthread... no
checking whether binary relocation should use threads... no
checking for pkg-config... /c/soft/gnome/bin/pkg-config
checking for pkg-config... (cached) /c/soft/gnome/bin/pkg-config
checking for GLIB - version >= 2.4.0... yes (version 2.12.3)
checking for GLIB - version >= 2.6.0... yes
checking for GLIB - version >= 2.9.0... yes
checking for untested GLIB versions (glib >= 2.11.0)... yes
checking for dlfcn.h... (cached) no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking utmp.h usability... no
checking utmp.h presence... no
checking for utmp.h... no
checking for locale.h... (cached) yes
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking for unistd.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes

checking for dlsym... no
checking for dlsym in -ldl... no
checking for shl_load in -ldld... no
checking for dlsym... (cached) no
checking for dlerror... no
checking for darwin... no
checking for qt_null in -lqthreads... no
checking for qt_null in -lqt... no
checking for main in -ltermcap... no
checking for main in -lreadline... no
checking for guile-config... yes
checking whether guile-config works... yes
checking for sin in -lm... yes
checking for guile libraries... -Lc:/soft/guile/lib -lguile -lguile-ltdl -lwsock32 -L/c/soft/readline/lib -L/c/soft/regex/lib -lregex -lm
checking for guile headers... -Ic:/soft/guile/include
checking whether guile works... yes
checking for guile... /c/soft/guile/bin/guile
checking for guile - 1.6.0 <= version < 99.99.99... yes: 1.6.8
checking for guile - 1.8.0 <= version < 99.99.99... no: 1.6.8
./configure: line 27413: syntax error near unexpected token `<<<<<'
./configure: line 27413: `<<<<<<< .mine'

aspire@ASPIRE-MP91MRKF /c/soft/scripts

Ok so I think this must be progress... I assume this is not totally fixed (or is that it now)? Rather than address the next couple of points, thought I would send this for your comments....

Cheers,
Patrick
Comment 15 Andreas Köhler 2006-10-22 10:14:21 UTC
Great!

See http://lists.gnucash.org/pipermail/gnucash-devel/2006-October/018868.html for your current issue (svn revert configure.in in the repository).

I will close this now, because the initial bug has been fixed. Feel free to open new ones for new issues or discuss them on the gnucash-devel mailing list (preferred IMHO).

Good luck!
Comment 16 John Ralls 2018-06-29 21:13:41 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=362006. Please update any external references or bookmarks.