Article View: news.software.nn
Article #3131Re: SGI Installation
From: Dave Olson
Date: Sun, 20 Sep 1992 07:10
Date: Sun, 20 Sep 1992 07:10
142 lines
5020 bytes
5020 bytes
In <Buo7rJ.IGz@news.larc.nasa.gov> smith@icat.larc.nasa.gov (Steven L. Smith) writes:
| 1) Has anyone successfully installed nn on an SGI workstation running IRIX 4.x?
I'm pretty sure that I sent Kim the IRIX 4 configuration stuff
long before he stopped sending out patches (I did the original
conf/?-sgi4D.h). m-sgi4D.h hasn't changed since day 1.
So it should just run from the stock source.
I've had several revs for s-sgi4D.h, just in case I didn't
feed the changes back to Kim, here is my current version;
you will also want to define CC = cc -cckr in xmakefile.
/*
* This file is for a Silicon Graphics 4D series machines
* running IRIX 3.1 or 3.2.
* HAVE_JOBCONTROL should only be defined if you have 3.2.
*/
#include "s-sys5.h"
/*
* Define if your system has BSD like job control (SIGTSTP works)
*/
#define HAVE_JOBCONTROL /* */
/*
* Define HAVE_HARD_SLEEP if sending a SIGALRM isn't enough to
* interrupt a sleep() call - typical symptom is that nnadmin W
* doesn't wakeup the nnmaster. (IRIX 3.3 and later uses sginap())
*/
#define HAVE_HARD_SLEEP
/*
* Define HAVE_UALARM if your system has a 4.3 BSD like ualarm() call.
* Else define MICRO_ALARM(n) to timeout in n/10 seconds if possible.
* Note that it must send SIGALRM when it expires.
* If you have neither, but have the BSD style setitimer routines,
* define HAVE_ITIMERS
* Don't define any of these if system only has the standard alarm() call.
*/
/* #define HAVE_UALARM /* BSD 4.3 */
/* #define MICRO_ALARM(n) xxxx(x) */
#define HAVE_ITIMERS
/*
* Define if your system has a 4.3BSD like syslog library.
*/
#define HAVE_SYSLOG
/*
* Define HAVE_GETHOSTNAME if your system provides a BSD like
* gethostname routine.
*/
#undef HAVE_UNAME
#define HAVE_GETHOSTNAME /* System V */
/*
* Define HAVE_MULTIGROUP if system has simultaneous multiple group
* membership capability (BSD style).
* Also define NGROUPS or include the proper .h file if NGROUPS is
* not defined in <sys/param.h>.
* Also define GIDSET_TYPE to the type of the elements in the array
* initialized by getgroups() if different from "int" (many systems
* have a gid_t, but very few use it for getgroups()).
*/
#define HAVE_MULTIGROUP /* BSD */
#define GIDSET_TYPE gid_t
/*
* Specify the default mailer to be invoked by nnmail
*/
#undef MAILX
#define MAILX "/usr/sbin/Mail"
/*
* Define USE_MALLOC_H if the faster malloc() in -lmalloc should be used.
* This requires that -lmalloc is added to EXTRA_LIB below.
*
* You can tune the malloc package through the following definitions
* according to the descriptions in malloc(3X):
*/
#define USE_MALLOC_H /* */
#define MALLOC_GRAIN sizeof(double) /* M_GRAIN */
#define MALLOC_MAXFAST (MALLOC_GRAIN*4) /* M_MXFAST */
#define MALLOC_FASTBLOCKS 100 /* M_NLBLKS */
/*
* NNTP support requires tcp/ip with socket interface.
*
* Define NO_RENAME if the rename() system call is not available.
* Define NO_BZERO if the bzero() function is not available.
* Define EXCELAN if the tcp/ip package is EXCELAN based.
* Define NNTP_EXTRA_LIB to any libraries required only for nntp.
*/
/* #define NO_RENAME /* */
/* #define NO_BZERO /* */
/* #define EXCELAN /* */
/* #define NNTP_EXTRA_LIB -lsocket /* */
/*
* Define standard compiler flags here:
* -O3 -j uses global register allocation on MIPS based machines
* DEBUGGER afterwords allows one to use -g to get debugger, which
* will override the optimaztion
* at SGI, the 3.3 and later make adds the -j automatically for
* the .u suffix, so we don't put it here
*/
#define COMPILER_FLAGS -O $(DEBUGGER)
/*
* Define the maximum length of any pathname that may occur
*/
#undef FILENAME
#define FILENAME 1024 /* really should be from limits.h */
/*
* If your system requires other libraries when linking nn
* specify them here: (use shared C library for reduced
* size and portability across releases).
* We also want -lsun for YP; If running earlier than 3.3,
* we need -lbsd also.
*/
#define EXTRA_LIB -lmalloc -lsun -lc_s
--
Let no one tell me that silence gives consent, | Dave Olson
because whoever is silent dissents. | Silicon Graphics, Inc.
Maria Isabel Barreno | olson@sgi.com
Technical Details
Message-ID:
<q2t9o44@zuni.esd.sgi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!olivea!sgigate!odin!twilight!zuni!anchor!olsonReferences:
<Buo7rJ.IGz@news.larc.nasa.gov>Show Full Headers
Complete Article Headers
Message-ID: <q2t9o44@zuni.esd.sgi.com> Subject: Re: SGI Installation Date: Sun, 20 Sep 1992 07:10:40 +0000 From: olson@anchor.esd.sgi.com (Dave Olson) References: <Buo7rJ.IGz@news.larc.nasa.gov> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!olivea!sgigate!odin!twilight!zuni!anchor!olson Newsgroups: news.software.nn Sender: news@zuni.esd.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 142