🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Simon Chiu Thu, 01 May 1997 00:00
Questions/Problems on compiling INN
#17441
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads