MANPATH undefined error


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting MANPATH undefined error
# 1  
Old 10-22-2010
MANPATH undefined error

Hello All,

I m using Linux OS and the default shell is C shell.

Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the environment variable are not working -seems some other file csh.login is invoking first.

I am getting messahe : MANPATH undefined while login.

The MANPATH is set in the /etc/csh.login file and it looks like

setenv MANPATH /opt/teradata/client/13.0/odbc_32/help/man:$MANPATH #Added by ODBC13.0 Package

Any suggestion on how .login file invoke first and how to fix the MANPATH error. ?


Thanks
Jam

Last edited by jambesh; 10-22-2010 at 03:54 AM.. Reason: spell
# 2  
Old 10-22-2010
I'm not sure about your system, but as far as i can remember my younger days, when i used to use the c-shell the system-wide configuration file is called /etc/csh.cshrc. Your file might not be read.

You can also create a file ~/.cshrc, which is read every time a new shell starts (that includes login, when your login shell is being started by the login process) and which contains settings on a per-user basis. both these files have to be readable and executable i suppose.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Error term undefined

i keep getting this error when i ssh using my id - any idea (2 Replies)
Discussion started by: tariq_m
2 Replies

2. UNIX for Dummies Questions & Answers

Undefined variable error

I am getting the error undefined variable even after following these steps #read name abcd #echo $name na: undefined variable (6 Replies)
Discussion started by: Vishawdeep
6 Replies

3. Programming

Error: undefined reference to winmain@16?

I was trying to compile the following code in cygwin using g++: ------------------------------------------ #include <iostream> using namespace std; int identity(int input) { int output = input; return output; } ------------------------------------------ I get this error: ... (7 Replies)
Discussion started by: DyslexicChciken
7 Replies

4. Emergency UNIX and Linux Support

Csh script with Undefined variable error

hi there I have this C shell script that was migrated from AIX to Linux, could someone please help me, I checked the syntax numerous times but I can't find out where the error is. The script is meant to find files older than 27 days and delete it #!/usr/bin/csh # ... (22 Replies)
Discussion started by: hedkandi
22 Replies

5. Programming

gmake undefined symbol error

I have a C code which i am trying to compile using gcc. When i am trying to compile it i get the error undefined symbol error though i am providing the -l*** option where *** refers to the module where the object files for those symbols are present. Can someone help me on the same. (4 Replies)
Discussion started by: manaankit
4 Replies

6. Shell Programming and Scripting

undefined variable error

Hi all, Im using a script which contains read command.. the script works perfectly but when I alias the script it gave "undifined variable" after I enter the read command input (variable)... Does any one know why ? (4 Replies)
Discussion started by: yahyaaa
4 Replies

7. Programming

undefined symbol: clock_gettime' error

Hi, i've compiled my app on x86_64 with -m32 gcc option. Can anybody tell me what is/would typically cause the 'undefined symbol: clock_gettime' error?? -1 k){0N!x y} '/home/da71336/simon/mkvfh/mkv.so: undefined symbol: clock_gettime @ "q" "subr:mkv 2:`subr,3; subc:mkv 2:`subc,1;... (4 Replies)
Discussion started by: dpa078
4 Replies

8. Shell Programming and Scripting

undefined error

Hi following is a simple shell script, -------------------------------- #!/usr/bin/tcsh u=$USER echo $u string="cp c2960-lanbase-mz /tftpboot/$u/c2960-lanbase-mz" string2="cp c2960-lanlite-mz /tftpboot/$u/c2960-lanlite-mz" output=/users/$u/c2960-log.txt if && then echo... (1 Reply)
Discussion started by: amitrajvarma
1 Replies

9. Programming

Undefined reference to Error

Hello, plz help me out with this error, i am getting this error when i compile my code with gcc. /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18): In function `_start': : undefined reference to `main' /tmp/cciLxqdV.o(.text+0x3c): In function `HandleUserTransaction()':... (2 Replies)
Discussion started by: svh
2 Replies

10. Programming

ld: 0711-317 ERROR: Undefined symbol: .hello

Hello, when i compile with xlc on aix i got the error message "ld: 0711-317 ERROR: Undefined symbol: .hello" dummy.pc: #include <stdio.h> #include <stdlib.h> #include <string.h> #include "dummy.h" int main ( ) { printf("\nbefore Hello"); hello(); printf("\npast Hello"); ... (2 Replies)
Discussion started by: stockdan
2 Replies
Login or Register to Ask a Question