This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Jim, There are problems with 5.0.6 on Linux, there is a linux tar file in the ftp directory that will work. % ftp ftp.unidata.ucar.edu % cd pub/ldm5 % get linux.tar.Z If you are still having compiling problems, there is a binary at: % cd pub/binary/linux_2.2-i686/ldm-5.0.8.tar.Z But it's better to build from source because of the diferences in Linux. If all else fails, I'll take a look at it. Robb... > > ------- Forwarded Message > > >To: address@hidden > >cc: address@hidden > >From: "Jim St. John" <address@hidden> > >Subject: LDM Install on Linux > >Organization: . > >Keywords: 199906031435.IAA19080 > > I'm sorry to keep bothering you about this, but I've been trying to get LDM > installed and working on a PC with Red Hat Linux for avbout 3 weeks now with > essentially no success. Compounding the problem I have to do this more or > less > in my spare time as we're getting ready for a mojor field experiment and I'm > responsible for a lot of the routine BS in support of the experiment. As this > grant actually pays my salary it has to come first. > > We gave up getting it work under RHL 6.0. Mark Keever installed version 5.2 > and I started again. (Mark has been at training nad is catching up on high > priority problems and has not been available at all times to assist me. I > followed the instructions on the website for pre-installation and > installation, > but I'm still bombing out. > > Here is the output from my configure command: > > [ldm@lou]$ ./configure > loading cache ./config.cache > checking for xlc... (cached) cc > checking C compiler... works > checking the installation prefix... /home/ldm/ldm-5.0.6 > checking domain name... eas.gatech.edu > checking how to run the C preprocessor... (cached) cc -E > checking for AIX... no > checking for HP-UX... no > checking the C preprocessor... works > checking for ar... (cached) ar > checking for perl... (cached) /usr/bin/perl > checking for POSIX shell... /bin/sh > checking mmap()... yes > checking for ranlib... (cached) ranlib > checking for -lsun... (cached) no > checking LDMHOME... /program/ldm > checking LDM source directory... /home/ldm/ldm-5.0.6/src > checking whether cross-compiling... (cached) no > checking size of int... (cached) 4 > checking size of long... (cached) 4 > checking for ANSI C header files... (cached) yes > checking for size_t... (cached) yes > checking for off_t... (cached) yes > checking for ssize_t... (cached) yes > checking for ptrdiff_t... (cached) yes > checking for atexit... (cached) yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking for fsync... (cached) yes > checking for ftruncate... (cached) yes > checking for memmove... (cached) yes > checking for memcmp... (cached) yes > checking for rename... (cached) yes > checking for strerror... (cached) yes > checking for waitpid... (cached) yes > checking for strdup... (cached) yes > checking for seteuid... (cached) yes > checking for setenv... (cached) yes > checking for mmap... (cached) yes > checking for sig_atomic_t in signal.h... defined > checking for working const... (cached) yes > checking for st_blksize in struct stat... (cached) yes > checking for sigaction... (cached) yes > checking RPC and socket references... > checking ulog defines... -DNO_REPLACE_SYSLOG > /dev/log: socket > -DLOGNAME_ISSOCK > creating ./config.status > creating Makefile > creating ansi/Makefile > creating rpc/Makefile > creating libregexp/Makefile > creating gdbm/Makefile > creating ulog/Makefile > creating misc/Makefile > creating misc/paths.h > creating protocol/Makefile > creating pq/Makefile > creating pqact/Makefile > creating pqcat/Makefile > creating pqutil/Makefile > creating pqcreate/Makefile > creating pqexpire/Makefile > creating pqing/Makefile > creating pqsend/Makefile > creating pqbinstats/Makefile > creating pqbinstats/mailpqstats > creating pqinsert/Makefile > creating pqsurf/Makefile > creating server/Makefile > creating ldmping/Makefile > creating scripts/Makefile > creating scripts/ldmadmin > creating scripts/ldmprods > creating scripts/ldmfail > creating scripts/netcheck > creating scripts/syscheck > creating scripts/ldmcheck > creating notifyme/Makefile > creating send/Makefile > creating feedme/Makefile > creating scour/Makefile > creating config/ldmconfig.h > config/ldmconfig.h is unchanged > misc/paths.h is okay > > > Here is the ouput from make install: > > [ldm@lou]$ make install > make[1]: Entering directory `/program/ldm/ldm-5.0.6/src' > Making `install' in /home/ldm/ldm-5.0.6/src/rpc > make[2]: Entering directory `/program/ldm/ldm-5.0.6/src/rpc' > cc -g -I../config -I/home/ldm/ldm-5.0.6/include -DHAVE_CONFIG_H > -I/home/ldm/ldm-5.0.6/src -c -o clnt_generic.o clnt_generic.c > clnt_generic.c: In function `clnt_create': > clnt_generic.c:53: argument `hostname' doesn't match prototype > /home/ldm/ldm-5.0.6/src/rpc/rpc.h:34: prototype declaration > clnt_generic.c:53: argument `prog' doesn't match prototype > /home/ldm/ldm-5.0.6/src/rpc/rpc.h:34: prototype declaration > clnt_generic.c:53: argument `vers' doesn't match prototype > /home/ldm/ldm-5.0.6/src/rpc/rpc.h:34: prototype declaration > clnt_generic.c:53: argument `proto' doesn't match prototype > /home/ldm/ldm-5.0.6/src/rpc/rpc.h:34: prototype declaration > clnt_generic.c:94: warning: passing arg 3 from incompatible pointer type > clnt_generic.c:103: warning: passing arg 3 from incompatible pointer type > make[2]: *** [clnt_generic.o] Error 1 > make[2]: Leaving directory `/program/ldm/ldm-5.0.6/src/rpc' > make[1]: *** [_sub] Error 1 > make[1]: Leaving directory `/program/ldm/ldm-5.0.6/src' > make: *** [libs] Error 2 > > I'm not sufficiently conversent in Linux or Unix to see what I'm doing wrong. > I'm beginning to think that perhaps there is a machine problem since the > older > version of Linux is still giving us problems. Have tohers had these kinds of > problems installing LDM on Linux? I'm beginning to have doubts aout all the > Linux hype I've been hearing. > > Anyway if you can give me any advice on how to proceed before I have to give > up > on this project, I'd appreciate it. > > Jim > > -- > ********************************************************* > * Dr. Jim St. John * > * Research Scientist * > * School of Earth and Atmospheric Sciences * > * Georgia Institute of Technology * > * Phone: 404-894-1754 * > * Fax: 404-894-1106 * > * e-mail: address@hidden * > * Homepage: http://louisxiv.eas.gatech.edu/~stjohn * > ********************************************************* > > > ------- End of Forwarded Message > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================