[email protected] writes:

> Okay, so.. I am new to this, but I did read a few man pages.
> Everything seems to install well until the build process - it says that I
> cannot run it as root because it would mess up permissions (which is good
> to stop there), but then I cannot even run it as a normal user because the
> directory ports/pobj/locks is owned by root:wheel..
>
> The package in-question is 0ad, which also seems to brake because it
> cannot set a few things, on the 7.0 GENERIC.MP#232 amd64 release(?) OS.
>
> I compiled another package just fine..
> And this was when the ports directory was on /usr/ports, and with the
> above (0AD) port, I got a new ports tree, to the /usr/local/ports because
> I have more storage space on that partition, and also because it has the
> "wxallowed" flag for whatever reason it was needed.

0ad needs wxallowed because of its bundled copy of spidermonkey which
needs it :/

not directly linked to your problem, but I'd suggest against moving
PORTSDIR.  There are some scripts in infrastructure/bin (portcheck IIRC)
that doesn't handle a custom PORTSDIR (I may be wrong).

If space is a concern, you can just move the pobj directory (by setting
WRKOBJDIR in mk.conf.)  For ports like 0ad you still need to have the
partition that holds WRKOBJDIR mounted with wxallowed.

anyway, without the actual output is difficult to see what it went
wrong.  clean everything, try to fix the permissions (`make
fix-permissions') and attach the build log

> /etc/mk.conf :
> PORTSDIR=/usr/local/ports
> DISTDIR=/usr/distfiles
> PACKAGE_REPOSITORY=/usr/packages
>
> Have a nice day, I hope I helped, even if it's a bit.

Best Regards,

Omar Polo

Reply via email to