![]() |
#1 |
Groupie
![]() ![]() ![]() Posts: 190
Karma: 220
Join Date: Aug 2007
Location: Moscow, ID
Device: iPhone 11 (Kindle app & iBooks)
|
libprs500 linux install error
Hey, can anyone help me with this install error? I'm trying to install on FreeBSD (linux-like). Something is wrong about udev? I don't have any directory /etc/udev on my system. Am I missing something that needs to be installed or running?
The error is: Code:
root@oom9:/root>easy_install-2.5 -U TTFQuery libprs500 && libprs500_postinstall Searching for TTFQuery Reading http://cheeseshop.python.org/pypi/TTFQuery/ Reading http://members.rogers.com/mcfletch/ Reading https://sourceforge.net/project/showfiles.php?group_id=84080 Reading http://cheeseshop.python.org/pypi/TTFQuery/1.0.0 Best match: TTFQuery 1.0.0 Processing TTFQuery-1.0.0-py2.5.egg TTFQuery 1.0.0 is already the active version in easy-install.pth Using /usr/local/lib/python2.5/site-packages/TTFQuery-1.0.0-py2.5.egg Processing dependencies for TTFQuery Searching for libprs500 Reading http://cheeseshop.python.org/pypi/libprs500/ Reading http://libprs500.kovidgoyal.net Reading http://cheeseshop.python.org/pypi/libprs500/0.3.106 Best match: libprs500 0.3.106 Downloading http://pypi.python.org/packages/2.5/l/libprs500/libprs500-0.3.106-py2.5.egg#md5=983b0bb1cae1c98dcdf1401239dba931 Processing libprs500-0.3.106-py2.5.egg Moving libprs500-0.3.106-py2.5.egg to /usr/local/lib/python2.5/site-packages Removing libprs500 0.3.101 from easy-install.pth file Adding libprs500 0.3.106 to easy-install.pth file Installing libprs500-beta script to /usr/local/bin Installing lrf-meta script to /usr/local/bin Installing markdown script to /usr/local/bin Installing pdf-meta script to /usr/local/bin Installing rtf-meta script to /usr/local/bin Installing web2lrf script to /usr/local/bin Installing any2lrf script to /usr/local/bin Installing pdf2lrf script to /usr/local/bin Installing web2disk script to /usr/local/bin Installing html2lrf script to /usr/local/bin Installing libprs500_postinstall script to /usr/local/bin Installing prs500 script to /usr/local/bin Installing txt2lrf script to /usr/local/bin Installing lit2lrf script to /usr/local/bin Installing rtf2lrf script to /usr/local/bin Installing libprs500 script to /usr/local/bin Installed /usr/local/lib/python2.5/site-packages/libprs500-0.3.106-py2.5.egg Processing dependencies for libprs500 Trying to setup udev rules... Traceback (most recent call last): File "/usr/local/bin//libprs500_postinstall", line 8, in <module> load_entry_point('libprs500==0.3.106', 'console_scripts', 'libprs500_postinstall')() File "build/bdist.linux-i686/egg/libprs500/linux.py", line 192, in post_install File "build/bdist.linux-i686/egg/libprs500/linux.py", line 172, in setup_udev_rules IOError: [Errno 2] No such file or directory: '/etc/udev/rules.d/95-libprs500.rules' Code:
root@oom9:/usr/local/bin>libprs500 Traceback (most recent call last): File ".//libprs500", line 8, in <module> load_entry_point('libprs500==0.3.106', 'gui_scripts', 'libprs500')() File "build/bdist.freebsd-5.5-STABLE-i386/egg/pkg_resources.py", line 236, in load_entry_point File "build/bdist.freebsd-5.5-STABLE-i386/egg/pkg_resources.py", line 2097, in load_entry_point File "build/bdist.freebsd-5.5-STABLE-i386/egg/pkg_resources.py", line 1830, in load File "build/bdist.linux-i686/egg/libprs500/gui/main.py", line 21, in <module> ImportError: No module named QtGui root@oom9:/usr/local/bin> |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can ignore the installation error. The error you get while running it is because you haven't installed PyQt
|
![]() |
![]() |
![]() |
#3 |
Groupie
![]() ![]() ![]() Posts: 190
Karma: 220
Join Date: Aug 2007
Location: Moscow, ID
Device: iPhone 11 (Kindle app & iBooks)
|
Okay, I'm working on that now. I'll let you know how it goes. Thanks.
|
![]() |
![]() |
![]() |
#4 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 532
Karma: 1062755
Join Date: Aug 2005
Location: London, UK
Device: Kobo Aura One, iPad, iPhone
|
I keep meaning to put it into a freebsd port, just haven't had time yet (I maintain a few others so it shouldn't be too hard!)
|
![]() |
![]() |
![]() |
#5 |
Groupie
![]() ![]() ![]() Posts: 190
Karma: 220
Join Date: Aug 2007
Location: Moscow, ID
Device: iPhone 11 (Kindle app & iBooks)
|
Now I get this error:
Code:
root@oom9:/root>libprs500 Traceback (most recent call last): File "/usr/local/bin//libprs500", line 8, in <module> load_entry_point('libprs500==0.3.106', 'gui_scripts', 'libprs500')() File "build/bdist.freebsd-5.5-STABLE-i386/egg/pkg_resources.py", line 236, in load_entry_point File "build/bdist.freebsd-5.5-STABLE-i386/egg/pkg_resources.py", line 2097, in load_entry_point File "build/bdist.freebsd-5.5-STABLE-i386/egg/pkg_resources.py", line 1830, in load File "build/bdist.linux-i686/egg/libprs500/gui/main.py", line 23, in <module> ImportError: No module named Qt root@oom9:/root> |
![]() |
![]() |
![]() |
#6 |
Groupie
![]() ![]() ![]() Posts: 190
Karma: 220
Join Date: Aug 2007
Location: Moscow, ID
Device: iPhone 11 (Kindle app & iBooks)
|
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,145
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error message also indicates an incomplete install of PyQt.
|
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() Posts: 190
Karma: 220
Join Date: Aug 2007
Location: Moscow, ID
Device: iPhone 11 (Kindle app & iBooks)
|
simond, would you happen to have a list of the freebsd ports I need installed to get this to run? Maybe I'm installing the wrong ones. So many have "py" and "qt" in the names. I've tried installing the more basic looking ones, but it's clearly not working. I've got:
Code:
py25-clientform-0.2.7 Client-side HTTP Form for Python py25-game-1.7.1_2 A module designed to write games in Python py25-mechanize-0.1.6.b Stateful programmatic web browsing in Python py25-numeric-24.2 The Numeric Extension to Python py25-qt4-core-4.2_1 Python bindings for the Qt4 toolkit, QtCore module py25-qt4-gui-4.2_1 Python bindings for the Qt4 toolkit, QtGui module py25-qt4-qscintilla2-20070410_1 Python bindings for QScintilla2 (PyQt4), QSci module py25-setuptools-0.6c5 Download, build, install, upgrade, and uninstall Python pac py25-sip-4.6,1 Python to C and C++ bindings generator python-2.5,2 The "meta-port" for the default version of Python interpret python24-2.4.4_1 An interpreted object-oriented programming language python25-2.5.1 An interpreted object-oriented programming language qca-tls-1.0_2 SSL/TLS plugin for Qt qmake-3.3.8_1 The build utility of the Qt project qscintilla2-20070410_1 Qt4 port of the Scintilla C++ editor class qt-copy-3.3.8_5 Multiplatform C++ application framework (+ KDE patches) qt4-corelib-4.3.1 Qt core library qt4-gui-4.3.1 Qt graphical user interface library qt4-iconengines-4.3.1 Qt SVG icon engine plugin qt4-imageformats-4.3.1 Qt imageformat plugins for GIF, JPEG, MNG and SVG qt4-moc-4.3.1 Qt meta object compiler qt4-qmake-4.3.1 The build utility of the Qt project qt4-rcc-4.3.1 Qt resource compiler qt4-svg-4.3.1 Qt SVG library qt4-uic-4.3.1 Qt user interface compiler qt4-xml-4.3.1 Qt XML library |
![]() |
![]() |
![]() |
#9 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 532
Karma: 1062755
Join Date: Aug 2005
Location: London, UK
Device: Kobo Aura One, iPad, iPhone
|
That's part of the problem, I've not had a chance to even get it working yet, I have the drawback of a 3 month old son who takes most of my non work time
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux Install Help | rmatakajr | Calibre | 3 | 08-25-2010 06:22 PM |
linux install error | alexxx | Calibre | 3 | 07-20-2010 10:31 AM |
cannot install in on Linux | ichthyosaur | Calibre | 1 | 12-31-2009 05:20 PM |
Linux install | roger64 | Calibre | 2 | 04-23-2009 03:30 AM |
Ubuntu 7.10 90% of libprs500 install... | knewbie | Calibre | 3 | 12-24-2007 04:38 PM |