Compiling gnucash on Microsoft Windows XP

Stephen Grant Brown sg_brown at mcmedia.com.au
Wed Apr 8 20:22:18 EDT 2009


Hi All,

Please ignore this thread.
I had misread the instructions.
Sorry about that.
Yours Sincerely Stephen Grant Brown
----- Original Message ----- 
From: "Stephen Grant Brown" <sg_brown at mcmedia.com.au>
To: "Stephen Grant Brown" <sg_brown at mcmedia.com.au>; "GNUCash Devel" 
<gnucash-devel at gnucash.org>
Sent: Thursday, April 09, 2009 9:45 AM
Subject: Re: Compiling gnucash on Microsoft Windows XP


> Hi All
> ----- Original Message ----- 
> From: "Stephen Grant Brown" <sg_brown at mcmedia.com.au>
> To: "GNUCash Devel" <gnucash-devel at gnucash.org>
> Sent: Tuesday, April 07, 2009 9:42 AM
> Subject: Compiling gnucash on Microsoft Windows XP
>
>
>> Hi All,
>>
>> The last few lines of the msys shell running install.sh from packaging is
>>
>> -----------------------------------------------------------------------------------------------------------------------------------------
>> echo 'export REGEX_LDFLAGS="-L/C/soft/regex/lib -lregex"' >> 
>> /etc/profile.d/installer.sh
>>
>> GNUCash at ELSHADAI ~/SGB_Packaging
>> --------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> In another msys shell, I did
>>
>> ----------------------------------------------------------------------------------------------------------------------------------------------------
>> GNUCash at ELSHADAI /etc
>> $ ls -la
>> total 12
>> drwxr-xr-x    2 GNUCash  Administ        0 Mar 11 21:20 .
>> drwxr-xr-x   16 GNUCash  Administ        0 Mar 25 21:23 ..
>> -rw-r--r--    1 GNUCash  Administ     1410 Mar 16  2004 config.site
>> -rw-r--r--    1 GNUCash  Administ       35 Mar 11 21:20 fstab
>> -rw-r--r--    1 GNUCash  Administ      802 Mar 16  2004 fstab.sample
>> -rw-r--r--    1 GNUCash  Administ     3000 Apr  6 14:21 profile
>> -rw-r--r--    1 GNUCash  Administ     1332 Jan 28 14:41 profile.orig
>> -rw-r--r--    1 GNUCash  Administ     1372 Jan 28 14:47 profile.sgb.txt
>> -rw-r--r--    1 GNUCash  Administ    12326 Mar 16  2004 termcap
>>
>> GNUCash at ELSHADAI /etc
>> $ mkdir profile.d
>>
>> GNUCash at ELSHADAI /etc
>> $ ls -la
>> total 12
>> drwxr-xr-x    3 GNUCash  Administ        0 Apr  7 09:27 .
>> drwxr-xr-x   16 GNUCash  Administ        0 Mar 25 21:23 ..
>> -rw-r--r--    1 GNUCash  Administ     1410 Mar 16  2004 config.site
>> -rw-r--r--    1 GNUCash  Administ       35 Mar 11 21:20 fstab
>> -rw-r--r--    1 GNUCash  Administ      802 Mar 16  2004 fstab.sample
>> -rw-r--r--    1 GNUCash  Administ     3000 Apr  6 14:21 profile
>> drwxr-xr-x    2 GNUCash  Administ        0 Apr  7 09:27 profile.d
>> -rw-r--r--    1 GNUCash  Administ     1332 Jan 28 14:41 profile.orig
>> -rw-r--r--    1 GNUCash  Administ     1372 Jan 28 14:47 profile.sgb.txt
>> -rw-r--r--    1 GNUCash  Administ    12326 Mar 16  2004 termcap
>>
>> GNUCash at ELSHADAI /etc
>> $
>> ---------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> That is, I have created the /etc/profile.d dir because it did not exist.
>>
>> Is this correct thing to do?
>>
>> If it is, can install.sh from packaging be modified to create this dir if 
>> it does not exist?
>>
> I have created the /etc/profile.d directory and rerun install.sh from 
> Packaging on a Windows XP machine.
> The follwing is the output from the msys shell
> --------------------------------------------------------------------------------------------------
> ############################################################
> ###  Finish...
> ############################################################
>
> Environment variables changed, please do the following
>
> export ACLOCAL_FLAGS="-I /C/soft/aqbanking/share/aclocal -I 
> /C/soft/gwenhywfar/share/aclocal -I /C/soft/gnutls/share/aclocal -I 
> /C/soft/gnome/share/aclocal -I /C/soft/guile/share/aclocal -I 
> /C/soft/autotools/share/aclocal"
> echo 'export ACLOCAL_FLAGS="-I /C/soft/aqbanking/share/aclocal -I 
> /C/soft/gwenhywfar/share/aclocal -I /C/soft/gnutls/share/aclocal -I 
> /C/soft/gnome/share/aclocal -I /C/soft/guile/share/aclocal -I 
> /C/soft/autotools/share/aclocal"' >> /etc/profile.d/installer.sh
> export AUTOTOOLS_CPPFLAGS="-I/C/soft/autotools/include"
> echo 'export AUTOTOOLS_CPPFLAGS="-I/C/soft/autotools/include"' >> 
> /etc/profile.d/installer.sh
> export AUTOTOOLS_LDFLAGS="-L/C/soft/autotools/lib"
> echo 'export AUTOTOOLS_LDFLAGS="-L/C/soft/autotools/lib"' >> 
> /etc/profile.d/installer.sh
> export GMP_CPPFLAGS="-I/C/soft/gmp/include"
> echo 'export GMP_CPPFLAGS="-I/C/soft/gmp/include"' >> 
> /etc/profile.d/installer.sh
> export GMP_LDFLAGS="-L/C/soft/gmp/lib"
> echo 'export GMP_LDFLAGS="-L/C/soft/gmp/lib"' >> 
> /etc/profile.d/installer.sh
> export GNOME_CPPFLAGS="-I/C/soft/gnome/include"
> echo 'export GNOME_CPPFLAGS="-I/C/soft/gnome/include"' >> 
> /etc/profile.d/installer.sh
> export GNOME_LDFLAGS="-L/C/soft/gnome/lib"
> echo 'export GNOME_LDFLAGS="-L/C/soft/gnome/lib"' >> 
> /etc/profile.d/installer.sh
> export GNUTLS_CPPFLAGS="-I/C/soft/gnutls/include"
> echo 'export GNUTLS_CPPFLAGS="-I/C/soft/gnutls/include"' >> 
> /etc/profile.d/installer.sh
> export GNUTLS_LDFLAGS="-L/C/soft/gnutls/lib"
> echo 'export GNUTLS_LDFLAGS="-L/C/soft/gnutls/lib"' >> 
> /etc/profile.d/installer.sh
> export GUILE_CPPFLAGS="-I/C/soft/guile/include"
> echo 'export GUILE_CPPFLAGS="-I/C/soft/guile/include"' >> 
> /etc/profile.d/installer.sh
> export GUILE_LDFLAGS="-L/C/soft/guile/lib"
> echo 'export GUILE_LDFLAGS="-L/C/soft/guile/lib"' >> 
> /etc/profile.d/installer.sh
> export HH_CPPFLAGS="-I/C/soft/hh/include"
> echo 'export HH_CPPFLAGS="-I/C/soft/hh/include"' >> 
> /etc/profile.d/installer.sh
> export HH_LDFLAGS="-L/C/soft/hh/lib"
> echo 'export HH_LDFLAGS="-L/C/soft/hh/lib"' >> /etc/profile.d/installer.sh
> export INTLTOOL_PERL="C:/soft/active-perl/ActivePerl/Perl/bin/perl"
> echo 'export INTLTOOL_PERL="C:/soft/active-perl/ActivePerl/Perl/bin/perl"'
> >> /etc/profile.d/installer.sh
> export LIBDBI_CPPFLAGS="-I/C/soft/libdbi/include"
> echo 'export LIBDBI_CPPFLAGS="-I/C/soft/libdbi/include"' >> 
> /etc/profile.d/installer.sh
> export LIBDBI_LDFLAGS="-L/C/soft/libdbi/lib"
> echo 'export LIBDBI_LDFLAGS="-L/C/soft/libdbi/lib"' >> 
> /etc/profile.d/installer.sh
> export KTOBLZCHECK_CPPFLAGS="-I/C/soft/gwenhywfar/include"
> echo 'export KTOBLZCHECK_CPPFLAGS="-I/C/soft/gwenhywfar/include"' >> 
> /etc/profile.d/installer.sh
> export KTOBLZCHECK_LDFLAGS="-L/C/soft/gwenhywfar/lib"
> echo 'export KTOBLZCHECK_LDFLAGS="-L/C/soft/gwenhywfar/lib"' >> 
> /etc/profile.d/installer.sh
> export 
> PATH="/C/soft/inno:/C/soft/gnucash/inst/bin:/C/soft/aqbanking/bin:/C/soft/gwenhywfar/bin:/C/soft/libofx/bin:/C/soft/opensp/bin:/C/soft/goffice/bin:/C/soft/hh:/C/soft/libgsf/bin:/C/soft/pcre/bin:/C/soft/swig:/C/soft/gnutls/bin:/C/soft/gnome/bin:/C/soft/libxslt/bin:/C/soft/svn/bin:/C/soft/guile/bin:/C/soft/gmp/bin:/C/soft/autotools/bin:/C/soft/readline/bin:/C/soft/regex/bin:/C/soft/tools/bin:$PATH"
> echo 'export 
> PATH="/C/soft/inno:/C/soft/gnucash/inst/bin:/C/soft/aqbanking/bin:/C/soft/gwenhywfar/bin:/C/soft/libofx/bin:/C/soft/opensp/bin:/C/soft/goffice/bin:/C/soft/hh:/C/soft/libgsf/bin:/C/soft/pcre/bin:/C/soft/swig:/C/soft/gnutls/bin:/C/soft/gnome/bin:/C/soft/libxslt/bin:/C/soft/svn/bin:/C/soft/guile/bin:/C/soft/gmp/bin:/C/soft/autotools/bin:/C/soft/readline/bin:/C/soft/regex/bin:/C/soft/tools/bin:$PATH"'
> >> /etc/profile.d/installer.sh
> export PCRE_CPPFLAGS="-I/C/soft/pcre/include"
> echo 'export PCRE_CPPFLAGS="-I/C/soft/pcre/include"' >> 
> /etc/profile.d/installer.sh
> export PCRE_LDFLAGS="-L/C/soft/pcre/lib"
> echo 'export PCRE_LDFLAGS="-L/C/soft/pcre/lib"' >> 
> /etc/profile.d/installer.sh
> export PKG_CONFIG="/C/soft/gnome/bin/pkg-config-msys.sh"
> echo 'export PKG_CONFIG="/C/soft/gnome/bin/pkg-config-msys.sh"' >> 
> /etc/profile.d/installer.sh
> export 
> PKG_CONFIG_PATH="/C/soft/aqbanking/lib/pkgconfig:/C/soft/gwenhywfar/lib/pkgconfig:/C/soft/libofx/lib/pkgconfig:/C/soft/goffice/lib/pkgconfig:/C/soft/libgsf/lib/pkgconfig:/C/soft/gnutls/lib/pkgconfig:/C/soft/gnome/lib/pkgconfig"
> echo 'export 
> PKG_CONFIG_PATH="/C/soft/aqbanking/lib/pkgconfig:/C/soft/gwenhywfar/lib/pkgconfig:/C/soft/libofx/lib/pkgconfig:/C/soft/goffice/lib/pkgconfig:/C/soft/libgsf/lib/pkgconfig:/C/soft/gnutls/lib/pkgconfig:/C/soft/gnome/lib/pkgconfig"'
> >> /etc/profile.d/installer.sh
> export READLINE_CPPFLAGS="-I/C/soft/readline/include"
> echo 'export READLINE_CPPFLAGS="-I/C/soft/readline/include"' >> 
> /etc/profile.d/installer.sh
> export READLINE_LDFLAGS="-L/C/soft/readline/lib"
> echo 'export READLINE_LDFLAGS="-L/C/soft/readline/lib"' >> 
> /etc/profile.d/installer.sh
> export REGEX_CPPFLAGS="-I/C/soft/regex/include"
> echo 'export REGEX_CPPFLAGS="-I/C/soft/regex/include"' >> 
> /etc/profile.d/installer.sh
> export REGEX_LDFLAGS="-L/C/soft/regex/lib -lregex"
> echo 'export REGEX_LDFLAGS="-L/C/soft/regex/lib -lregex"' >> 
> /etc/profile.d/inst
> aller.sh
>
> GNUCash at ELSHADAI ~/Packaging
> $
> ------------------------------------------------------------------------------------------------
> Other this, in another msys shell I did
> ---------------------------------------------------------------------------------------------------
> GNUCash at ELSHADAI /etc/profile.d
> $ ls
> Add_Bin_Paths.sh
>
> GNUCash at ELSHADAI /etc/profile.d
> $ touch installer.sh
>
> GNUCash at ELSHADAI /etc/profile.d
> $ ls
> Add_Bin_Paths.sh  installer.sh
>
> GNUCash at ELSHADAI /etc/profile.d
> $ ls -l
> total 1
> -rw-r--r--    1 GNUCash  Administ     1557 Apr  7 15:09 Add_Bin_Paths.sh
> -rw-r--r--    1 GNUCash  Administ        0 Apr  9 08:52 installer.sh
>
> GNUCash at ELSHADAI /etc/profile.d
> $ cd ~/Packaging
>
> GNUCash at ELSHADAI ~/Packaging
> $
> ---------------------------------------------------------------------------------------------
> Is this correct?
> Yours Sincerely Stephen Grant Brown
> 



More information about the gnucash-devel mailing list