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

20010125: McIDAS-X Build Problems (cont.)



>From: Roger Paillet <address@hidden>
>Organization: Cal State LA
>Keywords: 200101251907.f0PJ7fX27567 McIDAS-X

Roger,

>I fixed the last problem. Now I've run into the
>following problem. Alot of files compiled, then the
>following errors showed up at the end of the build.
>There was nothing in the makelog. I have no idea
>what's wrong.
>
>Thanks Again

My first question is whether or not you defined Unix environment
variables needed to build the netCDF component of the McIDAS-X
distribution.  Please review:

Notes and Warnings
http://www.unidata.ucar.edu/packages/mcidas/770/mcx/warnings_mcx.html

for information on what variables should be set and how to set them.
The page lists example settings for various supported operating
systems.

>make[1]: Entering directory
>`/space/mcidas/mcidas7.7/netcdf'
>make[2]: Entering directory
>`/space/mcidas/mcidas7.7/netcdf'
>
>Making `all' in directory
>/space/mcidas/mcidas7.7/netcdf/libsrc
>
>make[3]: Entering directory
>`/space/mcidas/mcidas7.7/netcdf/libsrc'
>: cru    libnetcdf.a attr.o dim.o error.o libvers.o
>nc.o ncio.o ncx.o putget.o string.o v1hpg.o v2i.o
>var.o
>: libnetcdf.a
>make[3]: Leaving directory
>`/space/mcidas/mcidas7.7/netcdf/libsrc'
>
>Returning to directory /space/mcidas/mcidas7.7/netcdf
>
>make[2]: Leaving directory
>`/space/mcidas/mcidas7.7/netcdf'
>Not making `fortran/all' because no FORTRAN compiler
>make[2]: Entering directory
>`/space/mcidas/mcidas7.7/netcdf'
>
>Making `all' in directory
>/space/mcidas/mcidas7.7/netcdf/ncdump
>
>make[3]: Entering directory
>`/space/mcidas/mcidas7.7/netcdf/ncdump'
>make[3]: *** No rule to make target
>`../libsrc/libnetcdf.a', needed by `ncdump'.  Stop.
>make[3]: Leaving directory
>`/space/mcidas/mcidas7.7/netcdf/ncdump'
>make[2]: *** [subdir_target] Error 1
>make[2]: Leaving directory
>`/space/mcidas/mcidas7.7/netcdf'
>make[1]: *** [ncdump/all] Error 2
>make[1]: Leaving directory
>`/space/mcidas/mcidas7.7/netcdf'
>make: *** [../netcdf/libsrc/libnetcdf.a] Error 2

It looks like the initial configure step in the mcidas7.7/netcdf
directories did not create the makefile needed to build ncdump.

Try the following:

<login as 'mcidas'>
cd mcidas7.7/netcdf
make distclean
cd ../src
make all

Tom