NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
In case anyone on the list is interested, I've gotten LDM to compile on Windows XP using Microsoft's Services For Unix 3.0. Here are the tricky parts: 1) Make sure to install gcc when you install SFU. 2) The supplied version of 'make' won't work, so you'll have to download and compile GNU make 3.80 3) SFU is for the most part BSD 4.4, so I had to add the following define to CFLAGS '-D_ALL_SOURCE' I haven't had the time/energy/inclination to test the software, but it does compile error free and doesn't dump core when the binaries are run. I'm still trying to work out how setuid root programs actually work with SFU, as there's no such thing as 'su' in SFU. If anyone has any suggestions/opinions/etc. I'd be glad to look into this further. Anyways, here's the patch: diff -Naur /usr/src/ldm-5.2.2/src/aclocal.m4 /usr/local/ldm/ldm-5.2.2/src/aclocal.m4 --- /usr/src/ldm-5.2.2/src/aclocal.m4 Tue Jul 23 13:03:35 2002 +++ /usr/local/ldm/ldm-5.2.2/src/aclocal.m4 Thu Nov 21 00:08:08 2002 @@ -419,6 +419,9 @@ BSD*) libs="-lrpc" ;; + Interix*) + libs="-lrpclib" + ;; HP-UX\ ?.10.2*) libs="-lnsl_s -lPW" AC_DEFINE(PORTMAP) diff -Naur /usr/src/ldm-5.2.2/src/configure /usr/local/ldm/ldm-5.2.2/src/configure --- /usr/src/ldm-5.2.2/src/configure Tue Jul 23 13:04:33 2002 +++ /usr/local/ldm/ldm-5.2.2/src/configure Thu Nov 21 00:10:05 2002 @@ -1847,6 +1847,9 @@ BSD*) libs="-lrpc" ;; + Interix*) + libs="-lrpclib" + ;; HP-UX\ ?.10.2*) libs="-lnsl_s -lPW" cat >> confdefs.h <<\EOF diff -Naur /usr/src/ldm-5.2.2/src/misc/fsStats.c /usr/local/ldm/ldm-5.2.2/src/misc/fsStats.c --- /usr/src/ldm-5.2.2/src/misc/fsStats.c Wed Feb 9 09:32:23 2000 +++ /usr/local/ldm/ldm-5.2.2/src/misc/fsStats.c Wed Nov 20 23:39:07 2002 @@ -49,7 +49,7 @@ * agrees with others f_bavail... */ #endif -#if _SYSTYPE_SVR4 || __SVR4 || _AIX || __osf__ || __sgi +#if _SYSTYPE_SVR4 || __SVR4 || _AIX || __osf__ || __sgi || __INTERIX /* irix 5.3, SunOS 5, AIX, OSF1 */ #include <sys/statvfs.h> typedef struct statvfs STRUCT_STATFS; --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
ldm-users
archives: