VitorRetamal / papercrop

Automatically exported from code.google.com/p/papercrop
GNU General Public License v2.0
0 stars 0 forks source link

Ubuntu installer fails to install on version 12.10 #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run ubuntu_installer3.sh  

What is the expected output? What do you see instead?
papercrop should get installed. Instead, cmake fails. 
Error log: http://pastebin.com/Jrr30fZy 

What version of the product are you using? On what operating system?
Revision 128, on Kubuntu 12.10.

Please provide any additional information below.

Original issue reported on code.google.com by chatterb...@gmail.com on 2 Jan 2013 at 2:27

GoogleCodeExporter commented 8 years ago
I also cannot compile paperCrop on Ubuntu 12.10.
Revision 128.
Error log here: http://pastebin.com/0khgHYm0

Original comment by saverio....@gmail.com on 16 Jan 2013 at 8:09

GoogleCodeExporter commented 8 years ago
I had the same problem. I've resolved installing libpoppler previous version ( 
libpoppler19 , precise pangolin version ). 
How can you do it ?
1 Add the following line to /etc/apt/sources.list
deb-src http://archive.ubuntu.com/ubuntu precise main restricted universe 
multiverse

2 Then you'll need to update your repos:
sudo apt-get update 

3 Now we need to install some packages so we can build the desired software in 
precise:
sudo apt-get build-dep libpoppler19

4 Now we can do the following to get the package built from precise on our 
quantal machine:
sudo apt-get -b source libpoppler19

5 Install libpoppler19 and devs package built 
sudo dpkg -i libpoppler19_0.18.4-1ubuntu2_amd64.deb 
sudo dpkg -i libpoppler-dev_0.18.4-1ubuntu2_amd64.deb 
sudo dpkg -i libpoppler-private-dev_0.18.4-1ubuntu2_amd64.deb 

6. Repeat install process of papercrop
ubuntu_installer3.sh  

Original comment by jaime.so...@gmail.com on 13 Mar 2013 at 1:38

GoogleCodeExporter commented 8 years ago
In PDFWin.cpp, there are following lines:
----------------------------------------------------------------
#if POPPLER_VERSION_0_20
        _outputDev->startDoc(_pdfDoc);
#else
        _outputDev->startDoc(_pdfDoc->getXRef());
#endif
----------------------------------------------------------------
It seems that the #if line seem like not working.
Changing the above lines as follows would work (untested):
----------------------------------------------------------------
        _outputDev->startDoc(_pdfDoc);
----------------------------------------------------------------

Original comment by taesoob...@gmail.com on 14 Mar 2013 at 2:49

GoogleCodeExporter commented 8 years ago
The patch suggested in #3 works for me.
Ubuntu 12.10, 3.5.0-26-generic, 
libpoppler 0.20.4-0ubuntu1

Papercrop compiles and works.

Let me know if there is any info I can provide in order to help.

Original comment by saverio....@gmail.com on 14 Mar 2013 at 6:43

GoogleCodeExporter commented 8 years ago
Your patch also worked for me, thanks.

Original comment by jaime.so...@gmail.com on 14 Mar 2013 at 11:40

GoogleCodeExporter commented 8 years ago
I applied a modified patch to the server.

Original comment by taesoob...@gmail.com on 29 Mar 2013 at 3:10