Advertisement
Guest User

Pyqt4 install qsintilla error

a guest
Sep 25th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # installs sip,  pyqt4 and scintall globally for python2.7 and python3.5
  2. # In the SIP folder *python configure.py --help* shows where pyqt4 will be installed.
  3. ######    ##################
  4. sudo apt install chrpath
  5. cd "$HOME"
  6. installs="$HOME/scripts"
  7. mkdir -p scripts
  8. pushd "$installs"
  9. mkdir  -p "$installs/pyqt4"
  10. cd "$installs/pyqt4"
  11. #wget -nc https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.3.dev1706101519.tar.gz
  12. wget -nc https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.3/sip-4.19.3.tar.gz
  13. wget -nc http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12/PyQt4_gpl_x11-4.12.tar.gz
  14. # sourceforge link not working, manually download at osdn.net for package
  15. wget -nc https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10/QScintilla_gpl-2.10.tar.gz
  16. tar zxf sip-4.19.3.tar.gz
  17. tar zxf PyQt4_gpl_x11-4.12.tar.gz
  18. tar zxf QScintilla_gpl-2.10.tar.gz
  19. pwd
  20. #exit 1
  21. # https://stackoverflow.com/questions/1444367/commenting-out-a-set-of-lines-in-a-shell-script
  22. ########### SIP INSTALL ###################
  23. cd "$installs/pyqt4/sip-4.19.3"
  24. python2 configure.py --confirm-license
  25. make
  26. sudo make install
  27. #make clean
  28. #python3 configure.py --confirm-license
  29. #make -j4
  30. #sudo make install
  31. ########### pyqt4  ##############
  32. cd "$installs/pyqt4/PyQt4_gpl_x11-4.12"
  33. python2 configure.py --confirm-license
  34. make -j4
  35. sudo make install
  36. make clean
  37. #python3 configure.py  --confirm-license
  38. #make -j4
  39. #sudo make install
  40. #exit
  41. ###########  Qscintilla ##########
  42. cd "$installs/pyqt4/QScintilla_gpl-2.10/Qt4Qt5"
  43. #qmake DEFINES+=NO_CXX11_REGEX=1
  44. sudo qmake qscintilla.pro  
  45. sudo make
  46. sudo make install
  47. cd "$installs/pyqt4/QScintilla_gpl-2.10/Python"
  48. ## THIS GIVES ERROR.
  49. #python2 configure.py
  50. #make -j4
  51. #sudo make install
  52.  
  53. #python3 configure.py
  54. #make -j4
  55. #sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement