[Slackbuilds-users] misc/po4a: is `su -' requirement only about kpsewhich?

Arkadiusz Drabczyk arkadiusz at drabczyk.org
Tue Nov 1 02:09:06 UTC 2016


In misc/po4a README it says:

"WARNING: run po4a.SlackBuild as root (su -) not with only root
privileges (su), otherwise test #24 will fail."

I did some tests and it seems that it's enough to add
/usr/share/texmf/bin/ directory to $PATH for test #24 to pass.  The
warning is here because in standard Slackware setup this directory
which contains kpsewich is added to $PATH by /etc/profile.d/tetex.sh.
I think that current warning is quite uninformative and it only hides
the real reason why test #24 fails without `su -'.  It could it be
improved, for example:

"WARNING: run po4a.SlackBuild as root (su -) not with only root
privileges (su) to have /usr/share/texmf/bin/kpsewhich in $PATH,
otherwise test #24 will fail."

What do you think?
-- 
Arkadiusz Drabczyk <arkadiusz at drabczyk.org>


More information about the SlackBuilds-users mailing list