[MacPorts] #47971: This is to introduce the new port gds

MacPorts noreply at macports.org
Fri Jun 5 15:23:29 PDT 2015


#47971: This is to introduce the new port gds
-------------------------+----------------------
  Reporter:  ed.maros@…  |      Owner:  ram@…
      Type:  submission  |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:              |   Keywords:
      Port:  gds         |
-------------------------+----------------------

Comment (by ram@…):

 I think the modification of `pythondir` is needed as without it I can't
 import the python modules:

 {{{
 [ram at hastur ~]$ python
 Python 2.7.10 (default, May 26 2015, 17:36:23)
 [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import awg
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ImportError: No module named awg
 >>>
 }}}

 Whereas with the modification I can, but it fails:

 {{{
 [ram at hastur ~]$ python
 Python 2.7.10 (default, May 26 2015, 17:36:23)
 [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import awg
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ImportError: No module named awg
 >>> exit()
 [ram at hastur ~]$ python
 Python 2.7.10 (default, May 26 2015, 17:36:23)
 [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import awg
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/awg.py", line 35, in <module>
     import sys, numpy, awgbase
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/awgbase.py", line 20, in <module>
     libawg = CDLL('libawg.so')
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
 line 365, in __init__
     self._handle = _dlopen(self._name, mode)
 OSError: dlopen(libawg.so, 6): image not found
 >>>
 }}}

 So this looks like missing dependency... Maybe we configure with the
 `--disable-python` option for the time being?

-- 
Ticket URL: <https://trac.macports.org/ticket/47971#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list