>From: Roger Paillet <address@hidden> >Organization: Cal State LA >Keywords: 200101251907.f0PJ7fX27567 McIDAS-X Solaris SPARC gcc/f2c Roger, >I am a student of Dr. Hong-lie Qiu at California State >University, Los Angeles and I am trying to install >McIDAS7.7 on a Sun Ultra 10 with Solaris 8. I'm using >gcc/f2c. I'm having a problem, I believe, with f2c/gcc >because of the -s : strip option. I'm using gcc-2.95.1 >and I believe that my copy of f2c is good. Here is the >output from the makelog and build. What do you think? 'strip' gets installed in the /usr/ccs/bin directory on Solaris systems, but it may not get installed if you did a minimal development installation. The first thing to check is if 'strip' can be found in its "usual" place: ls -lat /usr/ccs/bin/strip If it is there, the error you show below is telling us that /usr/ccs/bin is not in your PATH. You should then edit your shell definition file (i.e., .cshrc if you use the C shell; .profile for the Bourne shell; or .profile or .kshrc if you use the Korn shell) and add this directory to your PATH definition. Remember that after changing the shell definition file, you need to make the changes active (source .cshrc for C shell users; . .profile for Bourne shell users; . .profile or . .kshrc for Korn shell users). If it is not there, then you have two choices: o do a development installation for Solaris o edit ~mcidas/mcidas7.7/src/makefile and change: STRIP = -s # STRIP = to: # STRIP = -s STRIP = After either of these two, you can restart your build: cd mcidas7.7/src make all >Thanks, >Roger > > >########################################## >Thu Jan 25 10:45:02 PST 2001: BUILD BEGIN >########################################## > >./mccomp -O -gcc -I. -I../netcdf/libsrc -I../jpeg >-I../zlib -c convdlmc.c >rm -f convdlmc.o >gcc -c -O -I. -I../netcdf/libsrc -I../jpeg -I../zlib >-I/usr/dt/include -I/usr/op >enwin/include convdlmc.c >compile convdlmc.c: done >./mccomp -O -gcc -I. -I../netcdf/libsrc -I../jpeg >-I../zlib -c convdlmf.f >rm -f convdlmf.o >mcfc -c -O -I. -I../netcdf/libsrc -I../jpeg -I../zlib >-I/usr/dt/include -I/usr/o >penwin/include convdlmf.f >convdlmf.f: > convdlm: > nchars: > len_trim: >compile convdlmf.f: done >./mccomp -O -s -gcc -o convdlm convdlmc.o convdlmf.o >mcfc -s -O -o convdlm convdlmc.o convdlmf.o >-R/usr/dt/lib -L/usr/dt/lib -R/usr/o >penwin/lib -L/usr/openwin/lib -R/opt/SUNWspro/lib >-L/opt/SUNWspro/lib -lgen -lso >cket -lnsl -lm >./mcfc: strip: not found >link convdlm: FAILED > > >geoserver% make all >cd ../netcdf && \ > sh configure --prefix=/space/mcidas/ >creating cache ./config.cache >checking for m4... no >checking for gm4... no >checking user-defined C compiler "/bin/gcc" >checking C compiler... works >checking how to make dependencies... cc -xM >configure: warning: Empty CXX variable >configure: warning: The C++ interface will not be >built >checking how to run the C preprocessor... /bin/gcc -E >checking user-defined Fortran compiler >"/space/mcidas/mcidas7.7/src/mcfc"... configure: >warning: /space/mcidas/mcidas7.7/src/mcfc failed to >compile test program >configure: warning: The Fortran interface will not be >built >checking for Fortran .F compiler... >checking for Fortran preprocessor... /bin/gcc -E > > > > >########################################## >Thu Jan 25 10:45:02 PST 2001: BUILD BEGIN >########################################## > >compile convdlmc.c: done >compile convdlmf.f: done >link convdlm: FAILED (See >'/space/mcidas/mcidas7.7/src/makelog' for details.) > >make: *** [convdlm] Error 1 Tom Yoksas
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.