Add steps to create Ubuntu 14.04 specific version before removeing libstdc++.so.6 file

Curtis Gedak 2017-11-08 10:59:49 -07:00
parent 67dd1734a0
commit 179732044f

@ -12,7 +12,7 @@ Before embarking on this procedure consider creating a clean 64-bit Virtual Mach
Users with 32-bit Linux will need to run Manuskript from source code. See [Run Manuskript from Source Code on Linux](https://github.com/olivierkes/manuskript/wiki/Run-Manuskript-from-Source-Code-on-Linux).
_Note: I chose to create a Debian 8 Jessie 64-bit VM in order to support manuskript on a large number of currently supported GNU/Linux distros. At time of writing, Debian Jessie was the current oldStable release._
_Note: I chose to create a Debian 8 Jessie 64-bit VM in order to support manuskript on a large number of currently supported GNU/Linux distros. At time of writing, Debian Jessie was the current oldStable release. More information on why Debian 8 was chosen can be found in the following [comment](https://github.com/olivierkes/manuskript/issues/190#issuecomment-342007225)._
# INSTALLATION
@ -54,17 +54,30 @@ Create a zip file package that can be installed and run on x86-64 computers.
This should create a self-contained directory called `dist` under the current working directory.
2. Remove `dist/manuskript/libdrm.so.2` file to avoid import errors on various graphics cards.
rm dist/manuskript/libdrm.so.2
For examples of _ImportError_ see [Issue 115](https://github.com/olivierkes/manuskript/issues/115), and [Issue 179](https://github.com/olivierkes/manuskript/issues/179).
_Note that I tried removing `manuskript/libstdc++.so.6` but then the package failed to run on Xubuntu 14.04 LTS. Instead it complained with an "ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/user/manuskript/libQt5Core.so.5)"_
3. Create a zip file using the manuskript files under the `dist` directory.
2. Change into the dist directory.
cd dist
3. Remove `manuskript/libdrm.so.2` file to avoid import errors on various graphics cards.
rm manuskript/libdrm.so.2
For examples of _ImportError_ see [Issue 82](https://github.com/olivierkes/manuskript/issues/82), [Issue 115](https://github.com/olivierkes/manuskript/issues/115), and [Issue 179](https://github.com/olivierkes/manuskript/issues/179).
4. Create a zip file for specifically for Ubuntu 14.04 using the manuskript files under the `dist` directory.
zip -r manuskript-#.#.#{-#}-ubuntu1404-linux64.zip ./manuskript
_Note that I tried removing `manuskript/libstdc++.so.6` but then the package failed to run on Xubuntu 14.04 LTS. Instead it complained with an "`ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'CXXABI_1.3.8' not found (required by /home/user/manuskript/libQt5Core.so.5)`". Hence we build this Ubuntu 14.04 specific package with `manuskript/libstdc++.so.6` included._
5. Remove `/manuskript/libstdc++.so.6` file to avoid problems running on other distros like Fedora 25.
rm /manuskript/libdrm.so.2
For mention of this issue see *Appendix A: Linux Distro Test Results* near bottom of [SourceForge Manuskript 0.5.0 release](https://sourceforge.net/projects/manuskript/files/manuskript/manuskript-0.5.0/).
6. Create a zip file using the manuskript files under the `dist` directory.
zip -r manuskript-#.#.#{-#}-linux64.zip ./manuskript
Note that the `-#` within the curly braces is optional. It is used to indicate updated packages of the same manuskript `#-#-#` version. The curly braces are not included in the file name.