Thanks, it worked. I thought I'd already set it up in ~/.bash_profile.
I installed texlive and was trying to install auctex for emacs: That's what I get Quote:
|
You need to re-login to set up the env. More accurate, make sure "/usr/share/texmf/bin" is in your PATH(see /etc/profile.d/texlive.sh).
|
Thanks for your response, but I still can't get it installed.
That's what's in my /etc/profile.d/texlive.sh Quote:
How can I know it gets executed? IT seems that it doesn't. Quote:
|
Does your /etc/profile.d/texlive.{c,}sh have executive permission? I think they have. But just in case, "chmod 0755 /etc/profile.d/texlive.{c,}sh" as root. AFAIK, a relogin should be enough.... ;(
|
Thanks for your help.
What turned out was that I ran the scripts not being in a complete root environment. Hence, it couldn't find the latex directory. Doing 'su -' solved the problem. |
That's strange... Normal users should have the rights to use latex, right? ;)
|
He was already logged in before tex was installed, so the profile scripts had not been run (since they weren't there when he logged in) and thus PATH did not include tex. Switching to root using "su" doesn't re-init the environment, so tex *still* wasn't in PATH.
|
Yes, but I suggested a *re-login* ;) And, although it's possible that the original poster do not logout for days, the possibility is small...
Anyway, texlive from texlive.SlackBuild works fine in my box ;) |
Quote:
I don't know why it was the case as I always switch off my laptop overnight (which obviously entails the idea of relogging). |
Quote:
|
disregard the post (wrong thread)
|
I don't use and have xfce in my box. AFSIK, KDE will source the /etc/profile when login. So it will and do be fine here. And if you did not modify the patched(yes, by PatV) /usr/share/applications/kde4/konsole.desktop, Konsole will be a login-shell every time you invoke it. So it would be Ok if you use Konsole. For other things, I don't know. Sorry.
|
No worries. Thanks for your help.
|
All times are GMT -5. The time now is 03:17 PM. |