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

19990701: McIDAS build problem on IRIX 6.5 (cont.)



>From: Zuo Dong Zheng <address@hidden>
>Organization: CCNY
>Keywords: 199907011430.IAA14251 McIDAS make IRIX

Zuodong,

>i am not using gcc. which cc tells me: /usr/cpu/sysgen/root/usr/bin/cc
>it's a pure SGI_CC.
>
>and :
>
>me> cd ../tcl/unix/
>me> sh ./configure --prefix=../
>loading cache ./config.cache
>checking for ranlib... :
>checking whether cross-compiling... yes
>...
>checking whether char is unsigned... configure: error: can not run test
>program
>while cross compiling
>
>what does cross compiling mean? 

Configure is checking to see whether or not you are attempting to build
executables for a different platform.  The fact that it thinks that it
should be doing this is the problem.  Once we solve this, the build should
proceed.

>yes, i was trying 'make all' but it gives me same problem, so i am
>trying 'make' first.  And yes, /usr/people/mcidas is my McINST_ROOT.  

OK, I just wanted to make sure.

>if you will be kind enough, i have made a ... account in my machine
>(kingkong.sci.ccny.cuny.edu) with password '...'. you can login to
>take a look for me. the ~mcidas is readable by ....

There are a number of problems that I see in the setup for your 'mcidas'
user some of which will affect all of your users.

First, lets concentrate on the McIDAS build problem.  I looking in
the ~mcidas/tcl/unix/config.log, I see the following WARNING by the
SGI C compiler:

configure:717: /usr/cpu/sysgen/root/usr/bin/cc -o conftest -O -DNDEBUG  conftest
.c  1>&5
cc WARNING:  abi should have been specified by driverwrap
cc WARNING:  /usr/lib32/cmplrs does not contain all of the MIPSPro compiler phas
es; perhaps you need a different toolroot?

The "/usr/lib32/cmplrs does not contain all of the MIPSPro compiler
phases" message is telling us that the compilation environment on your
machine is not setup correctly. This must be corrected before the
McIDAS build can proceed.  This is the cause of the cross-compiling
indication and the overall failure.  You should get together with your
system administrator to address this before you attempt the build
again.

Next, it appears that you intend for 'mcidas' and all of your other
users to read C shell defaults from the /etc/default/eas.cshrc file.
The setting of MCDATA is different for the user 'mcidas' and other
users.  For 'mcidas' this is defined as ~mcidas/workdata (in your case
this is /usr/people/mcidas/workdata.  For a user named 'joe', this
would be ~joe/mcidas/data (e.g. /usr/people/joe/mcidas/data).  If you
intend /etc/default/eas.cshrc to be used by each user, you should
remove the McIDAS definitions from it and put them into the individual
user's .cshrc file.

>thank you very much,

Let me know when you get the compiler installation setup corrected on
kingkong.  If you need me to look get on your machine again, it would
be most useful to have the login for the user 'mcidas' so I could try
things out.

Tom