Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[ldm-users] make directory error at compile time

   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'
>
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: