Article View: news.software.nn
Article #4078Re: How do you compile under Solaris 2.1?
From: Richard M. Mathews
Date: Tue, 20 Apr 1993 19:00
Date: Tue, 20 Apr 1993 19:00
69 lines
3355 bytes
3355 bytes
alc@leland.Stanford.EDU (ada chan) writes:
>I'm having a very similar problem. I am trying to compile nn 6.4.18 under Sun
>OS 4.1.2. I get the messages:
>cc -Iconf -g -target sun4 -c term.c
>"/usr/include/curses.h", line 42: syntax error at or near constant '\b'
Your problem is that nn's global.h defines BS to be '\b', but curses
expects BS to be a variable name. I would consider BS to have been a
very poor choices of names for either nn or curses to use. It would
probably be a good idea to change this in nn.
Below is the conf file from the version of nn we have running on SunOS 4.1.
Note that it uses s-sunos4-0.h rather than sunos4-v.h (I didn't do the
building of this, so I don't know why that choice was made or under what
circumstances s-sunos4-v.h does work).
Richard M. Mathews D efend
E stonian-Latvian-Lithuanian
Richard.Mathews@West.Sun.COM I ndependence
------------------------------------------------------------------------
VERSION="6.4.16"
INEWS="/var/spool/news/clients/bin/inews"
INEWS_DIR="/var/spool/news/clients/bin"
AWK="awk"
NNTP=true ACTIVE=/var/spool/news/clients/lib/nn/ACTIVE
NNTPCACHE=
LOG=/var/spool/news/clients/lib/nn/Log
TMP=${TMPDIR-/usr/tmp}
DB=/var/spool/news/clients/lib/nn
BIN=/var/spool/news/clients/bin
LIB=/var/spool/news/clients/lib/nn
RECMAIL="/usr/lib/sendmail -t"
SPOOL=/var/spool/news/spool
NLIB=/var/spool/news/lib
MASTER=/var/spool/news/bin
HELP=/var/spool/news/clients/lib/nn/help
DBDATA="/var/spool/news/clients/lib/nn/DATA"
DBSHORTNAME=false
OWNER=news GROUP=news
AUTH=false
#define RELEASE "6.4"
#include <stdio.h>
#include <ctype.h>
#define NETWORK_DATABASE
#define NNTP
#define NNTP_SERVER "server"
#define NNTP_POST
#include "s-sunos4-0.h"
#define DEFAULT_PAGER "more"
#define DEFAULT_PRINTER "lpr -p -JNEWS"
#define RESIZING
#include "m-sparc.h"
#define OWNER "news"
#define GROUP "news"
#define BIN_DIRECTORY "/var/spool/news/clients/bin"
#define LIB_DIRECTORY "/var/spool/news/clients/lib/nn"
#define MASTER_DIRECTORY "/var/spool/news/bin"
#define DB_DIRECTORY "/var/spool/news/clients/lib/nn"
#define DB_LONG_NAMES
#define NEWS_DIRECTORY "/var/spool/news/spool"
#define NEWS_LIB_DIRECTORY "/var/spool/news/lib"
#define INEWS_PATH "/var/spool/news/clients/bin/inews"
#define REC_MAIL "/usr/lib/sendmail -t"
#define HAVE_ROUTING
#define BUG_REPORT_ADDRESS "nn-bugs@dkuug.dk"
#define FOLDER_DIRECTORY "~/News"
#define NAME_LENGTH 16
#include "global.h"
Technical Details
Message-ID:
<richard.735332421@astro>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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!west.West.Sun.COM!abyss.West.Sun.COM!astro!richardReferences:
<1993Apr17.001024.17783@protocol.com> <1993Apr19.225006.11619@leland.Stanford.EDU>Show Full Headers
Complete Article Headers
Message-ID: <richard.735332421@astro> Subject: Re: How do you compile under Solaris 2.1? Date: Tue, 20 Apr 1993 19:00:21 +0000 From: Richard.Mathews@West.Sun.COM (Richard M. Mathews) References: <1993Apr17.001024.17783@protocol.com> <1993Apr19.225006.11619@leland.Stanford.EDU> 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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!west.West.Sun.COM!abyss.West.Sun.COM!astro!richard Newsgroups: news.software.nn Organization: Sunsoft Inc., Los Angeles, CA. Lines: 69 NNTP-Posting-Host: astro Keywords: nn solaris Originator: richard@astro