Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added README files for build procedures
- Loading branch information
1 parent
286ed88
commit ede387d
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# How to build stand-alone Linux binaries | ||
|
||
To build stand-alone Linux binaries, simply run the *build-with-pyinstaller.sh* script from the isolyzer root directory: | ||
|
||
./build-with-pyinstaller.sh | ||
|
||
This will create the binaries under *pyi-build/dist*. The build script requires PyInstaller. If PyInstaller is not installled, it can be installed using: | ||
|
||
(sudo) pip install pyinstaller | ||
|
||
(If you don't know if you have PyInstaller just run the build script, which will display a message id it cannot find PyInstaller.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# How to build the Windows binaries | ||
|
||
|
||
## Prerequisites | ||
|
||
Windows binaries are now built under Linux using [Wine](https://www.winehq.org/). Make sure you have a recent version of Wine installed. Also check if (a recent version of) the *winbind* package is installed. If not, install it using: | ||
|
||
sudo apt-get install winbind | ||
|
||
## Building the binaries | ||
|
||
In your console window, go to the root of the isolyzer directory. Then run: | ||
|
||
./buildwin.sh | ||
|
||
The script first checks for the presence of (portable) 64 and 32 versions of Python 2.7 under *Wine*, and installs them if they are not found. Note that the installers need some manual input. Most importantly, make sure you enter the following installation paths: | ||
|
||
* `C:\Python27_64` for the 64-bit version; | ||
|
||
* `C:\Python27_32` for the 32-bit version. | ||
|
||
The script also automatically installs PyInstaller if it is not there already. | ||
|
||
Once the above dependencies are installed, 64 and 32 bit binaries are built automatically. The (zipped) binaries can be found in the *dist* directory. | ||
|
||
## Troubleshooting | ||
|
||
If the output of the build script includes this error: | ||
|
||
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. | ||
|
||
Fix this by installing *winbind* (see the top of this page). | ||
|