GNS3 2.0.3 via PIP on FreeBSD

First find and remove python 27 installed pkgs:
pkg info | grep py
py27-configobj-5.0.6_1 Simple but powerful config file reader and writer
py27-dbus-1.2.0_1 Python2 bindings for the D-BUS messaging system
py27-dnspython-1.15.0 DNS toolkit for Python
py27-iso8601-0.1.11 Simple module to parse ISO 8601 dates
py27-libxml2-2.9.4 Python interface for XML parser library for GNOME
py27-qt5-dbussupport-5.7.1 Qt event loop support for dbus-python
py27-qt5-designerplugin-5.7.1_1 Python bindings for the Qt5 toolkit, QtDesigner plugin
py27-qt5-doc-5.7.1 Python bindings for the Qt5 toolkit, documentation
py27-setuptools-36.0.1 Python packages installer
py27-six-1.10.0 Python 2 and 3 compatibility utilities
Add this line to /etc/make.conf
DEFAULT_VERSIONS+= python=3.4
Procceed to install via the ports tree the following:
Install /usr/ports/devel/py-sip py-qt5-core & py-qt5  with the following commands:
ln -s /usr/local/bin/sip-3.4 /usr/local/bin/sip
make PYTHON_VERSION=python3.4 install
I tried using 3.6 and 3.5 but only 3.4 will install!
Errors like this happen on all but 3.4:
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/port_v3/__pycache__/string_io.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/__pycache__/properties.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/__pycache__/pyuic.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/__pycache__/uiparser.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qaxcontainer.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qscintilla.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qtcharts.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qtprintsupport.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qtquickwidgets.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qtwebenginewidgets.opt-1.cpython-35.pyc:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/py-qt5-core/work/stage/usr/local/lib/python3.5/site-packages/PyQt5/uic/widget-plugins/__pycache__/qtwebkit.opt-1.cpython-35.pyc:No such file or directory
 
Then install gns3 via:
pip-3.4 install gns3-gui gns3-server
That’s all!
Dynamips keep crashing giving a “bus error” “core dumped” and I have no idea why. The port has been discontinued so I am forced to install and run the server on a VM. 
That’s better than running the whole thing in a VM as I can run VirtualBox images and QEMU images locally.
Hopefully I can get the whole thing running natively.
 
 

Leave a comment

Your email address will not be published. Required fields are marked *