Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2009, 04:13 PM   #1
omfosm
Junior Member
omfosm began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2009
Device: kindle
Calibre 0.6.16 install error - popple

Hello,

Please help, install issue on linux FC11, poppler-0.10.7:


*
* Running build
*


####### Building extension pdfreflow #######
g++ -O3 -Wall -DNDEBUG -fPIC -fno-strict-aliasing -pipe -pthread -I/usr/include/python2.6 -DPNG_SKIP_SETJMP_CHECK -I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c /root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp -o /root/pkgs/calibre/build/objects/pdfreflow/reflow.o
In file included from /usr/include/poppler/Outline.h:31,
from /root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp:7:
/usr/include/poppler/Object.h: In member function ‘GBool Object::getBool()’:
/usr/include/poppler/Object.h:189: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘int Object::getInt()’:
/usr/include/poppler/Object.h:190: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘double Object::getReal()’:
/usr/include/poppler/Object.h:191: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘double Object::getNum()’:
/usr/include/poppler/Object.h:192: warning: deprecated conversion from string constant to ‘char*’
In file included from /usr/include/poppler/Outline.h:31,
from /root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp:7:
/usr/include/poppler/Object.h: In member function ‘GooString* Object::getString()’:
/usr/include/poppler/Object.h:193: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘char* Object::getName()’:
/usr/include/poppler/Object.h:194: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Array* Object::getArray()’:
/usr/include/poppler/Object.h:195: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Dict* Object::getDict()’:
/usr/include/poppler/Object.h:196: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Stream* Object::getStream()’:
/usr/include/poppler/Object.h:197: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Ref Object::getRef()’:
/usr/include/poppler/Object.h:198: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘int Object::getRefNum()’:
/usr/include/poppler/Object.h:199: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘int Object::getRefGen()’:
/usr/include/poppler/Object.h:200: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘char* Object::getCmd()’:
/usr/include/poppler/Object.h:201: warning: deprecated conversion from string constant to ‘char*’
In file included from /usr/include/poppler/Outline.h:31,
from /root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp:7:
/usr/include/poppler/Object.h: In member function ‘int Object::arrayGetLength()’:
/usr/include/poppler/Object.h:267: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘void Object::arrayAdd(Object*)’:
/usr/include/poppler/Object.h:270: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Object* Object::arrayGet(int, Object*)’:
/usr/include/poppler/Object.h:273: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Object* Object::arrayGetNF(int, Object*)’:
/usr/include/poppler/Object.h:276: warning: deprecated conversion from string constant to ‘char*’
In file included from /usr/include/poppler/Outline.h:31,
from /root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp:7:
/usr/include/poppler/Object.h: In member function ‘int Object::dictGetLength()’:
/usr/include/poppler/Object.h:285: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘void Object::dictAdd(char*, Object*)’:
/usr/include/poppler/Object.h:288: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘void Object::dictSet(char*, Object*)’:
/usr/include/poppler/Object.h:291: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘GBool Object::dictIs(char*)’:
/usr/include/poppler/Object.h:294: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Object* Object::dictLookup(char*, Object*)’:
/usr/include/poppler/Object.h:300: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Object* Object::dictLookupNF(char*, Object*)’:
/usr/include/poppler/Object.h:303: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘char* Object::dictGetKey(int)’:
/usr/include/poppler/Object.h:306: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Object* Object::dictGetVal(int, Object*)’:
/usr/include/poppler/Object.h:309: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Object* Object::dictGetValNF(int, Object*)’:
/usr/include/poppler/Object.h:312: warning: deprecated conversion from string constant to ‘char*’
In file included from /usr/include/poppler/Outline.h:31,
from /root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp:7:
/usr/include/poppler/Object.h: In member function ‘GBool Object::streamIs(char*)’:
/usr/include/poppler/Object.h:321: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘void Object::streamReset()’:
/usr/include/poppler/Object.h:327: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘void Object::streamClose()’:
/usr/include/poppler/Object.h:330: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘int Object::streamGetChar()’:
/usr/include/poppler/Object.h:333: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘int Object::streamLookChar()’:
/usr/include/poppler/Object.h:336: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘char* Object::streamGetLine(char*, int)’:
/usr/include/poppler/Object.h:339: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Guint Object::streamGetPos()’:
/usr/include/poppler/Object.h:342: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘void Object::streamSetPos(Guint, int)’:
/usr/include/poppler/Object.h:345: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/Object.h: In member function ‘Dict* Object::streamGetDict()’:
/usr/include/poppler/Object.h:348: warning: deprecated conversion from string constant to ‘char*’
/root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp: In member function ‘virtual void calibre_reflow::XMLOutputDev::drawImageMask(GfxSta te*, Object*, Stream*, int, int, GBool, GBool, GBool)’:
/root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp:671: error: no matching function for call to ‘calibre_reflow::XMLOutputDev::drawImageMask(GfxSt ate*&, Object*&, Stream*&, int&, int&, GBool&, GBool&, GBool&)’
/usr/include/poppler/OutputDev.h:210: note: candidates are: virtual void OutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, GBool, GBool)
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/root/pkgs/calibre/setup/__init__.py", line 158, in run_all
self.run_cmd(self, opts)
File "/root/pkgs/calibre/setup/__init__.py", line 151, in run_cmd
self.run_cmd(scmd, opts)
File "/root/pkgs/calibre/setup/__init__.py", line 154, in run_cmd
cmd.run(opts)
File "/root/pkgs/calibre/setup/extensions.py", line 231, in run
self.build(ext, dest)
File "/root/pkgs/calibre/setup/extensions.py", line 268, in build
subprocess.check_call(cmd)
File "/usr/lib64/python2.6/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['g++', '-O3', '-Wall', '-DNDEBUG', '-fPIC', '-fno-strict-aliasing', '-pipe', '-pthread', '-I/usr/include/python2.6', '-DPNG_SKIP_SETJMP_CHECK', '-I/usr/include', '-I/usr/include/ImageMagick', '-I/usr/include/poppler', '-c', '/root/pkgs/calibre/src/calibre/ebooks/pdf/reflow.cpp', '-o', '/root/pkgs/calibre/build/objects/pdfreflow/reflow.o']' returned non-zero exit status 1
omfosm is offline   Reply With Quote
Old 10-03-2009, 04:29 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,124
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need poppler 0.12 and it needs to be configured with --enable-xpdf-headers
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't open after install -- ERROR: Bad database location htbyron Calibre 3 06-17-2010 10:43 AM
Error on new install 0.6.48 sjohnson717 Calibre 1 04-18-2010 12:55 PM
calibre-0.6.40 (error on install) Guns4Hire Calibre 0 02-13-2010 09:27 PM
Install 6.18 error HawaiianLungs Calibre 20 10-18-2009 01:51 PM
4.8.3 Install error D1ffuse Calibre 1 08-31-2008 05:36 AM


All times are GMT -4. The time now is 07:45 AM.


MobileRead.com is a privately owned, operated and funded community.