Alexander K. Hansen wrote:
What version is your system-tetex? 20010808-12 was commited yesterday and was supposed to deal with a MANPATH problem, according to the log message.

Looks like one bug was replaced by another one :-) There used to be the line

echo "setenv MANPATH ${MANPATH}:/usr/local/teTeX/man" >> %i/etc/profile.d/system-tetex.csh

This did not write the literal text "${MANPATH}" into the system-tetex.csh file, but its evaluation at the moment of the package compilation. The new version 20010808-12 contains

echo "setenv MANPATH \$MANPATH:/usr/local/teTeX/man" >> %i/etc/profile.d/system-tetex.csh

This avoids evaluation, but forgets the curly braces. Hence the error message Edward was seeing. The correct version would have both backslash and braces.

On Wednesday, October 22, 2003, at 09:21 AM, Edward Thome wrote:

Hi.

    I just updated my system-tetex (running the most current fink, OS
    10.2.8,using tsch). Immediately upon opening an xterm/Terminal
    window, I got the error
    Bad : modifier in $ (/).
    and my ~/.cshrc file failed to load. I discovered that the culprit
    was the line "source /sw/bin/init.csh" and upon commenting out
    various segments of that file one-by-one, I found that the error
    occurred when the file
    /sw/etc/profile.d/system-tetex.csh
    was being loaded. Upon commenting out lines there, I discovered that
    the problem in this file was the line
    setenv MANPATH $MANPATH:/usr/local/teTeX/man
    After doing some experimenting, I found that the problem seemed to
    be the ":/". If I left off either the colon or the slash, I did not
    get the error, but MANPATH was not set correctly. So, on a whim, I
    typed in
    setenv MANPATH $MANPATH\:/usr/local/teTeX/man
    instead. Not only did I not get the error, but 'echo $MANPATH'
    revealed that the MANPATH was written appropriately, and
    appropriately according to what the command was supposed to do.

    Is this a tsch error, something strange about my computer, or ...?
    I've duplicated the problem and the solution on two computers now,
    my office and my home computer.

    Regards,
    Ed





-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to