[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010511: McIDAS-X 7.7 build problems (cont.)



>From: Jason Law <address@hidden>
>Organization: USF
>Keywords: 200105112041.f4BKf7p04749 McIDAS-X McINST_ROOT

Jason,

>I tried running make mcx again after defining McIST_ROOT and it
>didn't work, 'env' returned:
>
>/home/pele1/mcidas/mcidas7.7/src> env
 ...
>PATH=/usr/X11/bin:/usr/openwin/bin:.:/usr/bin:/usr/ucb:/opt/gnu/bin:/usr/local/bin:/usr1/wp60/wpbin:/usr1/matlab/bin:/usr/local/GMT/bin:/usr/sbin:/etc/flex_bin:.
 ...
>LOGNAME=mcidas
 ...
>USER=mcidas
>DISPLAY=:0.0
>SHELL=/bin/tcsh
 ...
>HOME=/
 ...
>LD_LIBRARY_PATH=/usr/lib:/usr/ucblib:/usr/X11/lib:/usr/openwin/lib
>McINST_ROOT=/home/pele1/mcidas
>/home/pele1/mcidas/mcidas7.7/src> env

>So as you see McINST_ROOT seems to be defined correctly,

Yes, McINST_ROOT seems to be OK, but HOME does not.  I would assume that if
the 'mcidas' account were properly setup, then the HOME directory for
'mcidas' would be /home/pele1/mcidas.  The fact that you got a HOME of
'/' tells me that something is not defined correctly in the password
file (or NIS/NIS+) for the user 'mcidas'.

>the actual error  got was:
>
>/home/pele1/mcidas/mcidas7.7/src> make mcx
>make: ERROR: no directory: //mcidas
>make: ERROR: no directory: //mcidas/data

Given what HOME is defined as, this is saying that $HOME/mcidas and
$HOME/mcidas/data do not exist.  This is almost for sure to be true.

>make: If your environment is OK, try 'make rootdirs'
>make: *** [env_dir] Error 1
>
>I'm really not sure what to do, so again any help you can give me is
>appreciated.  Thanks again!

The thing to do at this point is to correct the account information for
'mcidas'.  This must be done as  'root', so unless you are the system
administrator, you should ask him/her to correct the 'mcidas' account
setup.  When HOME listed from an 'env' invocation works correctly, the
build should proceed.

The other thing you might try is to define HOME as /home/pele1/mcidas
and then try doing the make.

Tom