GithubHelp home page GithubHelp logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
I also cannot compile paperCrop on Ubuntu 12.10.
Revision 128.
Error log here: http://pastebin.com/0khgHYm0

Original comment by [email protected] on 16 Jan 2013 at 8:09

from papercrop.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
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 [email protected] on 13 Mar 2013 at 1:38

from papercrop.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
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 [email protected] on 14 Mar 2013 at 2:49

  • Changed state: Accepted

from papercrop.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
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 [email protected] on 14 Mar 2013 at 6:43

from papercrop.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Your patch also worked for me, thanks.

Original comment by [email protected] on 14 Mar 2013 at 11:40

from papercrop.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
I applied a modified patch to the server.

Original comment by [email protected] on 29 Mar 2013 at 3:10

  • Changed state: Fixed

from papercrop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.