Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Aug 2016 14:54:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211641] graphics/py-mayavi mayavi2 runtime error
Message-ID:  <bug-211641-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211641

            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@FreeBSD.org
          Reporter: xiechen96@gmail.com
                CC: vladimir.chukharev@gmail.com
                CC: vladimir.chukharev@gmail.com
             Flags: maintainer-feedback?(vladimir.chukharev@gmail.com)

First thanks maintainer for porting this software!

There is noting wrong when building package in poudriere and installing. Wh=
en 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=3D=3D4.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 =3D __import__(self.module_name, fromlist=3D['__name__'], level=
=3D0)
  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 devel=
op',
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 solve=
d.
But I do not how to solve this by adapting the Makefile.
USE_GCC=3Dyes? USES=3Dfortran?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211641-13>