[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #EGS-350940]: LDM 6.12.10 Installation Error



James,

The tarball needs to be unpacked differently. It's created by the GNU 
automake(1) tools and, consequently, doesn't have the "src/" directory that's 
needed to support different runtime versions.

Log onto the system in question as the LDM user and carefully follow the 
instructions at 
<https://www.unidata.ucar.edu/software/ldm/ldm-6.12.10/basics/source-install-steps.html>.
 Pay particular attention to the use of the pax(1) utility or, if you don't 
have that utility, the use of the more complicated command that uses gunzip(1), 
mkdir(1), and mv(1).

> We are having trouble install the latest version of LDM on our server. For 
> one I can't complete the install as the ldm user because the install requires 
> that the "etc" directory to be written outside the ldm users home directory, 
> Example below. On top of that when I do go ahead and install it as a root 
> user the installation doesn't create the proper symbolic links as I've read 
> in previous trouble tickets that it should. Example of the Home directory 
> output below. And a symbolic like is created to a folder that doesn't exist. 
> the "src" folder which there is no "src" folder in the "ldm-6.12.10" folder. 
> Trying to run "ldmadmin" simply returns "Couldn't reset LDM registry?"
> 
> 
> James
> 
> 
> LDM Make Install Error
> 
> /bin/sh ../libtool  --tag=CC   --mode=link c99  -g -O2   -o regutil regutil.o 
> ../lib/libldm.la  -lxml2 -lz -lpthread -lm
> libtool: link: c99 -g -O2 -o .libs/regutil regutil.o  ../lib/.libs/libldm.so 
> -lxml2 -lz -lpthread -lm -Wl,-rpath -Wl,/opt/ldm/lib
> make[3]: Entering directory `/opt/ldm/ldm-6.12.10/regutil'
> /bin/mkdir -p '/opt/ldm/bin'
> /bin/sh ../libtool   --mode=install /usr/bin/install -c regutil '/opt/ldm/bin'
> libtool: install: /usr/bin/install -c .libs/regutil /opt/ldm/bin/regutil
> mkdir -p /opt/etc                                                             
>                                                     <- my home directory is 
> /opt/ldm
> mkdir: cannot create directory `/opt/etc': Permission denied
> make[3]: *** [/opt/etc] Error 1
> make[3]: Leaving directory `/opt/ldm/ldm-6.12.10/regutil'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/opt/ldm/ldm-6.12.10/regutil'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/opt/ldm/ldm-6.12.10/regutil'
> make: *** [install-recursive] Error 1
> 
> 
> 
> 
> LDM Home directory listing
> 
> address@hidden ldm]# ls -l
> total 4672
> drwxrwxr-x  2 ldm  ldm     4096 May 19 20:08 bin
> drwxrwxr-x  3 ldm  ldm     4096 May 19 20:08 include
> drwxr-xr-x 47 ldm  ldm     4096 May 19 20:01 ldm-6.12.10
> -rw-rw-r--  1 ldm  ldm  4756432 May 19 19:47 ldm-6.12.10.tar.gz
> drwxrwxr-x  2 ldm  ldm     4096 May 19 20:08 lib
> lrwxrwxrwx  1 root root      11 May 19 20:08 runtime -> ldm-6.12.10
> drwxrwxr-x  4 ldm  ldm     4096 May 19 20:08 share
> lrwxrwxrwx  1 root root      11 May 19 20:08 src -> runtime/src <---- no 
> source directory in the ldm-6.12.10 folder! Example below
> drwxr-xr-x  5 root root    4096 May 19 20:08 var
> address@hidden ldm]# cd ..
> 
> 
> LDM-6.12.10 Folder
> 
> address@hidden ~]$ ls -l ldm-6.12.10
> total 1760
> -rw-r--r-- 1 ldm ldm  23930 May 18 14:46 acinclude.m4
> -rw-r--r-- 1 ldm ldm  40207 May 18 14:48 aclocal.m4
> -rw-r--r-- 1 ldm ldm    160 May 18 14:46 BACKLOG
> drwxr-xr-x 2 ldm ldm   4096 May 18 14:56 build-aux
> -rw-r--r-- 1 ldm ldm 114784 May 18 14:46 CHANGE_LOG
> -rw-rw-r-- 1 ldm ldm   9177 May 19 19:59 config.h
> -rw-r--r-- 1 ldm ldm   8499 May 18 14:48 config.h.in
> -rw-rw-r-- 1 ldm ldm  96125 May 19 19:59 config.log
> -rwxrwxr-x 1 ldm ldm  79678 May 19 19:59 config.status
> -rwxr-xr-x 1 ldm ldm 677100 May 18 14:48 configure
> -rw-r--r-- 1 ldm ldm  22182 May 18 14:46 configure.ac
> -rw-r--r-- 1 ldm ldm   1955 May 18 14:46 COPYRIGHT
> -rwxr-xr-x 1 ldm ldm    619 May 18 14:46 ensureLdmhomeLinks
> -rwxr-xr-x 1 ldm ldm    156 May 18 14:46 ensureRpcEntry
> -rwxr-xr-x 1 ldm ldm    173 May 18 14:46 ensureServicesEntry
> -rwxr-xr-x 1 ldm ldm   1676 May 18 14:46 ensureSyslogEntry
> -rwxr-xr-x 1 ldm ldm    612 May 18 14:46 ensureVar
> -rwxr-xr-x 1 ldm ldm    874 May 18 14:46 extractDecls
> drwxr-xr-x 3 ldm ldm   4096 May 19 19:59 fauxPq
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 feedme
> drwxr-xr-x 4 ldm ldm   4096 May 19 19:59 gempak
> drwxr-xr-x 3 ldm ldm   4096 May 19 19:59 grib2
> drwxr-xr-x 4 ldm ldm   4096 May 19 19:59 gribinsert
> drwxr-xr-x 6 ldm ldm   4096 May 19 20:08 html
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 hupsyslog
> -rw-r--r-- 1 ldm ldm  13060 May 18 14:47 ldm-50x50.xpm
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 ldmd
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 ldmping
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 ldmsend
> -rw-rw-r-- 1 ldm ldm  27685 May 19 19:59 ldm.spec
> -rw-r--r-- 1 ldm ldm  27687 May 18 14:47 ldm.spec.in
> drwxr-xr-x 3 ldm ldm   4096 May 19 20:01 lib
> -rwxrwxr-x 1 ldm ldm 297278 May 19 19:59 libtool
> drwxr-xr-x 2 ldm ldm   4096 May 18 14:56 m4
> -rw-rw-r-- 1 ldm ldm  41662 May 19 20:01 Makefile
> -rw-r--r-- 1 ldm ldm  10771 May 18 14:46 Makefile.am
> -rw-r--r-- 1 ldm ldm  42401 May 18 14:48 Makefile.in
> drwxr-xr-x 5 ldm ldm   4096 May 19 19:59 mcast_lib
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 misc
> drwxr-xr-x 3 ldm ldm   4096 May 19 19:59 mldm_sender
> drwxr-xr-x 5 ldm ldm   4096 May 19 19:59 noaaport
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 notifyme
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 pq
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqact
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqcat
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqcheck
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqcopy
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqcreate
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqexpire
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqing
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 pqinglib
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqinsert
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqmon
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqsend
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqsurf
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 pqutil
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 protocol
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 protocol2
> -rw-r--r-- 1 ldm ldm   2767 May 18 14:46 README
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 regex
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 registry
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 regutil
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 rpc
> -rw-r--r-- 1 ldm ldm   1958 May 18 14:47 rpmUserActions
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 rtstats
> drwxr-xr-x 2 ldm ldm   4096 May 19 20:08 scour
> drwxr-xr-x 2 ldm ldm   4096 May 19 20:08 scripts
> -rw-rw-r-- 1 ldm ldm     23 May 19 19:59 stamp-h1
> drwxr-xr-x 2 ldm ldm   4096 May 19 19:59 test
> -rw-r--r-- 1 ldm ldm   1133 May 18 14:46 TODO
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 uldbutil
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:01 ulog
> drwxr-xr-x 4 ldm ldm   4096 May 19 20:08 ulogger
> address@hidden ~]$
> 
> 

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: EGS-350940
Department: Support LDM
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.