bug-coreutils
[Top][All Lists]
Advanced

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

Re: [Coreutils-announce] coreutils CVS repository is now on-line


From: John David Anglin
Subject: Re: [Coreutils-announce] coreutils CVS repository is now on-line
Date: Fri, 6 Jun 2003 12:17:13 -0400 (EDT)

> I've just written a cheap-o, checked-in as README-cvs-timestamps.
> It's probably buggy and incomplete, but might work for you.
> I've also just cvs-removed it, to discourage its use.

Thanks.  After I wrote, I installed private copies of the latest versions
of autoconf and automake.  However, I still have a number of problems
with yesterdays cvs:

1) There were two problems building on hppa1.1-hp-hpux10.20.  The
   compilation of stat.c failed because STRUCT_STATVFS was defined
   to `struct statvfs' but sys/vfs.h was included instead of
   sys/statvfs.h.  There was also an error running the perl
   script extract-magic using perl 5.005_03.  I enclose the hacks
   which I made to work around these problems below.  The perl fix
   probably isn't correct but it seemed to work.  The file fs.h
   probably got rebuilt because of a timestamp problem.

2) On vax-dec-ultrix4.3 (I wanted to see if the stat.c fix worked),
   I hit the error:

   cd .. && /bin/sh /xxx/gnu/coreutils-5.0.1/config/missing --run aclocal-1.7 
-I m4
   aclocal: macro `AM_STDBOOL_H' required but not defined
   make: *** [../aclocal.m4] Error 1

   Automake 1.7.5 doesn't seem to define AM_STDBOOL_H.  Which package
   provides this automake macro?

Dave
-- 
J. David Anglin                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

--- extract-magic.orig  Wed May 28 14:05:46 2003
+++ extract-magic       Thu Jun  5 16:01:37 2003
@@ -77,7 +77,7 @@ EOF
 
   my $file = $ARGV[0];
 
-  open FH, '<', $file
+  open FH, $file
     or die "$ME: can't open `$file' for reading: $!\n";
 
   # For each line like this:
--- stat.c.orig Mon May 26 16:23:14 2003
+++ stat.c      Thu Jun  5 15:38:26 2003
@@ -25,10 +25,10 @@
 #include <grp.h>
 #include <unistd.h>
 #include <time.h>
-#if HAVE_SYS_VFS_H
-# include <sys/vfs.h>
-#elif HAVE_SYS_STATVFS_H && HAVE_STRUCT_STATVFS_F_BASETYPE
+#if HAVE_SYS_STATVFS_H && HAVE_STRUCT_STATVFS_F_BASETYPE
 # include <sys/statvfs.h>
+#elif HAVE_SYS_VFS_H
+# include <sys/vfs.h>
 #elif HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H
 /* NOTE: freebsd5.0 needs sys/param.h and sys/mount.h for statfs.
    It does have statvfs.h, but shouldn't use it, since it doesn't




reply via email to

[Prev in Thread] Current Thread [Next in Thread]