View Single Post
Old 06-11-2009, 05:17 PM   #5
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Quote:
Originally Posted by kovidgoyal View Post
I do need the error output
Quote:
rm -rf build/* src/calibre/plugins/* && python setup.py build_ext
Setup calibre version: 0.5.14
/usr/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
running build_ext
building 'calibre.plugins.podofo' extension
creating build/temp.linux-x86_64-2.6/src
creating build/temp.linux-x86_64-2.6/src/calibre
creating build/temp.linux-x86_64-2.6/src/calibre/utils
creating build/temp.linux-x86_64-2.6/src/calibre/utils/podofo
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/podofo -I/usr/include/python2.6 -c src/calibre/utils/podofo/podofo.cpp -o build/temp.linux-x86_64-2.6/src/calibre/utils/podofo/podofo.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
src/calibre/utils/podofo/podofo.cpp:268: warning: deprecated conversion from string constant to 'char*'
g++ -pthread -shared build/temp.linux-x86_64-2.6/src/calibre/utils/podofo/podofo.o -L/usr/lib -L/usr/lib64 -lpodofo -lpython2.6 -o src/calibre/plugins/podofo.so
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: /usr/lib/libpodofo.a(PdfDataType.o): relocation R_X86_64_32S against `vtable for PoDoFo::PdfDataType' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libpodofo.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Also, I edited my previous post several times so I may have added something you missed the first time you read it e.g. I'm using slackware-current. So you might perhaps want to reread my previous post as well.

Last edited by angevin; 06-11-2009 at 05:33 PM.
angevin is offline   Reply With Quote