(Free) Software Building and Packaging For Windows
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
download_and_installation_from_windows [2015/02/22 11:11] adrien_clone created |
download_and_installation_from_windows [2015/03/01 15:05] (current) adrien |
||
---|---|---|---|
Line 13: | Line 13: | ||
</WRAP> | </WRAP> | ||
- | <WRAP important> | + | <WRAP info> |
Installation doesn't alter system settings; in particular it doesn't change environment variables like PATH, PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR. | Installation doesn't alter system settings; in particular it doesn't change environment variables like PATH, PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR. | ||
Line 19: | Line 19: | ||
</WRAP> | </WRAP> | ||
- | <WRAP important> | + | <WRAP info> |
- | The 64 bits toolchain requires a 64 bits host. | + | Running the 64 bits toolchain requires a 64 bits host. |
</WRAP> | </WRAP> | ||
Line 27: | Line 27: | ||
</WRAP> | </WRAP> | ||
+ | ===== Proxies ===== | ||
+ | The yypkg package manager does not currently handle proxies. If the use of proxies is required for your use of the Internet, you need to work-around the issue until the next release (see [[bugs>83|issue #83]] in the bug tracker for details). | ||
+ | |||
+ | The work-around involves downloading the files through a proxy-aware application and pointing yypkg to them (the tutorial below uses ''wget'' but any tool able to recursively download from HTTP through proxies will work). | ||
+ | |||
+ | First set the ''http_proxy'' environment variable. For instance for ''cmd.exe'': | ||
+ | <code> | ||
+ | set http_proxy=192.168.1.1:3142 | ||
+ | </code> | ||
+ | |||
+ | Run wget to mirror the files. For Windows, you can [[http://win-builds.org/wget-win-builds-for-proxies.tar.xz|download a portable installation of wget]]. The following command will create a directory named ''1.5.0'' suitable for both 32 and 64 bits. | ||
+ | <code> | ||
+ | wget -r --no-parent --no-host-directories http://win-builds.org/1.5.0/packages/ | ||
+ | </code> | ||
+ | |||
+ | Finally, [[http://win-builds.org/1.5.0/win-builds-1.5.0.exe|download the installer]] and save it as ''win-builds.exe'' (or rename it afterwards); run it by double-clicking on it. When prompted for the mirror, provide the path to the ''1.5.0'' directory that was created by the mirroring process: | ||
+ | <code> | ||
+ | C:\path\to\the\newly\created\directory\1.5.0 | ||
+ | </code> | ||
+ | |||
+ | You should see a window similar to the following one. Note the highlighted field which prompts for a mirror. | ||
+ | |||
+ | {{ :install_mirror_path.png?nolink |}} | ||
+ | |||
+ | When updating packages, simply re-run the wget command and then double-click on ''bin/yypkg.exe''. |