Correction: port install depof:whatever
(This is a new machine and I have not yet turned off the obnoxious autospelling correction. > > >> >> On 14 Feb2021, at 2:12 AM, Ryan Schmidt <ryandes...@macports.org> wrote: >>> >>> >>> On Feb 13, 2021, at 11:33, Murray Eisenberg wrote: >>> >>>> Without complaint, wxMaxima @20.04.0_0 installed (after maxima >>>> @5.43.2_12+xmaxima and gnuplot >>>> @5.4.1_2+aquaterm+luaterm+pangocairo+qt+wxwidgets+x11) under macOS Big Sur >>>> 11.2.1 using MacPorts 2.6.99 and Xcode CLT 12.4. >>>> >>>> Although the command-line maxima works, if I try to open >>>> /Applications/MacPorts/wxMaxima.app, the app immediately crashes. >>>> >>>> Perhaps this is related to https://trac.macports.org/ticket/61933. >>>> >>>> But exactly what log file should I provide? I examined the >>>> wxMaxima_2021002-13-xxxx.crash file in ~/Library/Logs/DiagnosticReports >>>> but find no “rootless” line there. >>> >>> I'm not sure what "rootless8" mentioned in that ticket refers to. Maybe it >>> is the name of the user's computer. Probably irrelevant. >>> >>> If you want to provide your crash log, you can do that, but it sounds like >>> we already figured out what the problem is. >>> >>> Per the mailing list thread mentioned in that ticket, I think the problem >>> is an install_name_tool bug in Xcode 12.2. I don't know if the problem >>> remains in Xcode 12.4. If you did not build wxWidgets from source, you can >>> try doing that and see if it fixes the problem. Let us know whether or not >>> that fixed it. If 12.4 didn't fix the bug, then a workaround is given in >>> the mailing list thread linked in that ticket. >> >> (1) There is no port “wxWidgets”, only: >> >> wxWidgets-3.0 >> wxWidgets-common >> wxWidgets_select >> >> Which one(s) do I need to build from source? >> >> (2) And what about gnuplot, which will break if I uninstall wxWidgets-3.0? >> >> (3) Is the build-from-source command “port -s [portname]? > > I am just a MacPorts user, not a maintainer or anything, but I can tell you > what I recently learned about building from source. I also looked in the > Guide and found nothing, but "man ports" mentioned source mode (among many, > many, many other things). > > Here is something to be aware of, though. If you simply do > > port -s install whatever > > then MacPorts wants to build all the prerequisites from source too, unless it > happens to be installed already. This is usually not what you want, because > some of those prerequisites take a long time to build, and really, why do > that instead of just the binary install for those? > > What I eventually figured out was that I could first tell MacPorts to install > the prerequisites, explicitly, and then after that do the source install of > just what I am after. The incantation I used for the former was > > port install depot:whatever > > (Put sudo before the installs, of course.) > > Hope this helps. > > > >> >> I’m not finding this documented at https://guide.macports.org. >> >> >> --- >> Murray Eisenberg murrayeisenb...@gmail.com >> 503 King Farm Blvd #101 >> Rockville, MD 20850-6667 Mobile (413)-427-5334 >