# Microsoft Vista Build Enviroment for GNUCash

Nathan Buchanan nbinont at gmail.com
Fri Sep 7 16:14:50 EDT 2007

Hi Stephen!

On 9/7/07, Stephen Grant Brown <s_g_brown at bemail.com.au> wrote:
>
>  Hi Nathan,
>
> I have jsut read through all the questions and the replies to these
> questions concerning compiling gnucash on Microsoft Vista.
>
> I have reinstalled msys under a new directory using admin account.
>
> I switched to user account Stephen to install build enviroment.
>
>
> In custom.sh I put
>
> GLOBAL_DIR=C:\\Compile_GNUCash\\msys\\home\\Stephen\\GNUCash
>
> and
>
>
> I changed GLOBAL_DIR because  the default dir is not available via a user
> account.
>
> I used svn client to put packaging into msys's
> /home/stephen/GNUCash/Packaging which is
> Vista's C:\\Compile_GNUCash\\msys\\home\\Stephen\\GNUCash\\Packaging
>
> install.sh =>
>
>
> Vista command prompt says
>
> sh: ... Access is denied
>

Based on what Vista File Explorer is telling you, the user "Stephen" does
not have permission to install software on your machine. You will either
have to give Stephen permission to install programs (msysDTK-1.0.1.exe, etc)
or use your admin account. install.sh does a lot of work for you to make
sure that it has all the programs you need - this is probably what is

Give one of those a try and do let us know what happens.

Nathan

PS: your problems with bashdb seem to be due to the PATH it is using to run
install.sh - but your permissions problem is the real issue, not this.

>
> I have read the info file from Cygwin for bash and it suggests
>
> to install bash debugger
>
> or
>
> to use a command in a *.sh file to give the same permissions it has to any
> child proccesses.
>
> I have not tried either yet.
>
> Yours Sincerely Stephen Grant brown
>
>
>
> ----- Original Message -----
> *From:* Nathan Buchanan <nbinont at gmail.com>
> *To:* Stephen Grant Brown <s_g_brown at bemail.com.au>
> *Cc:* GNUCash Developers <gnucash-devel at lists.gnucash.org>
> *Sent:* Friday, September 07, 2007 11:43 AM
> *Subject:* Re: Microsoft Vista Build Enviroment for GNUCash
>
> On 9/6/07, Stephen Grant Brown <s_g_brown at bemail.com.au> wrote:
> >
> > Dear List Members,
> >
> > I wish to get GNUcash running under the Microsoft Vista operating
> > system.
>
>
> nice :) I'd help out if I had vista around.
>
> It was running well under Microsoft XP on my old computer but I upgraded
> > to a new computer with Vista and i have not been able to get it working
> > since.
> >
> > The precompiled 2.2.1 executable runs very slowly under Vista.
> >
> > I have downloaded and installed msys into C:\\soft\\msys and it works.
> >
> > I have used svn to put the packaging dir into
> > C:\\soft\\msys\\home\\Stephen\\GNUCash\\Packaging
> >
> > In defaults.sh I changed the line to
> >
> > set_default GLOBAL_DIR c:\\soft\\msys\\home\\Stephen\\GNUCash
>
>
> your GLOBAL_DIR should be the directory where msys is installed, so
> c:\\soft should have worked...is there a reason why you are changing it?
>
> as I could not seem to do it via the custom.sh file.
>
>
> To use custom.sh, create a text file named custom.sh with unix line
> endings in the same directory where you have install.sh (probably
> C:\\soft\\msys\\home\\Stephen\\GNUCash\\Packaging\\win32)
>
> Put the entries you would like to change in as follows:
>
> GLOBAL_DIR=C:\\path\\to\\your\\new\\global\\dir
>
> What do I put in the custom.sh file to change the GLOBAL_DIR value?
> >
> > I have been switching between an admin shell and user shell to install
> > the build enviroment by running install.sh in the Packing directory
> > specified above. When one shell bombed out the other worked a bit more. It
> > has to do with Vista's User Access Control technology.
> >
> > I have got down to installing autoconf by this butchering method.
> >
> > In doing so executable files have been going into 3 locations namely
> >
> > /bin
> > /local/bin
> >
> > and
> >
> > /home/Stephen/GNUCash/msys/bin
>
>
> you seem to be having msys going into the able directory and to
> C:\\soft\\msys. This is due to your global_dir setting, as above - you
> probably shoudn't change global_dir. Try leaving all the directories as the
> default directories and see if that works. install.sh shouldn't be placing
> files around like that.
>
> I'm not sure if switching users is making vista give you more greif - you
> could try it all with the same user (admin or otherwise).
>
> Hope this helps,
> Nathan
>
> I have used synch toy to keep this three directorys the same.
> >
> > How do I tell install.sh to put them all in the same directory?
>
> Any further suggestions as to what to do will be greatly appreciated.
> >
> > Yours Sincerely Stephen Grant brown
> >
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >
> >
> >
>
>
> --
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Got Mole problems? Call Avogadro at 6.02 x 10^23.
>
>

--
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Got Mole problems? Call Avogadro at 6.02 x 10^23.