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.
I've never understood why ldm has to have the extra "move it down" step described. This is inconsistent with nearly all other open source packages that are extracted from tar.gz files. Couldn't it be packaged with in a src directory already inside the tar file? On 3/15/16, 10:04 AM, "ldm-users-bounces@xxxxxxxxxxxxxxxx on behalf of daryl herzmann" <ldm-users-bounces@xxxxxxxxxxxxxxxx on behalf of akrherz@xxxxxxxxxxx> wrote: >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: