Calibre라는 프로그램을 설치하려는데요,
리눅스 초보입니다. 자우루스에 설치한 데비안이고요, 아래 사이트에서 받아서 설치했습니다:
그리고 Calibre라는 프로그램을 설치하려고 받았습니다.
http://calibre-ebook.com/download_linux
사이트에 나온 대로,
sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
이렇게 해줬더니 설치가 되는 듯하다가 막상 실행이 안 됩니다.
./calibre: line 11: usr/calibre/calibre/loader: cannot execute binary file
이런 에러 메시지가 나옵니다. 그래서 소스 설치를 시도했습니다.
`python setup.py install` 했더니 "No module named PyQt4" 에러가 나네요. 검색해서 받았습니다.
http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-4.7.3.tar.gz
설치하려니 sip이라는 게 또 있어야 한다네요.
http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.10.2.tar.gz
설치했습니다. `python config.py`
에러 메시지는 없었습니다.
yonggun:/home/sip-4.10.2# python configure.py
This is SIP 4.10.2 for Python 2.5.2 on linux2.
The SIP code generator will be installed in /usr/bin.
The SIP module will be installed in /usr/lib/python2.5/site-packages.
The SIP header file will be installed in /usr/include/python2.5.
The default directory to install .sip files in is /usr/share/sip.
The platform/compiler configuration is linux-g++.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
yonggun:/home/sip-4.10.2#
이제 PyQt4를 설치했습니다.
yonggun:/home/PyQt-x11-gpl-4.7.3# python configure.py
Traceback (most recent call last):
File "configure.py", line 37, in
import sipconfig
ImportError: No module named sipconfig
yonggun:/home/PyQt-x11-gpl-4.7.3# modprobe sipconfig
FATAL: Module sipconfig not found.
yonggun:/home/PyQt-x11-gpl-4.7.3#
"No module named sipconfig" 에러 납니다.
SIP이라는 게 설치가 제대로 안 되었다는 뜻인가 봅니다.
SIP 설치할 때 이런 메시지가 나왔는데,
The SIP module will be installed in /usr/lib/python2.5/site-packages.
/usr/lib/python2.5/site-packages 요기에 가보니 아무것도 설치가 안 되어 있습니다.
뭐가 잘못되었을까요? 리눅스로 뭘 설치하려니 어렵네요. ㅠ.ㅠ
Mobipocket 사전을 보려는 목적입니다. (DRM 없앴음)
FBReader로는 안 되고, Okular라는 프로그램은 KDE4가 필요하다네요.
가볍게 돌아가는 다른 프로그램 혹시 아세요?
댓글 달기