<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">在 2020年4月11日,下午8:02,Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Apr 11, 2020, at 06:45, Xim wrote:<br class=""><br class=""><blockquote type="cite" class="">I am doing some port test on a Snow Leopard system. At first and by default, I installed some dependencies with x86_64 arch. I realized the problem, changed the build arch option in macports.conf. But the port system seems a little unstable at dealing with this kind of issue. New dependencies come out again and again during the installing process. I am currently trying uninstalling and reinstall all (i386) ports. I wonder if there is a routine way of dealing with an arch switch?<br class=""></blockquote><br class="">If you change build_arch in macports.conf you should probably uninstall and reinstall all ports that are not identified by "port -v installed" as noarch. <br class=""><br class="">A possible alternative is to install ports with the +universal variant. Then you'll get both x86_64 and i386 at the same time. You can use the "arch" program if you need to try running the 32-bit part of a universal binary on a 64-bit computer. </div></div></blockquote></div><div class=""><br class=""></div><div class="">Thanks for your reply! The reinstall solution works for me. In addition, for others’ information, some cleaning may need to be done for previously installed ports.</div><div class=""><br class=""></div><div class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Regards,</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Xim<br class=""><div style="color: rgb(0, 0, 0); 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;"><a href="mailto:chenguokai17@mails.ucas.ac.cn" class="">chenguokai17@mails.ucas.ac.cn</a></div><div style="color: rgb(0, 0, 0); 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 class=""></div></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>