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

20000621: ldm-mcidas-7.6.3 problem



>From: Harry Edmon <address@hidden>
>Organization: University of Washington
>Keywords: 200006211950.e5LJoMT17665 ldm-mcidas 7.6.3

Harry,

>I have a problem on my Sparc SunOS 5.6 system.

I made binary distribution for ldm-mcidas 7.6.3 available for this OS.

>When I type "make", everything
>makes file.

The output you include below shows that the make was trying to build
area2png when if failed.  This should have been made at the 'make'
step, so I am confused.

>When I type "make install" I get:
>
>+ make decoders_install whatis 
>
>making `install' in directory /home/disk/ldm/ldm-mcidas-7.6.3/src/port
>
>
>making `install' in directory /home/disk/ldm/ldm-mcidas-7.6.3/src/port/misc
>
>make  /home/disk/ldm/ldm-mcidas-7.6.3/lib
>LIBDIR=/home/disk/ldm/ldm-mcidas-7.6.3/lib
>`/home/disk/ldm/ldm-mcidas-7.6.3/lib' is updated.
>ar rcuv /home/disk/ldm/ldm-mcidas-7.6.3/lib/libudport.a uddummy.o
>ranlib /home/disk/ldm/ldm-mcidas-7.6.3/lib/libudport.a
>no need to ranlib anymore

After running make, the libudport.a library should have been made.  It is
strange that it was being updated during the make install step.

>returning to directory /home/disk/ldm/ldm-mcidas-7.6.3/src/port
>
>
>making `install' in directory /home/disk/ldm/ldm-mcidas-7.6.3/src/port/cfortra
> n
>
>
>returning to directory /home/disk/ldm/ldm-mcidas-7.6.3/src/port
>
>`install' is updated.
>
>returning to directory /home/disk/ldm/ldm-mcidas-7.6.3/src
>
>
>making `install' in directory /home/disk/ldm/ldm-mcidas-7.6.3/src/decode
>
>cc -o area2png alarm.o pngsubs.o area2png.o -L/usr/local/ldm/lib -lldm -lX11
>../port/misc/libudport.a -lnetcdf -L../libpng -lpng -L../zlib -lz -R/usr/ucbli
> b
>-L/usr/ucblib -lrpcsoc -lnsl -lsocket -lsocket  -lm || (rm -f area2png; exit 1
> )
>ld: fatal: file ../port/misc/libudport.a: cannot open file: No such file or
>directory

So, the extra 'ar rcuv /home/disk/ldm/ldm-mcidas-7.6.3/lib/libudport.a 
uddummy.o'
step seems to have hammered libudport.a.  This is the cause of the failure.

>*** Error code 1
>make: Fatal error: Command failed for target `area2png'
>Current working directory /home/disk/ldm/ldm-mcidas-7.6.3/src/decode
>*** Error code 1
>make: Fatal error: Command failed for target `installed_binfiles'
>Current working directory /home/disk/ldm/ldm-mcidas-7.6.3/src/decode
>*** Error code 1
>make: Fatal error: Command failed for target `decode/install'
>Current working directory /home/disk/ldm/ldm-mcidas-7.6.3/src
>*** Error code 1
>make: Fatal error: Command failed for target `install'

At this point, I would:

cd src
make distclean
ls port/misc/*.o               <- to see if something is screwed up
./configure
make
make test
make install

Tom

>From address@hidden Wed Jun 21 14:43:35 2000
>Subject: Re: 20000621: ldm-mcidas-7.6.3 problem

Your last suggestion worked fine.  Thanks.

--
Dr. Harry Edmon                 E-MAIL: address@hidden
(206) 543-0547                  FAX:    (206) 543-0308
Dept of Atmospheric Sciences
University of Washington, Box 351640, Seattle, WA 98195-1640