port select python and config error

Mark Brethen mark.brethen at gmail.com
Sun Oct 28 21:40:40 UTC 2018


brethen-air:~ marbre$ port select --summary
Name       Selected      Options
====       ========      =======
clang      none          mp-clang-6.0 none
cython     none          cython36 none
gcc        none          mp-gcc7 none
ipython    py34-ipython  none
llvm       none          mp-llvm-3.4 mp-llvm-6.0 none
mpi        none          mpich-mp-fortran none
nosetests  none          nosetests36 none
pip        pip34         none
py-sympy   py36-sympy    py36-sympy none
python     python36      python26-apple python27 python27-apple python36 none
python2    python27      python26-apple python27 python27-apple none
python3    python36      python36 none
wxWidgets  none          wxWidgets-3.0 none

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reduce.zip
Type: application/zip
Size: 21610 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181028/454eec2a/attachment-0001.zip>
-------------- next part --------------


Mark Brethen
mark.brethen at gmail.com



> On Oct 28, 2018, at 4:36 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
> 
> I didn’t seem to matter. I tried both python27 and 36.
> 
> 
> Mark Brethen
> mark.brethen at gmail.com
> 
> 
> 
>> On Oct 28, 2018, at 4:08 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
>> 
>> Quite by accident I have discovered a flaw with my libreduce port as regards to "port select —set python". I had not set a default python version before I built the reduce libraries, unaware it was using apple's system python 2.7 to build. However, when I set a python version using port select —set python and add the python group, libreduce fails at configure. There is a file ‘ac_python_devel.m4’ in the source directory that is throwing the error (see attached). I’m not sure why builds with apple’s python and not macports.
>> 
>> <main.log><ac_python_devel.m4>
>> 
>> 
>> Mark Brethen
>> mark.brethen at gmail.com
>> 
>> 
>> 
> 



More information about the macports-dev mailing list