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

20030318: ldm 6.0.2 build problem on RedHat 7.3



>From: Mark Tucker <address@hidden>
>Organization: Lyndon State College
>Keywords: 200303181314.h2IDEAB2010733 LDM-6.0.2 make RedHat 7.3 Linux

Mark,

>I downloaded the ldm source package from ftp.unidata.ucar.edu/pub/ldm
>
>   ldm-6.0.2.tar.Z     626 KB          03/07/03        20:25:00
>
>The configure process went without error.  Running make produces an error
>which appears to be the result of a missing libldm.a file.  I could not find
>this file anywhere in the source distribution.  Am I supposed to get this file
>or source from somewhere else?  Attached is the install.log file.
>
>The host is Zeus.lsc.vsc.edu running RedHat 7.3.

This is puzzling since RedHat 7.3 is a platform we have built LDM-6 on
for several months.

Unfortunately, the install.log file that you attached only starts at
the error run into during the make run.  Can you redo the configure
and make steps and send us the output from both the configure and make
steps?  This will help us understand what is going on on your machine.

Here is the configure output and the first part of the make output we
see on our RedHat 7.3 machine:

(daffy:ldm) 11 % cat /etc/redhat-release 
Red Hat Linux release 7.3 (Valhalla)

(daffy:ldm) 7 % ./configure
creating cache ./config.cache
checking for gcc... gcc
checking C compiler... works
checking the installation prefix... /local/ldm/ldm-6.0.2
checking domain name... unidata.ucar.edu
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for HP-UX... no
checking whether memory-mapping by region is appropriate... yes
checking the C preprocessor... works
checking for ar... ar
checking for perl... /usr/bin/perl
checking for POSIX shell... /bin/sh
checking for yacc... yacc
checking mmap()... yes
checking LDMHOME... /local/ldm
checking size of int... 4
checking size of long... 4
checking for ANSI C header files... yes
checking for size_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for ptrdiff_t... yes
checking for socklen_t... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for fsync... yes
checking for ftruncate... yes
checking for memmove... yes
checking for memcmp... yes
checking for rename... yes
checking for strerror... yes
checking for waitpid... yes
checking for strdup... yes
checking for seteuid... yes
checking for setenv... yes
checking for mmap... yes
checking for sig_atomic_t in signal.h... defined
checking for working const... yes
checking for st_blksize in struct stat... yes
checking for sigaction... yes
checking RPC and socket references... 
checking ulog defines... -DNO_REPLACE_SYSLOG
/dev/log: socket
-DLOGNAME_ISSOCK
checking for gdbm_open in -lgdbm... yes
checking for gdbm.h... yes
checking for manual-page index command... 
updating cache ./config.cache
creating ./config.status
creating macros.make
creating pqbinstats/mailpqstats
creating scour/scour
creating scripts/ldmadmin
creating scripts/ldmprods
creating scripts/ldmfail
creating scripts/netcheck
creating scripts/syscheck
creating scripts/ldmcheck
creating config/ldmconfig.h

(daffy:ldm) 8 % make
make LIBRARY=libldm.a archived_files
make[1]: Entering directory `/export/local/i686.linux/ldm/ldm-6.0.2/src'
echo 'const char* ldm_version = "'`cat VERSION`'";' >ldm_version.c
gcc -c -O    ldm_version.c
ar -ru libldm.a ldm_version.o
make[1]: Leaving directory `/export/local/i686.linux/ldm/ldm-6.0.2/src'
make[1]: Entering directory `/export/local/i686.linux/ldm/ldm-6.0.2/src'

Making `all' in directory /local/ldm/ldm-6.0.2/src/config

make[2]: Entering directory `/export/local/i686.linux/ldm/ldm-6.0.2/src/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/local/i686.linux/ldm/ldm-6.0.2/src/config'

Returning to directory /local/ldm/ldm-6.0.2/src

make[1]: Leaving directory `/export/local/i686.linux/ldm/ldm-6.0.2/src'
make[1]: Entering directory `/export/local/i686.linux/ldm/ldm-6.0.2/src'

Making `all' in directory /local/ldm/ldm-6.0.2/src/ulog

make[2]: Entering directory `/export/local/i686.linux/ldm/ldm-6.0.2/src/ulog'
gcc -c -O   -I../config ulog.c
ar -ru ../libldm.a ulog.o
make[3]: Entering directory `/export/local/i686.linux/ldm/ldm-6.0.2/src/ulog'
gcc -o hupsyslog -O   -I../config hupsyslog.c ../libldm.a  
make[3]: Leaving directory `/export/local/i686.linux/ldm/ldm-6.0.2/src/ulog'
make[2]: Leaving directory `/export/local/i686.linux/ldm/ldm-6.0.2/src/ulog'

Returning to directory /local/ldm/ldm-6.0.2/src


You will see from our make listing that libldm.a gets created just after
ulog.c gets compiled.

It might also be helpful to know what release of gcc you are using.
As a comparison, here is the gcc information from our RedHat 7.3
machine:

% gcc --version
2.96

Tom Yoksas

>From address@hidden Tue Mar 18 08:42:20 2003
 
I found that it is incredibly helpful if I build the software (make) before
trying to run the installation procedure (make install).  Everything seems to
be running now.  Sorry about that.

-- 

Mark Tucker
Systems Administrator
Meteorology Dept. 
Lyndon State College
http://apollo.lsc.vsc.edu
address@hidden
(802)-626-6328