Re: [ldm-users] make directory error at compile time

  • To: Steve Emmerson <emmerson@xxxxxxxx>
  • Subject: Re: [ldm-users] make directory error at compile time
  • From: daryl herzmann <akrherz@xxxxxxxxxxx>
  • Date: Tue, 15 Mar 2016 10:04:37 -0500
  • Authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23
Hi Steve,

I believe this happens when you extract LDM and then not move it 'down' another directory to src/. For example:

mkdir /tmp/ldm
cd /tmp/ldm
tar -xzf ldm-6.12.14.tar.gz
cd ldm-6.12.14
grep ^LDMHOME Makefile
LDMHOME = /tmp


On Tue, 15 Mar 2016, Steve Emmerson wrote:


Your problem is consistent with $LDMHOME being set to "/home" (rather than
"/home/ldm") when the configure(1) script was executed.

Steve Emmerson

On Mon, Mar 14, 2016 at 10:59 PM, Donna Cote <d-cote@xxxxxxxx> wrote:

   I found out why. $HOME was correctly set to /home/ldm but when I made
$LDMHOME=/home/ldm then this problem does not appear.

We have set up our LDM systems with LDMHOME=/home/ldm

So, why do I see an error that the directory /home/etc cannot be made?

 This error seems to cause the location of the file regutil.xml to be in
the wrong place

[ldm@ldm3 ~]$ regutil
regutil ERROR: No such file or directory
regutil ERROR: [backend.c:159] Couldn't open file
"/home/etc/registry.xml" for reading
regutil ERROR: [registry.c:537] Couldn't synchronize node "/"
regutil ERROR: [registry.c:851] Couldn't get value of key "/"

[ldm@ldm3 ~]$

So, why do I see an error that the directory /home/etc cannot be made?

make[2]: Entering directory `/home/ldm/ldm-6.12.14/src/regutil'
libtool: link: c99 -g -O2 -o .libs/regutil regutil.o
 ../lib/.libs/ -lxml2 -lz -lpthread -lm -Wl,-rpath
make[3]: Entering directory `/home/ldm/ldm-6.12.14/src/regutil'
 /bin/mkdir -p '/home/ldm/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c regutil
libtool: install: /usr/bin/install -c .libs/regutil /home/ldm/bin/regutil
mkdir -p /home/etc
mkdir: cannot create directory `/home/etc': Permission denied
make[3]: *** [/home/etc] Error 1
make[3]: Leaving directory `/home/ldm/ldm-6.12.14/src/regutil'
make[2]: Leaving directory `/home/ldm/ldm-6.12.14/src/regutil'
make[1]: Leaving directory `/home/ldm/ldm-6.12.14/src/regutil'

ldm-users mailing list
For list information or to unsubscribe,  visit:

 * daryl herzmann
 * Systems Analyst III -- Iowa Environmental Mesonet
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: