Subject: | |
From: | |
Reply To: | |
Date: | Wed, 4 Dec 2002 13:30:41 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Mike Yawn wrote:
> Generally, installing from a ZIP file will work better than a tar - the
> tarball is in GNU tar (gtar) format, which isn't available on MPE.
gtar is too available on MPE :-), and it untars the Ant stuff just fine.
Here's all you need to do to get gtar running:
diff -ruN tar-1.13/configure.mpe tar-1.13-mpe/configure.mpe
--- tar-1.13/configure.mpe Wed Dec 31 16:00:00 1969
+++ tar-1.13-mpe/configure.mpe Wed Apr 11 14:25:23 2001
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+AUTOCONF=1 \
+CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE" \
+./configure --prefix=/BIXBY/PUB
diff -ruN tar-1.13/src/extract.c tar-1.13-mpe/src/extract.c
--- tar-1.13/src/extract.c Fri Jul 2 15:24:36 1999
+++ tar-1.13-mpe/src/extract.c Wed Apr 11 15:12:17 2001
@@ -542,8 +542,13 @@
again_file:
openflag = (keep_old_files_option ?
+#ifdef mpeix
+ O_BINARY | O_WRONLY | O_CREAT | O_EXCL :
+ O_BINARY | O_WRONLY | O_CREAT | O_TRUNC)
+#else
O_BINARY | O_NDELAY | O_WRONLY | O_CREAT | O_EXCL :
O_BINARY | O_NDELAY | O_WRONLY | O_CREAT | O_TRUNC)
+#endif
| ((typeflag == GNUTYPE_SPARSE) ? 0 : O_APPEND);
/* JK - The last | is a kludge to solve the problem the O_APPEND
diff -ruN tar-1.13/src/names.c tar-1.13-mpe/src/names.c
--- tar-1.13/src/names.c Tue Jul 6 23:46:51 1999
+++ tar-1.13-mpe/src/names.c Wed Apr 11 14:37:10 2001
@@ -107,7 +107,9 @@
if (!cached_gname[0] || gid != cached_gid)
{
+#ifndef mpeix
setgrent (); /* FIXME: why?! */
+#endif
group = getgrgid (gid);
if (group)
{
--
[log in to unmask]
Remainder of .sig suppressed to conserve expensive California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|