Ports in proyect trident

#1

Gi guys!
Ive installed trident 18.12. but the ports dont work :
root@beringia: /usr/ports/editors/libreoffice-i18n # make install clean
make: “/usr/ports/Mk/bsd.port.mk” line 1182: Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE.
This issue is solved?
Thanks in advance

0 Likes

#2

@mance welcome to Trident.
You’re trying to build from ports? Did you need to change something from the default package?
Reason for asking is libreoffice is available as a package in the ports repo.
As root:
pkg install libreoffice

will install it for you.

Building from ports, make sure you are using the Trident/TrueOS ports tree, not a FreeBSD one.
git clone https://github.com/trueos/trueos-ports

There may also be some other build info needed from Project Trident. I’m not sure because it’s been a while since I’ve built from ports.

0 Likes

#3

Sometimes I had to define OSVERSION=13 and then the build worked. Still I don’t know if it should actually be needed.

0 Likes

#4
# pkg which /usr/include/sys/param.h
/usr/include/sys/param.h was installed by package OS-runtime-development-13.0.20190219162802

# pkg install -g 'OS*devel*'

John
groenveld@acm.org
3 Likes