Re: [GNC-dev] running setup-mingw64.ps1

2018-04-09 Thread pjlbyrne
Hmm I tried it but it seems more broken than that:

patb@DESKTOP-REQM4CB MSYS ~
$ pacman -Syuu

patb@DESKTOP-REQM4CB MSYS ~
$ which pacman
/usr/bin/pacman

patb@DESKTOP-REQM4CB MSYS ~
$ file /usr/bin/pacman
/usr/bin/pacman: PE32+ executable (console) x86-64 (stripped to external
PDB), for MS Windows

patb@DESKTOP-REQM4CB MSYS ~
$ pacman -hl


It's weird, some things (the built-ins?) seem to work, and others do nowt.
'env' works, 'vim' does nothing.

There don't seem to be obvious dependencies missing. This looks OK:
patb@DESKTOP-REQM4CB MSYS ~
$ ldd /usr/bin/pacman
ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffca293)
KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7ffc9fea)
KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll
(0x7ffc9f50)
msys-2.0.dll => /usr/bin/msys-2.0.dll (0x18004)
bcrypt.dll => /c/Windows/SYSTEM32/bcrypt.dll (0x7ffc9e7e)

I tried re-running the powershell script, but it doesn't think it has
anything to do.

Perhaps recent Windows 10 updates have brought to quarantine the pacman
executable, or something weird like that. 

I guess I will have another play-around & try and see what's going on later.
Thanks again for the advice, David.

Cheers
Patrick





--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] running setup-mingw64.ps1

2018-04-08 Thread John Ralls


> On Apr 8, 2018, at 8:10 AM, pjlbyrne  wrote:
> 
> Hi again,
> 
> I tried this at home and did not get the above errors.
> 
> I did however get problems on install, and problems after install.
> 
> The install problems are that some package installs appear to fail eg:
> (57/97) installing texinfo
>  1 [main] pacman 4232 fork: child -1 - forked process 9808 died
> unexpectedly, retry 0, exit code 0xC139, errno 11
> 
> This happened for:
> texinfo
> libidn2
> wget
> perl-libwww
> perl-Convert-BinHex
> 
> Then I see:
> Next we'll install the HTML Help Workshop includes and libraries into our
> MinGW directory.
> /usr/bin/bash: /mingw64/bin/gendef: No such file or directory
> /usr/bin/bash: /mingw64/bin/dlltool: No such file or directory
> 
> After install, in mingw64, this does nothing:
> patb@DESKTOP-REQM4CB MINGW64 /c/gcdev64
> $ jhbuild -f src/gnucash-on-windows.git/jhbuildrc buildrc
> 
> Indeed, just typing 'jhbuild' or 'jhbuild --help' does nothing, which seems
> very odd to me.
> 
> Can someone please advise?

First, open an MSYS2 shell, for this it doesn’t matter which one. In it run
  pacman -Syuu
If it tells you to quit the shell do so by clicking the red X in the window’s 
title bar, not by exiting bash.

Next, go back to Powershell and run setup-mingw64.ps1 again. jhbuild isn’t 
going to work until that completes without errors.

jhbuild is a bit odd all the way around. The documentation is at 
https://developer.gnome.org/jhbuild/stable/ 
 and there’s some more information 
at https://wiki.gnome.org/action/show/Projects/Jhbuild 
.

“buildrc” is not a jhbuild command, you want “build”.

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] running setup-mingw64.ps1

2018-04-08 Thread pjlbyrne
Hi again,

I tried this at home and did not get the above errors.

I did however get problems on install, and problems after install.

The install problems are that some package installs appear to fail eg:
(57/97) installing texinfo
  1 [main] pacman 4232 fork: child -1 - forked process 9808 died
unexpectedly, retry 0, exit code 0xC139, errno 11

This happened for:
texinfo
libidn2
wget
perl-libwww
perl-Convert-BinHex

Then I see:
Next we'll install the HTML Help Workshop includes and libraries into our
MinGW directory.
/usr/bin/bash: /mingw64/bin/gendef: No such file or directory
/usr/bin/bash: /mingw64/bin/dlltool: No such file or directory

After install, in mingw64, this does nothing:
patb@DESKTOP-REQM4CB MINGW64 /c/gcdev64
$ jhbuild -f src/gnucash-on-windows.git/jhbuildrc buildrc

Indeed, just typing 'jhbuild' or 'jhbuild --help' does nothing, which seems
very odd to me.

Can someone please advise?
Thanks
Patrick




--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel