View Single Post
Old 11-21-2015, 05:25 PM   #83
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,659
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by philja View Post
I tried for a couple of hours to install sigil 0.9.0 on a laptop with Debian jessie 8.2 following the instructions in BuildingOnLinux.md. Installing Qt5.5.0 in /opt/ didn't present any problems and all the other listed dependencies downloaded and seemed to install ok.

The first failure was on the "sudo pip3 install lxml" where the pip.log states :
"/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
error: command 'i586-linux-gnu-gcc' failed with exit status 1"

As I didn't really understand that error message nor what I could do to fix it, I suppose the rest, albeit apparently well detailed, was bound to fail - which it did.

So, I was pleased to find this thread and in about ten minutes I had the 0.8.6 .deb package downloaded and installed. Sigil seems to run correctly and testing and familiarization will follow.

Thanks for a ready made deb package. Saves a lot of time.
Sorry you had such bad luck building from source. Especially since I wrote the BuildingOnLinux.md instructions.

Your error message looks like a missing zlib dev dependency, btw. "sudo apt-get install zlib1g-dev" might have gotten you over that hurdle (and on to the next).

If you ever want to try building the latest from scratch again, I'd suggest installing the repo version of lxml instead of using pip: sudo apt-get install python3-lxml. I'll update the BuildingOnLinux document to reflect that "apt-get install python3-lxml" is probably the way to go if your Python3.4 was installed from repos. Feel free to bring questions about building Sigil on Linux to the main Sigil forum, as well.

Last edited by DiapDealer; 11-21-2015 at 05:31 PM.
DiapDealer is offline   Reply With Quote