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.
Dave, > I have a more concise statement of the problem that I reported above. When I > uncompressed and untarred ldm-6.11.5.tar.gz ("gunzip -c ldm-6.11.5.tar.gz | > tar xvd -"), all of the files and subdirectories ended up in ~/ldm-6.11.5 > instead of in ~/ldm-6.11.5/src. That is, there was no src subdirectory in > ldm-6.11.5. That's why running "make install", which I did from ~/ldm-6.11.5 > (because that's where all the files were), tried to put files into ~/bin, > ~/lib, ~/include, and ~/share instead of into the corresponding > subdirectories one level down, in ~/ldm-6.11.5/. Ah! That would cause the problem. > So, the easiest way around the problem was to uncompress/untar > ldm-6.11.5.tar.gz, relocate into ldm-6.11.5, create "src", move all other > files and subdirectories into src, relocate to src, and then proceed with the > usual installation. > > So the question is, why do the source files start out in ldm-6.11.5 instead > of in ldm-6.11.5/src? The GNU Automake tools are used to release-engineer the LDM package and they insist on creating a tarball without an "src" directory. This is why the instructions for building the package <http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/source-install-steps.html> create that directory using either pax(1) or a somewhat complicated command. It's a pain in the butt, but the benefits of using those tools outweigh their costs, on average. Kudos for figuring this out. > I've attached to source code bundle that I've been working with, in case it > turns out to be a different species from yours. > > --Dave > > ************************************************************ > * Dr. Dave Dempsey | ^ ___ \|/ * > * Dept. of Geosciences | ) ^ /||_||\ --0-- * > * San Francisco State University | ) ) / ||_|| \ /|\ * > * 1600 Holloway Ave. | ) ) / ||_|| \ * > * San Francisco, CA 94132 | ) ) / ||_|| \ ^ * > * | ) ) ) > ||_|| \ * > * Phone: (415) 338-7716 | ) ) )~||~||~~~~ \~~* > * FAX: (415) 338-7705 | ) ) ) ) ~ ~ ~ ~ ~ ~* > * Email: address@hidden | ) ) ) ) ) ~ ~ ~ ~ * > ************************************************************ Regards, Steve Emmerson Ticket Details =================== Ticket ID: EBA-558540 Department: Support LDM Priority: Normal Status: Closed