[Bug 211641] graphics/py-mayavi mayavi2 runtime error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 7 14:55:00 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211641
Bug ID: 211641
Summary: graphics/py-mayavi mayavi2 runtime error
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: xiechen96 at gmail.com
CC: vladimir.chukharev at gmail.com
CC: vladimir.chukharev at gmail.com
Flags: maintainer-feedback?(vladimir.chukharev at gmail.com)
First thanks maintainer for porting this software!
There is noting wrong when building package in poudriere and installing. When I
run a example.py in terminal, it seems not work.
> mayavi2 -x sample.py
Traceback (most recent call last):
File "/usr/local/bin/mayavi2", line 9, in <module>
load_entry_point('mayavi==4.5.0', 'gui_scripts', 'mayavi2')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
2569, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
2229, in load
return self.resolve()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/site-packages/mayavi/scripts/mayavi2.py", line
494, in <module>
raise ImportError(msg)
ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
/usr/local/lib/gcc48/libgfortran.so.3 not found
________________________________________________________________________________
Could not load envisage. You might have a missing dependency.
Do you have the EnvisageCore and EnvisagePlugins installed?
If you installed Mayavi with easy_install, try 'easy_install <pkg_name>'.
'easy_install Mayavi[app]' will also work.
If you performed a source checkout and installed via 'python setup.py develop',
be sure to run the same command in the EnvisageCore and EnvisagePlugins
folders.
If these packages appear to be installed, check that your numpy and
configobj are installed and working. If you need numpy, 'easy_install numpy'
will install numpy. Similarly, 'easy_install configobj' will install
configobj.
I add this line to /etc/libmap.conf:
libgcc_s.so.1 gcc48/libgcc_s.so.1
rebuild and reinstall py27-mayavi py27-envisage py27-configobj, it is solved.
But I do not how to solve this by adapting the Makefile.
USE_GCC=yes? USES=fortran?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list