[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[McIDAS #SOT-823494]: Compile crashes on machine
- Subject: [McIDAS #SOT-823494]: Compile crashes on machine
- Date: Sat, 26 Aug 2006 15:38:52 -0600
Hi Gilbert,
re:
> OK. I have an alternate office in case this one is down for any reason
> (tornado hits it, power/Internet outage, etc). So I am building McIDAS on
> a new Pentium 4, 3 GHZ machine with 512 MB of RAM (soon to be 1 GB).
> The machine is www.ehs.niu.edu (Environmental health and Safety, which I
> am a part of, across campus).
OK.
> Problem is...I ran with your instructions...and the compile crashed with:
>
> ---------- Forwarded message ----------
> Date: Fri, 25 Aug 2006 16:20:19 -0500 (CDT)
> From: McIDAS Software Account <address@hidden>
> To: address@hidden
> Subject: Logfile
>
> www-niu Mci-15$ tail -50 makelog
>
> else \
> true; \
> fi
> make[2]: Leaving directory `/home/mcidas/mcidas2006/tiff/libtiff'
> make[1]: Leaving directory `/home/mcidas/mcidas2006/tiff'
> make /home/mcidas/mcidas2006/tiff: done
> ./configure --prefix=/home/mcidas --with-libtiff=../tiff/libtiff
> creating cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for gcc... /usr/bin/gcc
> checking whether the C compiler (/usr/bin/gcc -O ) works... yes
> checking whether the C compiler (/usr/bin/gcc -O ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether /usr/bin/gcc accepts -g... yes
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for ld -shared ... yes
> checking for exp in -lm... yes
> checking how to run the C preprocessor... /usr/bin/gcc -E
> checking for ANSI C header files... yes
> checking for string.h... yes
> checking for strings.h... yes
> checking for stdlib.h... yes
> checking for inflateInit_ in -lz... yes
> checking for zlib.h... yes
> checking for jinit_compress_master in -ljpeg... yes
> checking for TIFFOpen in -ltiff... yes
> checking for TIFFMergeFieldInfo in -ltiff... yes
> checking for pj_init in -lproj... no
> checking for projects.h... no
> EPSG tables will be read from .csv files.
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating bin/Makefile
> creating geo_config.h
> configure /home/mcidas/mcidas2006/libgeotiff: done
>
> ##########################################
> Fri Aug 25 16:16:45 CDT 2006: BUILD BEGIN
> ##########################################
>
> ./mccomp -O intel -I. -I../netcdf/libsrc -I../hdf/hdf/src
> -I../hdf/mfhdf/libsrc -I../jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff -c
> convdlmc.c
> mccomp: Using default optimizations
> rm -f convdlmc.o
> gcc -c intel -O -I. -I../netcdf/libsrc -I../hdf/hdf/src -I../hdf/mfhdf/libsrc
> -I../jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff convdlmc.c
> gcc: intel: No such file or directory
> compile convdlmc.c: FAILED
>
> www-niu Mci-16$
>
>
> -------
> What could be wrong?
It looks like one of the environment variables that should be set
by reading definitions from ~mcidas/admin/mcidas_env.csh (or .sh
for Bash) is incorrect. I say this because the compile line
is odd/incorrect:
gcc -c intel -O -I. ...
> The password is temporarily now the same as weather2,
> etc.
I'll take a look.
Hmm... I just logged on and see that the environment variables look OK.
So, I CDed to ~mcidas/mcidas2006/src and setup to a fresh build:
<as 'mcidas'>
cd ~mcidas/mcidas2006/src
make clobber
make
The build stopped again, but this time the reason was obvious:
...
g77 -c -O -Wuninitialized -fno-automatic -ff90-intrinsics-hide -O -I.
-I../netcdf/libsrc -I../hdf/hdf/src -I../hdf/mfhdf/libsrc -I../jpeg -I../zlib
-I../tiff/libtiff -I../libgeotiff convdlmf.f
./mccomp: line 1226: g77: command not found
compile convdlmf.f: FAILED
The compiler 'g77' was not found in the PATH defined for 'mcidas':
www-niu Mci-12$ which g77
g77: Command not found.
www-niu Mci-13$ locate g77
/usr/share/vim/vim70/compiler/fortran_g77.vim
Since the the item found by locate is not a compiler, it looks like
your development environment is not quite correct. You should install
'g77' from an RPM and then try the build again. Please note that
it is possible that you are missing some other things that will be
needed for the build (e.g., X windows development, etc.).
Cheers,
Tom
****************************************************************************
Unidata User Support UCAR Unidata Program
(303) 497-8642 P.O. Box 3000
address@hidden Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage http://www.unidata.ucar.edu
****************************************************************************
Ticket Details
===================
Ticket ID: SOT-823494
Department: Support McIDAS
Priority: Normal
Status: Closed