Dear FreeBSD and/or Calibre gurus.
as a main desktop I use PC-BSD 7.02
http://www.pcbsd.org/
It is built on FreeBSD 7.1-PRERELEASE
I have been trying to install Calibre on vanilla FreeBSD and on PC-BSD for quite a long time, and I simply can't make it run.
I have tried to install Windows .exe file under wine.
No success.
I have tried to run Linux binaries (after running brandelf -t Linux on a binary)
Not surprisingly, it does not work. Perhaps with a statically linked binaries I might have had a success here.
I have tried to follow "Install from source" steps on
http://calibre.kovidgoyal.net/download_generic
- I have installed all the components from the list of dependencies on "Install from source" page.
- I have unpacked calibre-0.4.134.tar.gz
- went into the directory by cd calibre-0.4.134
- I have run (as a root) python setup.py build
and I get the following error
# python setup.py build
Setup calibre version: 0.4.134
running build
running resources
WARNING: Could not find Qt transations
Resources are up to date
running translations
Translations up to date
running gui
Compiling form /usr/ports/0Moje/calibre/calibre-0.4.134/src/calibre/gui2/dialogs/epub.ui
Traceback (most recent call last):
File "setup.py", line 492, in <module>
'sdist' : sdist,
File "/usr/local/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.5/distutils/command/build.py", line 112, in run
self.run_command(cmd_name)
File "/usr/local/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "setup.py", line 292, in run
self.build_forms()
File "setup.py", line 326, in build_forms
compileUi(form, buf)
File "/usr/X11R6/lib/python2.5/site-packages/PIL/__init__.py", line 56, in compileUi
File "uic/Compiler/compiler.py", line 71, in compileUi
File "uic/uiparser.py", line 569, in parse
File "uic/uiparser.py", line 428, in createUserInterface
File "uic/uiparser.py", line 406, in traverseWidgetTree
File "uic/uiparser.py", line 301, in createLayout
File "uic/uiparser.py", line 406, in traverseWidgetTree
File "uic/uiparser.py", line 309, in handleItem
File "uic/uiparser.py", line 406, in traverseWidgetTree
File "uic/uiparser.py", line 153, in createWidget
File "uic/uiparser.py", line 128, in setupObject
File "uic/objcreator.py", line 62, in createQObject
PyQt4.uic.exceptions.NoSuchWidgetError: Unknown Qt widget: QScrollArea
Exit 1
Can you please help me please?
Can I build at least a non-GUI (commandline) version of Calibre?