libssh Slackbuild Failing: Actual Solution

I posted yesterday about the libssh slackbuild failing on build due to some problems creating the latex documentation.

Since then I’ve found the problem in root not having the latex bin directory ( /usr/share/texmf/bin ) in it’s path by default.

It’s an easy fix:

PATH=$PATH:/usr/share/texmf/bin

With that the slackbuild will run correctly. I know there are some options to just specify specific commands for latex creation in the build files so that may be a option to make the buildscript run more consistently.