>
>Idris S Hamid <[EMAIL PROTECTED]> writes:
>
> > > Is the texexec.pl script executable? (chmod +x).
> >
> > Just did this.
> >
> > >If you specify the
> > > complete path name (/usr/TeX/bin/i386-linux/texexec.pl), does it run?
> >
> > Ok, I got it working, though I'm not sure exactly what did it. Here is 
> some
> > more strange behavior:
> >
> > If I'm in root and do texexec, everything works fine.
> > If I'm in my user account and do texexec, everything works fine.
> >
> > If I su to my home directory from root (or su to root from my home
> > dir), then texexec gives the error
>
>What do you mean with "su to [your] home directory"?  su is used for
>changing users, not directories.
>
>Assuming that you mean "su to a different user id" or similar:
>
> > > texexec
> > `texexec.pl' not found.
> >
> > If from here I su back to my home dir (or to root), the error
> > remains.
>
>What does echo $PATH tell?  What does env|grep "^PATH=" tell?
>
> > Starting a new console works if I don't su anywhere.
> >
> > I have installed the following in /etc/profile.d/texsetup.sh (based on 
> advice
> > from David Kastrup):
> >
> > case ":$PATH:" in *:/usr/TeX/bin/i386-linux:*) ;;
> >   *) PATH="/usr/TeX/bin/i386-linux:$PATH"
> > esac
>
>This is executed in login shells, but nowhere else.  One possibility
>would be that you need to add
>export PATH
>although I really can't believe that PATH would not already be
>exported.
>
>Another would be that you have some settings in
>~/.bashrc
>that reset the PATH to a fixed value.
>
>A third one would be that after doing the change above you have not
>logged out: the change will only take effect in sessions started
>after it has been done.
>
>A fourth one would be that the permissions of
>/etc/profile.d/texsetup.sh are set in a way as to make the file
>unreadable for some users.
>
>A fifth one would be that your default shell is not bash or a Bourne
>shell.
>
>--
>David Kastrup, Kriemhildstr. 15, 44793 Bochum
>Email: [EMAIL PROTECTED]

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

Reply via email to