User Tools

Site Tools


compilation_installation:compilation:linux:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
compilation_installation:compilation:linux:ubuntu [2015/01/12 11:45]
tbertin created
compilation_installation:compilation:linux:ubuntu [2015/07/08 07:02]
tbertin
Line 5: Line 5:
  
    sudo apt-get install libfuse-dev libwxgtk2.8-dev pkg-config    sudo apt-get install libfuse-dev libwxgtk2.8-dev pkg-config
 +  ​
 +On the new versions of Debian, the 2.9 wxWidgets is no longer available. But you can download the packages on the Debian servers manually : 
  
-==== Step 2 - Pkcs11 headers ==== +libjpeg8 : https://​packages.debian.org/​wheezy/​libjpeg8 
-You will also need PKCS#11 headersThis headers can be find on the rsasecurity websiteTo download them : +libtiff4 : https://packages.debian.org/wheezy/libtiff4 
-   mkdir Pkcs11 +wx2.8 headers : https://packages.debian.org/wheezy/wx2.8-headers 
-   wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h +wx-common : https://packages.debian.org/wheezy/wx-common 
-   wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h +libwxbase2.8 : https://packages.debian.org/​wheezy/​libwxbase2.8-0 
-   wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h+libwxbase2.8-dev : https://packages.debian.org/wheezy/libwxbase2.8-dev 
 +libwxgtk2.8 : https://​packages.debian.org/​wheezy/​libwxgtk2.8-
 +libwxgtk2.8-dev : https://packages.debian.org/​wheezy/​libwxgtk2.8-dev
  
-You need the three files. Put this folder wherever you want but keep in mind the path, you'll need it.+Get those files in this order
  
-==== Step 3 - Makefile modification ==== +==== Step - Compilation ====
-Now, you have to modify the Makefile in the GostCrypt folder.  +
-   cd GostCrypt_Linux_1.0 +
-   vi Makefile +
-On the line 265, there is written : +
-   ​export LIBS="​$(BASE_DIR)/​$$DIR/​$$PROJ.a $$LIBS";​ +
-Change it to : +
-   ​export LIBS="​$(BASE_DIR)/​$$DIR/​$$PROJ.a $$LIBS -ldl";​ +
-Save and quit the file. +
- +
-==== Step 4 - Compilation ====+
 You can now launch the compilation with the following command :  You can now launch the compilation with the following command : 
-   ​make ​PKCS11_INC=/​absolute/​path/​to/​the/​PKCS11/​folder ​-j4+   make -j4
 The executable can be found in the Main folder. The executable can be found in the Main folder.
  
compilation_installation/compilation/linux/ubuntu.txt · Last modified: 2016/01/20 19:01 (external edit)