View Single Post
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