Solved jsoncpp base dependencies

sidetone

Daemon

Reaction score: 908
Messages: 1,864

Hi, devel/jsoncpp is a dependency for some programs. It won't build on my system, and I suspect it requires a program that I left out on my FreeBSD 11.0 base installation. It gives error code 127

Does anyone know if it's any of these options from /etc/src.conf

Code:
WITHOUT_BSDINSTALL=yes
WITHOUT_CROSS_COMPILER=yes
WITHOUT_FREEBSD_UPDATE=yes
WITHOUT_GCC=yes
WITHOUT_GDB=yes
WITHOUT_GPL_DTC=yes
WITHOUT_GNU=yes
WITHOUT_PC_SYSINSTALL=yes

It could also be something I left out of the kernel. There was another port that didn't install as well (it was a python related port, but I forgot what it was), and perhaps its the same issue. I can get around it, by installing the package.
 
OP
sidetone

sidetone

Daemon

Reaction score: 908
Messages: 1,864

Omitting one of these two options below, allows devel/jsoncpp to build. The documentation in src.conf(5) says nothing is influenced by WITHOUT_GNU yet, but I don't know if this changed in the last 6 months. Most likely, it's the other option below.
Code:
#WITHOUT_GPL_DTC=yes
#WITHOUT_GNU=yes
jsoncpp seems to have non-portable code.

Perhaps it has something to do with the build tool devel/scons, which is not to be confused with syscons(8), or otherwise it's just the jsoncpp port itself.
 
Last edited by a moderator:
Top