On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote:> > > On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > > > > Attempting to install latest Calibre on Centos-7, getting: > > > > typed in "calibre ssl install error? to google > > first hit: > > http://stackoverflow.com/questions/26615914/calibre-fails-to-install <http://stackoverflow.com/questions/26615914/calibre-fails-to-install> > > not sure if it helps (the no check cert option??)Nope. makes no difference. -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "And he will be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace. Of the increase of his government there will be no end. He will reign on David's throne and over his kingdom, establishing and upholding it with justice and righteousness from that time on and forever." ------------------------------- Isaiah 9:7 (niv) ------------------------------
> On Dec 22, 2015, at 9:13 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > > On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote: >> >>> On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: >>> >>> Attempting to install latest Calibre on Centos-7, getting: >>> >> >> typed in "calibre ssl install error? to google >> >> first hit: >> >> http://stackoverflow.com/questions/26615914/calibre-fails-to-install <http://stackoverflow.com/questions/26615914/calibre-fails-to-install> >> >> not sure if it helps (the no check cert option??) > > Nope. makes no difference.I tried making sure all the packages were installed on the bottom of the page: http://calibre-ebook.com/download_linux <http://calibre-ebook.com/download_linux> but then qmake wasn?t available, so I found I needed qt3 installed. Installed that and tried installing again: python setup.py install Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "/home/xulu/Downloads/calibre/calibre-2.47.0/setup/commands.py", line 28, in <module> from setup.translations import POT, GetTranslations, Translations, ISO639, ISO3166 File "/home/xulu/Downloads/calibre/calibre-2.47.0/setup/translations.py", line 14, in <module> from setup.parallel_build import parallel_check_output File "/home/xulu/Downloads/calibre/calibre-2.47.0/setup/parallel_build.py", line 14, in <module> from setup.build_environment import cpu_count File "/home/xulu/Downloads/calibre/calibre-2.47.0/setup/build_environment.py", line 98, in <module> from PyQt5.QtCore import PYQT_CONFIGURATION ImportError: No module named PyQt5.QtCore Hmm. So I tried: sudo pip install python-qt5 Collecting python-qt5 Using cached python-qt5-0.1.10.zip No files/directories in /tmp/pip-build-5OToGt/python-qt5/pip-egg-info (from PKG-INFO) and get the error above. So I?m stuck there. But I don?t see a /tmp/pip-build?. either?? -wes
> On Dec 22, 2015, at 9:13 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > > On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote: >> >>> On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: >>> >>> Attempting to install latest Calibre on Centos-7, getting: >>> >> >> typed in "calibre ssl install error? to google >> >> first hit: >> >> http://stackoverflow.com/questions/26615914/calibre-fails-to-install <http://stackoverflow.com/questions/26615914/calibre-fails-to-install> >> >> not sure if it helps (the no check cert option??) > > Nope. makes no difference.I finally got it compiled and when I run it in virtualbox 5.0.12, I get this: Could not initialize GLX Maybe it would work on a real box?? -wes
On 12/23/2015 11:10 AM, Wes James wrote:> I finally got it compiled and when I run it in virtualbox 5.0.12, I get this: > > Could not initialize GLX > > Maybe it would work on a real box??VBox has virtual GLX support, it has to be enabled and configured, and of course, the guest would need GL installed, etc. -- john r pierce, recycling bits in santa cruz
> On Dec 22, 2015, at 9:13 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > > On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote: >> >>> On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: >>> >>> Attempting to install latest Calibre on Centos-7, getting: >>> >> >> typed in "calibre ssl install error? to google >> >> first hit: >> >> http://stackoverflow.com/questions/26615914/calibre-fails-to-install <http://stackoverflow.com/questions/26615914/calibre-fails-to-install> >> >> not sure if it helps (the no check cert option??) > > Nope. makes no difference.I just went through the build it yourself process. Give this a try: open terminal cd Downloads download qt-unified-linux-x64-2.0.2-2-online.run from http://www.qt.io/download-open-source/ chmod +x qt-unified-linux-x64-2.0.2-2-online.run sudo ./qt-unified-linux-x64-2.0.2-2-online.run after install qt above, edit your .bashrc file and add: export PATH=/opt/Qt/5.5/gcc_64/bin:$PATH then run . ~/.bashrc sudo yum install python-devel -y wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.17/sip-4.17.tar.gz tar -zxf sip-4.17.tar.gz cd sip-4.17 python configure.py make sudo make install cd .. sudo yum install python-pip -y sudo pip install mechanize sudo yum install ImageMagick-devel -y sudo yum install libxslt-devel libxml2-devel -y wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm sudo rpm -Uvh nux-dextop-release-0-5.el7.nux.noarch.rpm sudo yum install python-cssutils -y sudo yum install podofo -y sudo yum install libwmf -y sudo yum install libmtp-devel -y sudo yum install python-netifaces -y sudo yum install python-psutil -y sudo yum install python-apsw -y sudo yum install python-dbus -y sudo yum install python-pygments -y sudo yum install optipng -y wget http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz tar -zxf PyQt-gpl-5.5.1.tar.gz cd PyQt-gpl-5.5.1 python configure.py --disable QtPositioning make sudo make install cd .. sudo yum install python-imaging -y sudo yum install sqlite-devel -y sudo yum install chmlib-devel -y sudo yum install podofo-devel -y sudo yum install libusbx-devel -y sudo yum install qt5-qtbase-static -y sudo yum install libudev-devel -y sudo yum install openssl-devel -y sudo yum install libicu-devel -y sudo yum install libXrender-devel -y curl -L http://code.calibre-ebook.com/dist/src | tar xvJ cd calibre-2.47.0 sudo python setup.py install then type in the program name at the terminal prompt and press enter: calibre ?? -wes
On Wed, Dec 23, 2015 at 03:34:56PM -0700, Wes James wrote:> > > On Dec 22, 2015, at 9:13 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > > > > On Tue, Dec 22, 2015 at 09:03:28PM -0700, Wes James wrote: > >> > >>> On Dec 22, 2015, at 8:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote: > >>> > >>> Attempting to install latest Calibre on Centos-7, getting: > >>> > >> > >> typed in "calibre ssl install error? to google > >> > >> first hit: > >> > >> http://stackoverflow.com/questions/26615914/calibre-fails-to-install <http://stackoverflow.com/questions/26615914/calibre-fails-to-install> > >> > >> not sure if it helps (the no check cert option??) > > > > Nope. makes no difference. > > > I just went through the build it yourself process. Give this a try:Wes, thanks for following up. But I wonder if Calibre is worth that much work? The specific problem I had can be worked around just by following the instructions on the Calibre downloadpge for "manual install". I did that and it appears to work properly.> > open terminal > > cd Downloads > > download qt-unified-linux-x64-2.0.2-2-online.run from http://www.qt.io/download-open-source/ > chmod +x qt-unified-linux-x64-2.0.2-2-online.run > sudo ./qt-unified-linux-x64-2.0.2-2-online.run > > after install qt above, edit your .bashrc file and add: > > export PATH=/opt/Qt/5.5/gcc_64/bin:$PATH > > then run > > . ~/.bashrc > > sudo yum install python-devel -y > > wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.17/sip-4.17.tar.gz > tar -zxf sip-4.17.tar.gz > cd sip-4.17 > python configure.py > make > sudo make install > > cd .. > > sudo yum install python-pip -y > sudo pip install mechanize > sudo yum install ImageMagick-devel -y > sudo yum install libxslt-devel libxml2-devel -y > > wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm > sudo rpm -Uvh nux-dextop-release-0-5.el7.nux.noarch.rpm > sudo yum install python-cssutils -y > > sudo yum install podofo -y > sudo yum install libwmf -y > sudo yum install libmtp-devel -y > sudo yum install python-netifaces -y > sudo yum install python-psutil -y > sudo yum install python-apsw -y > sudo yum install python-dbus -y > sudo yum install python-pygments -y > sudo yum install optipng -y > > > wget http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz > tar -zxf PyQt-gpl-5.5.1.tar.gz > cd PyQt-gpl-5.5.1 > python configure.py --disable QtPositioning > make > sudo make install > > cd .. > > sudo yum install python-imaging -y > sudo yum install sqlite-devel -y > sudo yum install chmlib-devel -y > sudo yum install podofo-devel -y > sudo yum install libusbx-devel -y > sudo yum install qt5-qtbase-static -y > sudo yum install libudev-devel -y > sudo yum install openssl-devel -y > sudo yum install libicu-devel -y > sudo yum install libXrender-devel -y > > > curl -L http://code.calibre-ebook.com/dist/src | tar xvJ > cd calibre-2.47.0 > > sudo python setup.py install > > then type in the program name at the terminal prompt and press enter: > > calibre-- ------------------------------------------------------------------------------- Under no circumstances will I ever purchase anything offered to me as the result of an unsolicited e-mail message. Nor will I forward chain letters, petitions, mass mailings, or virus warnings to large numbers of others. This is my contribution to the survival of the online community. --Roger Ebert, December, 1996 ----------------------------- The Boulder Pledge -----------------------------