🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17441

Questions/Problems on compiling INN

#17441
From: Simon Chiu
Date: Thu, 01 May 1997 00:00
95 lines
4271 bytes
I am trying to install INN 1.5.1 on a Solaris 2.5.1 machine and keep
getting these compilation errors:

-----
# make world
cat Install.ms.1 Install.ms.2 >Install.ms
chmod 444 Install.ms
cd config ; make  subst quiet ; cd ..
make[1]: Entering directory `/opt/inn-1.5.1/config'
make c || make sh || rm -f subst
make[2]: Entering directory `/opt/inn-1.5.1/config'
cc -o subst subst.c
unknown flag -lang-c
unknown flag -Asystem(unix)
unknown flag -Asystem(svr4)
unknown flag -Acpu(sparc)
unknown flag -Amachine(sparc)
cc: installation problem, cannot exec `cc1': No such file or directory
make[2]: *** [c] Error 1
make[2]: Leaving directory `/opt/inn-1.5.1/config'
make[2]: Entering directory `/opt/inn-1.5.1/config'
cp subst.sh subst
chmod +x subst
make[2]: Leaving directory `/opt/inn-1.5.1/config'
make[2]: Entering directory `/opt/inn-1.5.1/config'
chmod u+w `grep -v '^;' <files.list`
./subst -e /opt/gnu/bin/sed -f config.data `grep -v '^;' <files.list`
../backends/Makefile: updated
../doc/Makefile: updated
../doc/innxbatch.8: updated
../doc/libinn.3: updated
../expire/Makefile: updated
../frontends/Makefile: updated
../include/clibrary.h: updated
../include/configdata.h: updated    
../include/libinn.h: updated
../include/paths.h: updated
../innd/Makefile: updated
../lib/Makefile: updated
../nnrpd/Makefile: updated
../samples/innshellvars: updated
../samples/innshellvars.csh: updated
../samples/innshellvars.pl: updated
../samples/innshellvars.tcl: updated
Fixing interpreter paths.
perl fixinterps.pl -v -d ../samples inncheck innlog.pl pgpverify scanspool
Can't locate getopts.pl in @INC at fixinterps.pl line 17.
make[2]: *** [interpreters] Error 2
make[2]: Leaving directory `/opt/inn-1.5.1/config'
make[1]: Leaving directory `/opt/inn-1.5.1/config'
cd lib ; make  lint ; cd ..
make[1]: Entering directory `/opt/inn-1.5.1/lib'
gcc -O -I../include -DSUNOS5 -DPOLL_BUG    -c checkart.c -o checkart.o
unknown flag -lang-c
unknown flag -Asystem(unix)
unknown flag -Asystem(svr4)
unknown flag -Acpu(sparc)
unknown flag -Amachine(sparc)                                                                                                       
gcc: installation problem, cannot exec `cc1': No such file or directory
make[1]: *** [checkart.o] Error 1
make[1]: Leaving directory `/opt/inn-1.5.1/lib'
cat lib/lint
cat: cannot open lib/lint
make: *** [world] Error 2
# make subst
cd config ; make  subst ; cd ..
make[1]: Entering directory `/opt/inn-1.5.1/config'
make[1]: `subst' is up to date.
make[1]: Leaving directory `/opt/inn-1.5.1/config'
-----

The install is on a fresh machine with os and I am using sed, gcc copied from 
another solaris machine for compiling...I have read through the Install.ms.1
file from the installation package and made all the changes listed in the 
document from the section Solaris2.X/SunOS as well as:
HAVE_SETPROCTITLE	DONT
Also set in my supath variable to see the directory :/usr/ccs/lib
to be able to use the command cpp since it was giving me command not found 
error earlier till I set this.  I cannot find the command cc1 on my system
(Installed full solaris package).

I also couldn't change the CFLAGS with the -Xa flag since the system stated it
did not understand that command.

Do I need to use an actual C compiler from sun to compile this or did I set
a flag up incorrectly?

Thanks to anyone in advance for any advice.
Please mail info and post if possible.

Thank you.
-Simon

Technical Details
Message-ID: <R5kb5r6$fvq@crl12.crl.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <R5kb5r6$fvq@crl12.crl.com>
Subject: Questions/Problems on compiling INN
Date: Thu, 01 May 1997 00:00:00 +0000
From: schiu@crl.com (Simon Chiu)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 239230159
X-Original-Path: bcarh8ac.bnr.ca!bmdhh222.bnr.ca!btnet-feed2!unlisys!fu-berlin.de!news.mathworks.com!feeder.chicago.cic.net!data.ramona.vix.com!nnrp1.crl.com!crl12.crl.com!not-for-mail
Organization: CRL Dialup Internet Access
X-Comment: See news.admin.net-abuse.announce for further details
Newsgroups: news.software.nntp