Finished installing xlnt

Need to test some code now
This commit is contained in:
Timothy McCallum 2017-04-30 19:13:59 +10:00 committed by GitHub
parent 5268651937
commit 3ce51089cd

View File

@ -28,7 +28,7 @@ sudo apt-get upgrade
``` ```
The following steps will set up some environment variables for this session The following steps will set up some environment variables for this session
``` ```
export CC=/usr/bin/gcc-6 and export CC=/usr/bin/gcc-6
export CXX=/usr/bin/g++-6 export CXX=/usr/bin/g++-6
``` ```
The following steps will install the appropriate crypto libraries for c++ The following steps will install the appropriate crypto libraries for c++
@ -56,18 +56,20 @@ sudo make install
``` ```
If the above make command fails please use "make clean pristine" and then remove and remake the build directory. This will clean up and prepare the environment for another attempt. A common reason for failure on virtual machines is lack of RAM (if you don't have enough RAM you may get an error like this "recipe for target 's-attrtab' failed"). Otherwise, if all goes well in about 30 to 60 minutes the compiler will be ready and we will move on to the next steps. If the above make command fails please use "make clean pristine" and then remove and remake the build directory. This will clean up and prepare the environment for another attempt. A common reason for failure on virtual machines is lack of RAM (if you don't have enough RAM you may get an error like this "recipe for target 's-attrtab' failed"). Otherwise, if all goes well in about 30 to 60 minutes the compiler will be ready and we will move on to the next steps.
#TODO
The following step will install the docbook2x library The following step will install the docbook2x library
``` ```
sudo apt-get install docbook2x sudo apt-get install docbook2x
``` ```
#TODO
The following steps will install the libexpat library The following steps will install the libexpat library
Download the zip file from the following repository https://github.com/libexpat/libexpat Download the zip file from the following repository https://github.com/libexpat/libexpat
``` ```
cd ~ cd ~
unzip Downloads/libexpat.zip unzip Downloads/libexpat.zip
cd libexpat cd libexpat-master/expat
cmake cmake .
make
sudo make install sudo make install
``` ```
The following step will map the shared library names to the location of the corresponding shared library files The following step will map the shared library names to the location of the corresponding shared library files
@ -79,11 +81,9 @@ Download the zip file from the xlnt repository
https://github.com/tfussell/xlnt/archive/master.zip https://github.com/tfussell/xlnt/archive/master.zip
``` ```
cd ~ cd ~
unzip Downloads/master.zip unzip Downloads/xlnt-master.zip
cd xlnt cd xlnt-master
mkdir build cmake .
cd build
cmake
make -j 2 make -j 2
sudo make install sudo make install
``` ```