On Thu, Jan 16, 2014, [email protected] wrote:
> When you say specify the   bin/    directory, I suppose you mean
>       /opt/windows_32/bin
>
> because  if you cp wget.exe to cygwin's /bin you'd overwrite the
> cygwin compatible wget.exe.

Yes, that's definitely an issue. However, copying to /opt/windows_*/bin
could cause some overwriting too; actually then I wouldn't overwrite but
rely on the ones being installed, which mean I have to make sure they
are always installed. Slight annoyance though.

I'm more leaning towards having only one file with everything in it.
This means using an HTTP client library rather than wget.exe, using
libarchive directly without going through bsdtar.exe and linking
everything statically. I've opened this bug report to track the issue:
http://win-builds.org/bugs/index.php?do=details&task_id=47

There is also something I don't understand, at least on msys: running
" . win-builds-switch.sh 32" followed by "sherpa -update openssl" fails
because it can't find wget.exe in msys' /bin; it doesn't seem to check
in /opt/windows_32. I need to spend more time on that issue.

> Adrien Nader wrote:
>   ... snipped part
> > Hmm, I'm sorry if I didn't make it clear: all the fixes for installation
> > under cygwin and XP have been merged. If you download
> > http://win-builds.org/stable/win-builds-bundle-1.3.0.zip and use its
> > files, you should have nothing to do besides running
> > "msys-cygwin-install.sh".
> 
> Now installing is easy, smooth, and less error prone.  Thanks 
> Everthing appears to install successfully.
> 
> Here is an output from install on my system:   I don't think the "Fatal 
> Errors are really fatal as the tests I ran (see the bottom of this message) 
> run successfully.  The Sys_error("Invalid argument") rings a bell, but I 
> forgot what it was about.
> 
> 
>   Tail of installation process output:
>      .
>      . 
>     Installing zlib-1.2.8-1-i686-w64-mingw32.txz... DONE
> 
> --> Fatal error: exception Sys_error("Invalid argument")
>     Called from file "pervasives.ml", line 444, characters 30-33
>     Called from file "std_exit.ml", line 16, characters 8-20
> 
>     Updating fontconfig's cache (takes lot of time and memory on Windows >= 
> 7).
> --> Fatal error: exception Sys_error("Invalid argument")
>     Called from file "pervasives.ml", line 444, characters 30-33
>     Called from file "std_exit.ml", line 16, characters 8-20
> 
>     Updating pango's module cache.
> --> Fatal error: exception Sys_error("Invalid argument")
>     Called from file "pervasives.ml", line 444, characters 30-33
>     Called from file "std_exit.ml", line 16, characters 8-20
> 
>     Updating gdk's pixbuf cache..; IMPOSSIBLE on Cygwin on XP/2k3!
>     Please run 'gdk-pixbuf-query-loaders --update-cache' from a new cmd.exe.
>     Updating gtk's immodules cache.
> 
>     Win-builds has been installed for i686.
>     However no setting has been changed on the computer.
>     Remember to select a environment as described at 
> http://win-builds.org/1.3.0/msys-cygwin.html .
> 
> **  Manually ran: C:\cygwin\opt\windows_32\bin>gdk-pixbuf-query-loaders 
> --update-cache

I have absolutely no idea why you get these "invalid argument" errors.
They are clearly from yypkg.exe or sherpa.exe but these tools are not
being run when "Updating pango's module cache". Is your cygwin
up-to-date? If not it might be something with XP, your Service Pack
level, your locale; I've never gotten these on 2k3 but maybe it fixed
something form XP (they're basically the same kernel though).

> TESTING:
> 
>     PATH=/opt/windows_32/bin
>     cd    ${PATH%%:*}                 # assume 1st PATH component
>     gtk-demo
> 
> Successfull.
> 
>     fc-cache -v
> Successfull.
> 
>     pango-querymodules
> Successfull.
> 
>     gtk-query-immodules-2.0
> Successfull.
> 
>     gdk-pixbuf-query-loaders  
> Error    # Thie must be ran from a cmd.exe console:
>    cmd.exe then enter -->   /opt/windows_32/bin/gdk-pixbuf-query-loaders  
> 
> Then runs successfully.  I suspect an enironment value might cause this.

 :)

For gdk-pixbuf-query-loader, I've been unable to find the difference.
I've also suspected a difference in environment (variables) but haven't
found an obvious culprit (cygwin translates some env vars for native
windows programs).

Regards,
Adrien Nader

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to