NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
This can be avoided if, instead of using tar -xzf ldm-6.12.12.tar.gz, you gunzip it and pipe it through pax, as in the 'ldm build from source' instructions on the Unidata web site: https://www.unidata.ucar.edu/software/ldm/ldm-current/basics/source-install-steps.html Specifically, gunzip -c ldm-6.12.14.tar.gz | pax -r '-s:/:/src/:' For what it's worth... Pete -- Pete Pokrandt - Systems Programmer UW-Madison Dept of Atmospheric and Oceanic Sciences 608-262-3086 - poker@xxxxxxxxxxxx ________________________________________ From: ldm-users-bounces@xxxxxxxxxxxxxxxx <ldm-users-bounces@xxxxxxxxxxxxxxxx> on behalf of daryl herzmann <akrherz@xxxxxxxxxxx> Sent: Tuesday, March 15, 2016 10:04 AM To: Steve Emmerson Cc: LDM Subject: Re: [ldm-users] make directory error at compile time 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 ./configure grep ^LDMHOME Makefile LDMHOME = /tmp daryl On Tue, 15 Mar 2016, Steve Emmerson wrote: > 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/ >> > -- /** * daryl herzmann * Systems Analyst III -- Iowa Environmental Mesonet * https://mesonet.agron.iastate.edu */
ldm-users
archives: