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.
Eric, > I've ran into an issue trying to install ldm-6.11.2 while using "make > install DESTDIR=/tmp", while attempting to create an RPM. > > Basically, it looks as if ldm-6-11-2/regutil/Makefile.am is using a > variable ETC_DIR which expands to include DESTDIR twice, as follows: > > $(ETC_DIR) > $(DESTDIR)$(sysconfdir) > $(DESTDIR)$(LDMHOME)/etc > $(DESTDIR)$(DESTDIR)/usr/local/ldm/etc > > I'm not all that familiar with this process. I'd appreciate if someone > could confirm. I'll attach the patch I'm now using for use in a RPM spec > file. I believe your patch is correct. The "install-exec-local" rule should also be changed to install-exec-local: regpar.tab regutil $(DESTDIR)$(ETC_DIR) $(PERL) $(srcdir)/installRegistry regpar.tab ./regutil \ $(ETC_DIR)/ldmadmin-pl.conf $(DESTDIR)$(ETC_DIR) These changes will be in the next release. > Thanks, > Eric Regards, Steve Emmerson Ticket Details =================== Ticket ID: WCV-139791 Department: Support LDM Priority: Normal Status: Closed