[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #WCV-139791]: Issue installing 6.11.2 when using DESTDIR in regutil
- Subject: [LDM #WCV-139791]: Issue installing 6.11.2 when using DESTDIR in regutil
- Date: Mon, 04 Mar 2013 10:59:47 -0700
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