From owner-freebsd-ports@FreeBSD.ORG Sun Apr 6 00:35:49 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0C0F437A for ; Sun, 6 Apr 2014 00:35:49 +0000 (UTC) Received: from sdf.lonestar.org (mx.sdf.org [192.94.73.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "SDF.ORG" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E0821F65 for ; Sun, 6 Apr 2014 00:35:48 +0000 (UTC) Received: from sdf.org (IDENT:hhh@sdf.lonestar.org [192.94.73.15]) by sdf.lonestar.org (8.14.7/8.14.5) with ESMTP id s360ZfpV025316 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Sun, 6 Apr 2014 00:35:41 GMT Received: (from hhh@localhost) by sdf.org (8.14.8/8.12.8/Submit) id s360Zfej024914 for freebsd-ports@freebsd.org; Sun, 6 Apr 2014 00:35:41 GMT X-Hashcash: 1:20:140406:freebsd-ports@freebsd.org::rnL+E/rGu7QNk3Wm:000000000000000000000000000000000000HySO From: hhh@sdf.org To: Subject: Re: mnemosyne: gcc related error Date: Sun, 06 Apr 2014 02:35:36 +0200 Message-ID: <87txa79twn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 00:35:49 -0000 > Hi all, > I get the following error when running mnemosyne (games/py-mnemosyne): > % mnemosyne > An unexpected error has occurred. > Please forward the following info to the developers: > Traceback (innermost last): > File "/usr/local/bin/mnemosyne", line 155, in > debug_file=options.debug_file) > File "/usr/local/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 164, in initialise > self.register_components() > File "/usr/local/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 215, in register_components > exec("from %s import %s" % (module_name, class_name)) > File "", line 1, in > File "/usr/local/lib/python2.7/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py", line 7, in > from matplotlib import rcParams > File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 151, in > from matplotlib.rcsetup import (defaultParams, > File "/usr/local/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 20, in > from matplotlib.colors import is_color_like > File "/usr/local/lib/python2.7/site-packages/matplotlib/colors.py", line 52, in > import numpy as np > File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 153, in > from . import add_newdocs > File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in > from numpy.lib import add_newdoc > File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in > from .polynomial import * > File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in > from numpy.linalg import eigvals, lstsq, inv > File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 50, in > from .linalg import * > File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in > from numpy.linalg import lapack_lite, _umath_linalg > ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found > There is no problem with importing numpy or matplotlib in python: > % python -c 'import numpy, matplotlib.pyplot' > What could be causing this problem? > I'm running FreeBSD 10.0-RELEASE with packages updated by pkgng. > Thank you in advance for help, > Henryk I found a workaround. Instead of using the default python interpreter, I can run mnemosyne using ipython: % ipython /usr/local/bin/mnemosyne I would like to ask, if someone could install mnemosyne and the problem described above. If so, I could fill up a PR. Please add my email to the CC field in reply. Thank you in advance and best regards Henryk