From: gary@sci34hub.sci.com (Gary Heston)
Subject: Re: Compiling Apps on SysV4.2
Reply-To: gary@sci34hub.sci.com (Gary Heston)
Organization: SCI Systems, Inc., Huntsville, Al.
Date: Mon, 23 Nov 1992 16:57:36 GMT

In article <1992Nov22.012053.14707@video.rogers.com> gschenk@video.rogers.com (Gerry Schenk) writes:
|Hi All.

Hi. I'm reformatting your lines to ~72 columns for readability.

|  I just got Consensys V4.2, and I have just finished installing it. 
|As part of the many things that I would like to do with the new system,
|I want to transfer our news feed from our Sun (running 4.1.2), a
|production machine, to the new    SysV.  When I try to compile the cnews
|(May92), I get redeclaration errors.  I  tried compiling other
|applications, such as GNUS locate, and it won't compile    either.  I
|have both of these applications compiled on the Sun without difficulties.

SunOS and SysVr4 are two different animals. Have you changed the necessary
configuration info (particularly in C news) to reflect the OS you're 
trying to install under?

|  The question that I have, is there an easier way to compile and
|install applications on SysVr4, without having to do major tweaking of
|the code everytime?  I am not a programmer, I am the Sys admin, and I
|would like to take advantage of applications such cnews, locate, nntp,
|etc.  So far, I have been spoilt, by the easy installations of the above
|applications.  I am concerned, that if this SysVism, that when we get our
|next Sun, which will invariably run Solaris 2.1, that I will be faced with
|the same di>fficulties.  Has anyone got any suggestions; should I try GNU
|C, would that help?  Is there something I am missing, that would help
|make it easier to install these apps.

All of these apps will have configuration files that need to be set
properly before you can compile them on any OS. Obviously, the files
you're using came off your Sun, therefore they're set up for a BSD 
environment instead of a SysV environment. 

If you read through the installation docs for each of the packages, you
should find lots of info on how to set up the configurations. In the case
of C news in particular, the build script *asks* what kind of OS you're
installing under. The problem of different environments was solved long 
ago with #DEFINEs and #IFDEFs.

I've got C news running under SysVr3.0; it took maybe a couple of hours
of answering questions and test compiling before I got it tuned right 
(and that was mostly because I wasn't sure what functions were available).

|Any help and/or suggestions, would be greatly appreciated.

Read the documentation for the packages you're trying to install.

|P.S. You will have to excuse the text formatting, I am still somewhat of a 
|Unix newbie(sp?).

Hitting return at about column 72 will encourage people to answer you. 
Some software doesn't make it easy to reformat included text that runs on 
like that.

-- 
Gary Heston    SCI Systems, Inc.  gary@sci34hub.sci.com   site admin
The Chairman of the Board and the CFO speak for SCI. I'm neither.
"Data sheet: HSN-3000 Nuclear Event Detector. The [NED] senses the gamma
radiation pulse [from a] nuclear weapon." As if we wouldn't notice...
Newsgroups: comp.unix.questions,comp.sys.hp