Skip to content

Commit

Permalink
fix(bootstrap.sh): add instructions for missing unzip & adjust path
Browse files Browse the repository at this point in the history
Also correct $PATH in windows instructions to work on x86_64.

Fixes qTox#3153
  • Loading branch information
zetok committed Apr 24, 2016
1 parent 4b726dd commit a1050a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,12 @@ http://gnuwin32.sourceforge.net/packages/wget.htm. Install them. The following
steps assume that Wget is installed at `C:\Program Files\GnuWin32\`. If you
decided to choose another location, replace corresponding parts.

### UnZip
Download the UnZip installer for Windows from
http://gnuwin32.sourceforge.net/packages/unzip.htm. Install it. The following
steps assume that UnZip is installed at `C:\Program Files\GnuWin32\`. If you
decided to choose another location, replace corresponding parts.

### Setting up Path

Add MinGW/MSYS/CMake binaries to the system path to make them globally
Expand All @@ -581,7 +587,7 @@ select tab `Advanced system settings` -> button `Environment Variables`). In the
second box search for the `PATH` variable and press `Edit...`. The input box
`Variable value:` should already contain some directories. Each directory is
separated with a semicolon. Extend the input box by adding
`;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\CMake 2.8\bin;C:\Program Files\GnuWin32\bin`.
`;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\Program Files (x86)\CMake 2.8\bin;C:\Program Files\GnuWin32\bin;C:\Program Files (x86)\GnuWin32\bin`.
The very first semicolon must only be added if it is missing. CMake may be added
by installer automatically.

Expand Down
2 changes: 1 addition & 1 deletion windows/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [ ! -f "libtoxcore_build_windows_x86_shared_release.zip" ]; then
fi

if [ ! -d "include/tox" ]; then
$QTOX_DIR/tools/unzip -o libtoxcore_build_windows_x86_shared_release.zip -d ./
unzip -o libtoxcore_build_windows_x86_shared_release.zip -d ./
fi


Expand Down

0 comments on commit a1050a6

Please sign in to comment.