[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030102: FreeBSD mods made by Plymouth on LDM
- Subject: 20030102: FreeBSD mods made by Plymouth on LDM
- Date: Fri, 03 Jan 2003 08:37:42 -0700
Steve,
I know you already got Ted Wisniewski's email, but I wanted to add
a couple of bits.
As you have seen, Ted is also using gmake to build his 5.2- versions of
the LDM, not make. He is also making a change to configure that I did
not know about. Since I was able to help Purdue get LDM 5.2.2 working
on their FreeBSD 4.5 system, I don't think that the configure mod is
really necessary.
Also, I remember that LDM logging through syslog has not been working
properly for Jim. He ended up specifying a log file on each LDM
process that logs through the -l flag. I found a mod to ulog.c in
our tracking system that I passed along to Purdue, but I don't know
if this actually fixed the syslog logging:
src/ulog/ulog.c
change:
#ifdef _DEV_CONSLOG
#define ULOGNAME "/dev/conslog"
#else
#define ULOGNAME "/dev/log"
#endif /* !_DEV_CONSLOG */
#endif
to:
#ifdef _DEV_CONSLOG
#define ULOGNAME "/dev/conslog"
#else
# if defined(__FreeBSD__)
# define ULOGNAME "/var/run/log"
# else
# define ULOGNAME "/dev/log"
# endif
#endif /* !_DEV_CONSLOG */
#endif
I would be very interested in building 5.3.0.x on our FreeBSD machine
and running an LDM there just to see what else doesn't work as we would
like.
Tom
------- Forwarded Message
>To: Jim Koermer <address@hidden>
>cc: address@hidden
>From: Ted Wisniewski <address@hidden>
>Subject: Re: [Fwd: 20021230: LDM build under FreeBSD]
>Organization: UCAR/Unidata
>Keywords: 200301022138.h02LcIt27089
(* Could you please respond to Tom Yoksas on this? It looks like Unidata
(* finally has a FreeBSD platform for testing code.
Using ldm-5.2.2, There were only two very minor changes that I needed to
make. I also needed to use gmake (from the packages collection).
That is pretty much it.
Ted
One in src/configure:
% diff configure -c configure.ori
*** configure Thu Nov 14 23:06:44 2002
--- configure.ori Thu Nov 14 23:10:35 2002
***************
*** 539,547 ****
# 1999-03-24).
ccs='cc gcc c89 acc'
;;
- FreeBSD)
- ccs='gcc cc'
- ;;
*)
# xlc is before c89 because AIX's sizeof(long long)
# differs between the two.
--- 539,544 ----
And the Other in ./misc/fsStats.c:
%diff -c misc/fsStats.c misc/fsStats.c.ori
*** misc/fsStats.c Thu Nov 14 23:04:23 2002
--- misc/fsStats.c.ori Thu Nov 14 23:03:43 2002
***************
*** 21,27 ****
#define f_bavail fd_bfreen
#endif
! #if __bsdi__ || __bsdi || __FreeBSD__
/* BSDI, ... */
#include <sys/param.h>
#include <sys/mount.h>
--- 21,27 ----
#define f_bavail fd_bfreen
#endif
! #if __bsdi__ || __bsdi
/* BSDI, ... */
#include <sys/param.h>
#include <sys/mount.h>
------- End of Forwarded Message