Hi, re: > I hope all is well! Here I am back for a solution to this problem. With your > suggestion > I tried installing an older version of (ldm-6.9.8) with the following > configure line. OK, ready... re: > ./configure --enable-logging=local0 --disable-max-size > make > make install > > Then I tried to install the ldm-mcidas-2012 using the following export > variables and > then run configure and make. I still am confused why we need export > LD_MCIDAS='-L${MCIHOME}/lib -lmcidas' if mcidas-x is not required to install > ldm-mcidas. > You further investigation and help is appreciated. NB: you asked to try ldm > version > 6.12, I tried it with ldm version 6.9, I donât know if that makes a > difference. > > export LDMHOME=/usr/local/ldm > export MCIHOME=/usr/local/ldm/ldm-mcidas-2012 > export NETCDFHOME=/usr/local/ldm/opt/netcdf > export CC=gcc > export CPPFLAGS='-DNDEBUG -Df2dFortran' > export FC=g77 > export FFLAGS='-O -Wuninitialized -fno-automatic' > export CPP_LDM=-I${LDMHOME}/include > export LD_LDM=-L${LDMHOME}/lib -lldm > export CPP_MCIDAS='-I${MCIHOME}/inc' # site > specific > export LD_MCIDAS='-L${MCIHOME}/lib -lmcidas' # site specific > export CPP_NETCDF=-I${NETCDFHOME}/include # site > specific > export LD_NETCDF=-L${NETCDFHOME}/lib -lnetcdf # site specific > export LD_MATH=-lm This looks OK. Quick sanity check: Is there a libldm.a or libldm.sh in /usr/local/ldm? re: > ./configure > make > It failed with the following error. > gcc -O -o area2png alarm.o commonsubs.o imgsubs.o pngsubs.o rtesubs.o > area2png.o > -L/usr/local/ldm/lib -lX11 ../port/misc/libudport.a > -L/usr/local/ldm/opt/netcdf/lib > -L../libpng -lpng -L../zlib -lz -lm || (rm -f area2png; exit 1) > alarm.o: In function `alarm_on': > alarm.c:(.text+0x79): undefined reference to `udebug' > imgsubs.o: In function `ReplaceToken': > imgsubs.c:(.text+0x23): undefined reference to `udebug' > imgsubs.c:(.text+0x57): undefined reference to `serror' > imgsubs.c:(.text+0xe0): undefined reference to `udebug' > imgsubs.o: In function `GiniFileName': > imgsubs.c:(.text+0x28b): undefined reference to `udebug' > imgsubs.c:(.text+0x3b0): undefined reference to `uerror' > imgsubs.c:(.text+0x407): undefined reference to `udebug' > imgsubs.c:(.text+0x41e): undefined reference to `udebug' > imgsubs.c:(.text+0x435): undefined reference to `udebug' If libldm.a (or libldm.so) exists in /usr/local/ldm.lib, and it is readable, it should have been searched when trying to find the undefined references in your list: udebug, uerror and serror. If /usr/local/ldm/lib/libldm.a exists, then what is the result of: <as 'ldm'> cd ~ldm nm lib/libldm.a | grep udebug 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: LMZ-903767 Department: Support ldm-mcidas Priority: Normal Status: Open =================== 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.
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.