Closed GoogleCodeExporter closed 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
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
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
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
Your patch also worked for me, thanks.
Original comment by jaime.so...@gmail.com
on 14 Mar 2013 at 11:40
I applied a modified patch to the server.
Original comment by taesoob...@gmail.com
on 29 Mar 2013 at 3:10
Original issue reported on code.google.com by
chatterb...@gmail.com
on 2 Jan 2013 at 2:27