Quote:
Originally Posted by ChrisAbela
Are running the slackbuild script as root with full environment ("su -", not "su")?
|
The main differences I see in 'su root' vs. 'su - root' is that the latter includes a few more locations in PATH. (Oddly, it include fewer locations in PKG_CONFIG_PATH.) Unless 'go' has been installed in an non-standard location and the PATH amended accordingly, I can't see why that would make a difference.
If 'go' is not found, is 'which go' also showing that it's not found? On my old-and-in-need-of-an-upgrade 14.1 system it's in '/usr/bin' which should be part of the PATH definition regardless of whether you use 'su' or 'su -'. If 'go' isn't found, I'd look into the build script.
Note: I'm seeing this thread a 'little' late but I am interested whether the OP found a solution.