<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On Oct 28, 2018, at 5:46 PM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On Oct 28, 2018, at 16:50, Mark Brethen wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">brethen-air:~ marbre$ port select --summary<br class="">Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.<br class="">Name Selected Options<br class="">==== ======== =======<br class="">clang none mp-clang-6.0 none<br class="">cython none cython36 none<br class="">gcc none mp-gcc7 none<br class="">ipython py34-ipython none<br class="">llvm none mp-llvm-3.4 mp-llvm-6.0 none<br class="">mpi none mpich-mp-fortran none<br class="">nosetests none nosetests36 none<br class="">pip pip34 none<br class="">py-sympy py36-sympy py36-sympy none<br class="">python python27 python26-apple python27 python27-apple python36 none<br class="">python2 python27 python26-apple python27 python27-apple none<br class="">python3 python36 python36 none<br class="">wxWidgets none wxWidgets-3.0 none<br class=""><br class="">With macports python 2.7 it’s a different error:<br class=""><br class="">:info:build /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory<br class="">:info:build Command failed: cd "/opt/local/var/macports/build/_Users_marbre_ports_math_reduce/libreduce/work/Reduce-svn4765-src/generic/libreduce/x86_64-mac_10.12_sierra-darwin16.7.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build<span class="Apple-converted-space"> </span><br class="">:info:build Exit code: 2<br class="">:error:build Failed to build libreduce: command execution failed<br class="">:debug:build Error code: CHILDSTATUS 96796 2<br class="">:debug:build Backtrace: command execution failed<br class="">:debug:build while executing<br class="">:debug:build "system {*}$notty {*}$nice $fullcmdstring"<br class="">:debug:build invoked from within<br class="">:debug:build "command_exec build"<br class="">:debug:build (procedure "portbuild::build_main" line 8)<br class="">:debug:build invoked from within<br class="">:debug:build "$procedure $targetname"<br class="">:error:build See /opt/local/var/macports/logs/_Users_marbre_ports_math_reduce/libreduce/main.log for details.<br class=""><br class=""><main.log><br class=""><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">In that logfile, autoreconf has run, but configure has not been run, which is probably why the build later fails. I don't know why configure hasn't been run.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><div><br class=""></div><div><br class=""></div><div>The makefile handles it thusly,<div class=""><div class=""><br class="">all:<span class="Apple-tab-span" style="white-space: pre;"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>cd src; \<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>autoconf; \<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>autoheader<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>mkdir -p $(BUILD); \<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>cd $(BUILD); \<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>../src/configure --disable-universal; \<br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>$(MAKE)<br class=""><br class="">and so I got the following error:<br class=""><br class="">---> Configuring libreduce<br class="">Error: Failed to configure libreduce: configure failure: command execution failed<br class="">Error: See /opt/local/var/macports/logs/_Users_marbre_ports_math_reduce/libreduce/main.log for details.<br class="">Error: Follow <a href="https://guide.macports.org/#project.tickets" class="">https://guide.macports.org/#project.tickets</a> to report a bug.<br class="">Error: Processing of port libreduce failed<br class=""><br class=""></div><div class="">So I did the following:</div><div class=""><br class=""></div><div class=""> use_autoreconf yes<br class=""> autoreconf.dir ${worksrcpath}/generic/libreduce/src<br class=""><br class=""> pre-configure {<br class=""> set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]<br class=""> <br class=""> configure.dir ${worksrcpath}/generic/libreduce/${builddir}<br class=""> configure.cmd ${autoreconf.dir}/configure<br class=""> configure.args-append --disable-universal<br class=""> <br class=""> xinstall -d ${configure.dir}<br class=""> }<br class=""><br class=""> pre-build {<br class=""> set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]<br class=""> build.dir ${worksrcpath}/generic/libreduce/${builddir}<br class=""> }<br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">Mark Brethen</div><div class=""><a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a></div><div class=""><br class=""></div></div></div></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On Oct 28, 2018, at 17:03, Mark Brethen wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">It looks to me that it failed because the source does not provide a ‘setup.py’ configuration file. Apple must provide a default setup.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">setup.py is where a python project defines how it is to be set up. It's like a configure file. It's specific to each project. There isn't a default. Maybe for this software the configure script creates the setup.py file; I'm not sure.</span></div></blockquote></div><br class=""></body></html>