@Stuart Disregard! I see now that the `make FETCH_PACKAGES= install` installed everything. I assumed it would get the large packages only.
Looks like running `unifi info` yields all relevant info. Thank you very much for the patience and expertise. On Sat, Apr 2, 2022 at 6:16 PM Eric Thomas <e...@ericthomas.net> wrote: > > @Stuart > > > I really recommend using FETCH_PACKAGES > > Thank you for the (repeated!) recommendation to use `make > FETCH_PACKAGES= install`. I had originally tried the command but > missed that CRITICAL space ' ' between `=` and `install`. Now that I > have that corrected, the `make` went very quickly. > > >"pkg_info | grep unifi" will show some output if it is installed > > Nice! After running `make`, `pkg_info | grep unifi` shows: > "unifi-6.2.26 controller for Ubiquit..." > > Last(?) issue: > Running `pkg_add unifi` (or `unifi-6.2.26`) from > `/urs/ports/net/unifi/6.2` results in: > "quirks-4.54 signed on 2022-03-26T14:02:422 > Can't find unifi" > > How do I get the custom build to a location where pkg_add can "see it"? > > On Fri, Apr 1, 2022 at 8:30 AM Stuart Henderson > <stu.li...@spacehopper.org> wrote: > > > > On 2022-04-01, Eric Thomas <e...@ericthomas.net> wrote: > > > @Crystal > > > > > >> If you want to work with the ports tree, it's _much_ better to set up > > >> DPB than just running 'make' in the various directories: > > > > > > Very cool blog! I def spent some time reading. The dpb method feels > > > like a litttttle too advanced for me at this moment. I'm struggling to > > > get this UniFi port built using the standard setup. > > > > The only places I use dpb are 1) for bulk builds, i.e. building the > > whole set of ports in one go, and 2) if I want to download all the > > distfiles (source code to all the ports) if I want to run a search > > over it all. > > > > It's useful but I would not describe it as useful for what most people > > need to do with the ports tree. > > > > > @Stuart > > > > > > 1. I was able to restore a previous checkpoint (I'm in a virtual > > > machine) where the port tree was freshly installed. > > > 2. I ran `make install` in the correct directory ( thank you: > > > `/usr/ports/net/unifi/6.2`) and piped the results to a log.txt file. > > > > I really recommend using FETCH_PACKAGES so you aren't spending hours > > building difficult-to-build ports needlessly, unifi itself cannot be > > distributed as packages, but the other software which it requires aren't > > a problem. i.e. this bit from my mail: > > > > >> memory limits, you probably want to install those from packages instead > > >> ("make FETCH_PACKAGES= install" should do that - the unifi port would > > >> have displayed a hint about this when you ran "make"). > > > > > > > 3. I wish I could figure out how to get the dang log.txt file out of > > > the OpenBSD VM (email?, USB thumbdrive?, other?) and into your hands! > > > > the easiest options are based around connecting to the machine by ssh > > e.g. > > > > - ssh in, copy and paste from the terminal > > - scp or sftp the file to another machine > > > > > - Seems like an act of congress to setup external email. At least > > > I can't find a simple example on the web > > > > either use a mail client that can connect to your mail server directly, > > or use something like this > > https://blog.joelg.net/post/2020-09-20-setting-up-opensmtpd-with-an-external-relay/ > > > > if you need to use a From address that is something other than > > <login_username>@<machine hostname> then it gets more complicated > > > > > - It'll probably be easier for me to determine how to add USB > > > drives to the VM (working on it) > > > 4. I can't tell whether the `make install` worked or not > > > > "pkg_info | grep unifi" will show some output if it is installed > >