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

Re: 20001201: LDM 5.1.2 build problem on FBSD 4.2



Unidata Support wrote:
> 
> ------- Forwarded Message
> 
> >To: address@hidden
> >From: John Nordlie <address@hidden>
> >Subject: LDM 5.1.2 build problem on FBSD 4.2
> >Organization: UCAR/Unidata
> >Keywords: 200012012217.eB1MHfo25195
> 
> Greetings.
>         I'm having trouble setting up LDM 5.1.2 on a FreeBSD intel
> pentium 90 box.  The system is fresh (just did a clean install of
> FreeBSD 4.2 this morning).  I was working through the LDM installation
> manual using the listed defaults for ldm shell, location, tweaking the
> system files, etc.  I got partway through the 'Compile the Distribution'
> section of the source install but the system barfs during the
> 'make install'.  Here is a screen dump starting from the ./configure
> script:
> 
> %setenv LDMHOME /usr/local/ldm
> %./configure
> creating cache ./config.cache
> checking for xlc... no
> checking for c89... c89
> checking C compiler... works
> checking the installation prefix... /usr/local/ldm/ldm-5.1.2
> checking domain name... rwic.und.edu
> checking how to run the C preprocessor... c89 -E
> checking for AIX... no
> checking for HP-UX... no
> checking whether memory-mapping by region is appropriate... no
> 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 for yacc library...
> checking for yyerror() in default library(s)... no
> checking for yyerror() in -ly... yes
> checking mmap()... yes
> checking LDMHOME... /usr/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... /dev/log is not a socket
> checking for gdbm_open in -lgdbm... no
> configure: warning: GDBMLIB not set
> checking for dbm_open... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating config/Makefile
> creating ulog/Makefile
> creating misc/Makefile
> creating protocol/Makefile
> creating pq/Makefile
> creating pqact/Makefile
> creating pqcat/Makefile
> creating pqmon/Makefile
> creating pqutil/Makefile
> creating pqcreate/Makefile
> creating pqexpire/Makefile
> creating pqing/Makefile
> creating pqsend/Makefile
> creating pqbinstats/Makefile
> creating pqbinstats/mailpqstats
> creating pqinsert/Makefile
> creating pqsurf/Makefile
> creating server/Makefile
> creating ldmping/Makefile
> creating scripts/Makefile
> creating scripts/ldmadmin
> creating scripts/ldmprods
> creating scripts/ldmfail
> creating scripts/netcheck
> creating scripts/syscheck
> creating scripts/ldmcheck
> creating notifyme/Makefile
> creating send/Makefile
> creating feedme/Makefile
> creating scour/Makefile
> creating config/ldmconfig.h
> 
> %make install
> mkdir /usr/local/ldm/ldm-5.1.2/bin
> mkdir /usr/local/ldm/ldm-5.1.2/include
> mkdir /usr/local/ldm/ldm-5.1.2/lib
> mkdir /usr/local/ldm/ldm-5.1.2/man
> mkdir /usr/local/ldm/ldm-5.1.2/man/man1
> mkdir /usr/local/ldm/ldm-5.1.2/man/man3
> cp: libldm.a: No such file or directory
> *** Error code 1 (ignored)
> 
> Making `install' in directory /usr/local/ldm/ldm-5.1.2/src/config
> 
> updated /usr/local/ldm/ldm-5.1.2/include/ldmconfig.h
> 
> Returning to directory /usr/local/ldm/ldm-5.1.2/src
> 
> Making `install' in directory /usr/local/ldm/ldm-5.1.2/src/ulog
> 
> "Makefile", line 114: Missing dependency operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> Stop in /usr/local/ldm/ldm-5.1.2/src.
> *** Error code 1
> 
> Stop in /usr/local/ldm/ldm-5.1.2/src.
> %
> 
> Line 114 in ldmd-5.1.2/src/ulog/Makefile is:
> $(LIBRARY)(ulog.o): ulog.c ulog.h ../config/ldmconfig.h
> 
> the ldmdconfig.h file exists in the directory specified.  The system
> has plenty of free disk space.  Any ideas?
> 
> =========================================================================
> ==)----------                   |                           ----------(==
> John Nordlie   N0RNB            |     Regional Weather Information Center
> address@hidden            |              University of North Dakota
> 701-777-6112 / 701-777-3888 fax | PO Box 9007, Grand Forks, ND 58202-9007
> http://people.aero.und.edu/~nordlie/
>                                 |
>      C Program.                 |       "If you ask me, most sports would
>      C Program Run.             |  benefit from an infusion of rocketry."
>      Run, Dammit, Run!          |                 -- Jason Fox, 'Foxtrot'
> ==)----------      #include <std.disclaimer.h>              ----------(==
> =========================================================================
> 
> ------- End of Forwarded Message

Hi John,

Would you please send me the Makefile in
/usr/local/ldm/ldm-5.1.2/src/ulog?  I'd like to see the
lines around line 114.   (114 may well be the last line in
this file.) 

Also, which 'make' are you using?  (Do 'which make' at the
command line.)  And, do you have any other 'make' available
on your machine?  If you do, I would try another one.  I
suspect a 'make' variant idiosyncrasy.

Can you make in any other directory below src?  Or do they
all fail on the first dependency line?

Anne
-- 
***************************************************
Anne Wilson                     UCAR Unidata Program            
address@hidden                 P.O. Box 3000
                                  Boulder, CO  80307
----------------------------------------------------
Unidata WWW server       http://www.unidata.ucar.edu/
****************************************************