Thanks Kovid.
Installing the development pkg solved the ImageMagick issue, but now I get another error:
Quote:
####### Building extension pdfreflow #######
g++ -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread -I/usr/include/python2.6 -DPNG_SKIP_SETJMP_CHECK -I/usr/include -I/usr/include/ImageMagick -I/usr/include/poppler -c /home/###/calibre/src/calibre/ebooks/pdf/main.cpp -o /home/###/calibre/build/objects/pdfreflow/main.o
/home/###/calibre/src/calibre/ebooks/pdf/main.cpp:4:20: error: Python.h: No such file or directory
/home/###/calibre/src/calibre/ebooks/pdf/main.cpp:16: error: expected initializer before ‘*’ token
/home/###/calibre/src/calibre/ebooks/pdf/main.cpp:163: error: expected ‘}’ at end of input
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 "/home/###/calibre/setup/__init__.py", line 158, in run_all
self.run_cmd(self, opts)
File "/home/###/calibre/setup/__init__.py", line 151, in run_cmd
self.run_cmd(scmd, opts)
File "/home/###/calibre/setup/__init__.py", line 154, in run_cmd
cmd.run(opts)
File "/home/###/calibre/setup/extensions.py", line 240, in run
self.build(ext, dest)
File "/home/###/calibre/setup/extensions.py", line 281, in build
subprocess.check_call(cmd)
File "/usr/lib/python2.6/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['g++', '-O3', '-Wall', '-DNDEBUG', '-fno-strict-aliasing', '-pipe', '-fPIC', '-pthread', '-I/usr/include/python2.6', '-DPNG_SKIP_SETJMP_CHECK', '-I/usr/include', '-I/usr/include/ImageMagick', '-I/usr/include/poppler', '-c', '/home/###/calibre/src/calibre/ebooks/pdf/main.cpp', '-o', '/home/###/calibre/build/objects/pdfreflow/main.o']' returned non-zero exit status 1
|