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

[LDM #LVZ-644152]: LDM install with noaaport option



Hi Vivian,

re:
> I have tried to just install "ldm-6.11.6" with the option of noaa-port.  I am
> following the directions given on your LDM site along with the reference to
> noaaport.

OK.  I just built LDM 6.11.6 from source in my CentOS 6.5 64-bit virtual 
machine,
and the build went without problems ** after I installed two needed packages **:

<as 'root'>
yum install libpng-devel libxml2-devel

Also, I note that the compilation lines in my build are different
from the ones you included in the 'bad-noaaport-install' file that you included
in your inquiry.  One instance:

CentOS 6.5:
 ...
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-DLDMHOME='"/home/ldm"' -I.. -I../grib2 -I../ulog -I../protocol 
-I/usr/include/libxml2  -g -O2 -MT lib_la-cfltbop.lo -MD -MP -MF 
.deps/lib_la-cfltbop.Tpo -c -o lib_la-cfltbop.lo `test -f 'cfltbop.c' || echo 
'./'`cfltbop.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DLDMHOME=\"/home/ldm\" -I.. 
-I../grib2 -I../ulog -I../protocol -I/usr/include/libxml2 -g -O2 -MT 
lib_la-cfltbop.lo -MD -MP -MF .deps/lib_la-cfltbop.Tpo -c cfltbop.c  -fPIC 
-DPIC -o .libs/lib_la-cfltbop.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DLDMHOME=\"/home/ldm\" -I.. 
-I../grib2 -I../ulog -I../protocol -I/usr/include/libxml2 -g -O2 -MT 
lib_la-cfltbop.lo -MD -MP -MF .deps/lib_la-cfltbop.Tpo -c cfltbop.c -o 
lib_la-cfltbop.o >/dev/null 2>&1
 ...

vs your RedHat 6.5:
 ...
/bin/sh ../libtool  --tag=CC   --mode=compile c89 -DHAVE_CONFIG_H -I. -I..  
-DLDMHOME='"/usr/local/ldm"' -I.. -I../g2 -I/usr/local/ldm/include -DNDEBUG  -O 
-m64 -MT lib_la-cfltbop.lo -MD -MP -MF .deps/lib_la-cfltbop.Tpo -c -o 
lib_la-cfltbop.lo `test -f 'cfltbop.c' || echo './'`cfltbop.c
 c89 -DHAVE_CONFIG_H -I. -I.. -DLDMHOME=\"/usr/local/ldm\" -I.. -I../g2 
-I/usr/local/ldm/include -DNDEBUG -O -m64 -MT lib_la-cfltbop.lo -MD -MP -MF 
.deps/lib_la-cfltbop.Tpo -c cfltbop.c  -fPIC -DPIC -o .libs/lib_la-cfltbop.o
 c89 -DHAVE_CONFIG_H -I. -I.. -DLDMHOME=\"/usr/local/ldm\" -I.. -I../g2 
-I/usr/local/ldm/include -DNDEBUG -O -m64 -MT lib_la-cfltbop.lo -MD -MP -MF 
.deps/lib_la-cfltbop.Tpo -c cfltbop.c -o lib_la-cfltbop.o >/dev/null 2>&1
 ...

Note the difference in '--mode-compile' for our two machines:

--mode=compile gcc

vs

--mode=compile c89

Question:

- is it possible that CC was defined to be 'c89' in the environment in which 
you ran 'configure'?

  If yes, I would try undefining CC (and any other extraneous defines) and then 
retrying
  your build.

re:
> Just install the LDM  version with noaaport did not start the multicast prots,

In order to run the NOAAPort ingesters, one needs to add appropriate EXEC lines 
to one's
~ldm/etc/ldmd.conf file.  Did you add those lines to your 'ldmd.conf' file?

re:
> so I
> decided that I may need to load the noaaport software version 1.7.1 and 
> compile and install.

No, this is not needed or desired.  Let's solve the problem of building the 
NOAAPort
portion of the package with LDM-6.11.6.

re:
> But, I keep getting this error no matter what remedies I try to use.
> Mostly installing packages or modifying the ldmd.conf file.

The file you attached to your inquiry indicates a problem building a portion of
the LDM installation.  I would expect that the build would not have proceeded to
conclusion with the errors indicated IF, in fact, the errors were part of the 
LDM
build (I suspect that the log file snippit was from the build of NOAAPort 
v1.7.1).

re:
> I have attached the errors I am getting.  Basically LDM starts but because the
> multicast network does not start, there is no data.

Is it possible that the file you attached was captured from your attempt to 
build
NOAAPort v1.7.1?  If yes, you should remove that attempt as fully as possible
before re-attempting to build LDM-6.11.6.

re:
> What am I missing or can you direct me to documentation?

Please start with a clean slate and then capture the output of the build attempt
into a log file and then send us that log file.  For example:

<as 'ldm'>
cd ~ldm
rm -rf ldm-6.11.6

gunzip -c ldm-6.11.6.tar.gz | pax -r '-s:/:/src/:'

cd ldm-6.11.6/src

./configure --with-noaaport          <- this will create the file config.log
make > make.log 2>&1                 <- this will create the file make.log

Then send us 'config.log' and 'make.log' in a follow-up email.

re:
> Thank You Vivian LeFebvre

No worries.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: LVZ-644152
Department: Support LDM
Priority: Normal
Status: Open