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

Willy Sudiarto Raharjo willysr at slackbuilds.org
Tue Nov 1 03:06:11 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."

It's already written in the HOWTO

https://slackbuilds.org/howto/#su
some scripts will fail if we use normal su instead of su -


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161101/0b1f00ca/attachment.asc>


More information about the SlackBuilds-users mailing list