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

Arkadiusz Drabczyk arkadiusz at drabczyk.org
Tue Nov 1 21:58:11 UTC 2016


On Tue, Nov 01, 2016 at 10:06:11AM +0700, Willy Sudiarto Raharjo wrote:
> > 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 -

Oh, I missed that.  Thanks.
-- 
Arkadiusz Drabczyk <arkadiusz at drabczyk.org>


More information about the SlackBuilds-users mailing list