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

  • To: Donna Cote <d-cote@xxxxxxxx>
  • Subject: Re: [ldm-users] make directory error at compile time
  • From: Steve Emmerson <emmerson@xxxxxxxx>
  • Date: Tue, 15 Mar 2016 08:54:05 -0600
Donna,

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

Regards,
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/libldm.so -lxml2 -lz -lpthread -lm -Wl,-rpath
>> -Wl,/home/ldm/lib
>> 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
>> '/home/ldm/bin'
>> 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
> ldm-users@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: