>From: Jimmy Mejia <address@hidden> >Organization: University of Costa Rica >Keywords: 199904201958.NAA12778 McIDAS-X 7.50 installation Jimmy, >Again thank you for your help. You are welcom. >I had searching for any error in >makelog and I found the same error two times in the file, one during the >compilation of mcx and the other during the mcd compilation, in both cases >was the same error, here is the error output. >-------------------------------------------------------------- >./mccomp -s -o mcimage mci.o mci_brie.o mci_buff.o mci_cmap.o mci_cpfl.o >mci_curs.o mci_evnt.o mci_frfl.o mci_glbl.o mci_rsrc >.o mci_updt.o mci_visl.o -L. -lmcidas -lXext -lX11 >mcfc -s -o mcimage mci.o mci_brie.o mci_buff.o mci_cmap.o mci_cpfl.o >mci_curs.o mci_evnt.o mci_frfl.o mci_glbl.o mci_rsrc.o m >ci_updt.o mci_visl.o -L. -R/usr/dt/lib -L/usr/dt/lib -R/usr/openwin/lib >-L/usr/openwin/lib -lmcidas -lXext -lX11 -lgen -lsock >et -lnsl -lf2c -lm >ld: fatal: file /dev/zero: cannot mmap file: Resource temporarily >unavailable >link mcimage: done >./mccomp -s -o aamap.k main.o aamap.o -L. -lmcidas >---------------------------------------------------------------- This is an Operating System error having to do with the memory mapping capability. I will have to talk to my system administrator to find out exactly what this means. >The same error appear so many times in the makelog file during the >compilation of others files, for example up.k, navcalc.k, etc. >Here a little pice of the makelog showing that errors. > >------------------------------------------------------------- >./mccomp -s -o sp.k main.o sp.o -L. -lmcidas >mcfc -s -o sp.k main.o sp.o -L. -R/usr/dt/lib -L/usr/dt/lib >-R/usr/openwin/lib -L/usr/openwin/lib -lmcidas -lgen -lsocket -ln >sl -lf2c -lm >ld: fatal: file /dev/zero: cannot mmap file: Resource temporarily >unavailable >link sp.k: done ... It is unfortunate that this doesn't stop the make process altogether (assuming that the executable doesn't get made). >I do not know if that gives some idea to you. Not really. Again, this is an OS problem, not a McIDAS build problem, so I will have to contact my system administrator for help. >To me?? I do not know what >for is /dev/zero...:(, anyway I reseted the computer and I tryed again and >ok, Interesting. >I got the mcimage file, but now if I try to install it, other file is >missin "mcwish", the output of make xcd is > >------------------------------------------------------ >./tclcomp ./mccomp -s -o mcwish wishcrex.o wisherrh.o wishinit.o >wishmcid.o wish >util.o wishxinf.o wishxwin.o tkAppInit.o -L. -lmcidas >mcfc -s -R /home/mcidas/tcl/lib -o mcwish wishcrex.o wisherrh.o wishinit.o >wishm >cid.o wishutil.o wishxinf.o wishxwin.o tkAppInit.o -L. >-L/home/mcidas/tcl/lib -L >/home/mcidas/mcidas7.5/tk/unix -L/home/mcidas/tcl/lib >-L/home/mcidas/mcidas7.5/t >cl/unix -L/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -R/usr/openwin/lib >-L/usr >/openwin/lib -lmcidas -ltk8.0 -ltcl8.0 -lX11 -ldl -lsocket -lnsl -lm -ldl >-lsock >et -lnsl -lm -lgen -lsocket -lnsl -lf2c -lm >./mcfc: -R: bad option(s) >link mcwish: done > >--------------------------------------------------------- > >Obviously something is goig wrong with mcfc. I just ran through a build here at Unidata on Solaris using gcc/f2c and mcfc. I ran into the same problem you ran into, so the fault is mine. I do, however, have a quick fix: o edit the file /home/mcidas/mcidas7.5/src/tclcomp and: change: case `uname -sr` in "SunOS 5."*) RUNTIME_PATH="-R/home/mcidas/tcl/lib";; "Linux 2."*) RUNTIME_PATH="-Wl,-rpath,/home/mcidas/tcl/lib";; OSF1*) RUNTIME_PATH="-Wl,-rpath,/home/mcidas/tcl/lib";; IRIX*) RUNTIME_PATH="-Wl,-rpath,/home/mcidas/tcl/lib";; HP-UX*) RUNTIME_PATH="-Wl,+b,/home/mcidas/tcl/lib";; esac to: case `uname -sr` in "SunOS 5."*) RUNTIME_PATH="-Wl,-R,/home/mcidas/tcl/lib";; "Linux 2."*) RUNTIME_PATH="-Wl,-rpath,/home/mcidas/tcl/lib";; OSF1*) RUNTIME_PATH="-Wl,-rpath,/home/mcidas/tcl/lib";; IRIX*) RUNTIME_PATH="-Wl,-rpath,/home/mcidas/tcl/lib";; HP-UX*) RUNTIME_PATH="-Wl,+b,/home/mcidas/tcl/lib";; esac (The only line that changes is the one relating to SunOS 5.) Then run: make mcwish and verify that it exists: file mcwish If mcwish exists (it should), continue on with the installation: make install.all Please let me know the results of this change on your system. >Thank You Tom. Talk to you tomorrow. Tom
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.