Thursday, March 31, 2022

Re: How to rebuild the ports tree?

On 2022-03-31, Eric Thomas <eric@ericthomas.net> wrote:
> --000000000000c9bb7b05db88e7ee
> Content-Type: text/plain; charset="UTF-8"
>
> I'm stuck. I need to install the UniFi 6.2.26 port, I used the [FAQ to
> setup the ports tree](https://www.openbsd.org/faq/ports/ports.html).
> This seemed to work just fine. However, the last few messages in the
> `make install` output showed errors. To debug the issue, I decided to
> completely uninstall the UniFi port then pipe the `make install`
> output to a log.txt.

As you mentioned 6.2 and this shows 5.6 you'll want to cd into the
relevant subdirectory of /usr/ports/net/unifi.

Compiling mongodb and java aren't very much fun and may need raised
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").

> To uninstall:
>
> - TRIED: `make uninstall`
> - ERROR: `make: don't know how to make uninstall`

This would be "make deinstall", but it isn't installed yet, what you
showed is where it was trying to compile/install the dependencies.

> Content-Type: image/png; name="image.png"

Hopefully that will help, if not please copy the text from a terminal
rather than send a screenshot, it may be helpful to scroll up a bit
to show preceding lines too.

No comments:

Post a Comment