Subject: Building/installing to Sunos5.5.1

From: hp <[email-masked]>
Date: Fri, 03 Jan 1997 19:17:21 -0500

I am trying to install PINE and PICO on a SunOS5.5.1 platform
run on sparcserver 1000e machines.

First I run "build clean"

Then I run "build sun" with the results below. Can someone tell
me what is going wrong? It gives me Error 1 and Error 2
saying some files aren't there.

gsun07//home/parkh/pine3.95 % build sun
make args are "CC=cc "

ln: cannot create c-client: File exists
ln: cannot create imapd: File exists
Making c-client library, mtest and imapd
make build SYSTYPE=non-ANSI OS=sun
make[1]: Entering directory `/home/parkh/pine3.95/imap'
echo sun > OSTYPE
rm -rf systype
ln -s non-ANSI systype
cd non-ANSI/c-client; make sun
make[2]: Entering directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
make mtest OS=sun EXTRADRIVERS="" \
        STDPROTO=bezerkproto MAILSPOOL=/usr/spool/mail \
        ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
        CFLAGS="-g -Dconst= -DNFSKLUDGE " \
        LDFLAGS="-ldl"
make[3]: Entering directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
./drivers  imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy
rm -f CCTYPE CFLAGS LDFLAGS osdep.h
echo cc > CCTYPE
echo -g -Dconst= -DNFSKLUDGE  > CFLAGS
echo -ldl  > LDFLAGS
ln -s os_sun.h osdep.h
cc -g -Dconst= -DNFSKLUDGE    -c mail.c 
In file included from mail.c:40:
osdep.h:37: sys/dir.h: No such file or directory
make[3]: *** [mail.o] Error 1
make[3]: Leaving directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
make[2]: *** [sun] Error 2
make[2]: Leaving directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/parkh/pine3.95/imap'
make: *** [sun] Error 2

Making Pico and Pilot
rm -f osdep.c
cp os_unix.c osdep.c
rm -f osdep.h
cp os_unix.h osdep.h
cc -c  -g -Dsun -DJOB_CONTROL -ldl -DMOUSE attach.c
In file included from attach.c:33:
osdep.h:58: sys/dir.h: No such file or directory
make: *** [attach.o] Error 1

Making Pine.
rm -f os.h
ln -s osdep/os-sun.h os.h
./cmplhlp2.sh  < pine.hlp > helptext.h
cc   -g -DDEBUG  -Dconst= -DSUN -DSYSTYPE=\"SUN\" -DMOUSE   -c addrbook.c 
In file included from headers.h:65,
                 from addrbook.c:54:
../c-client/osdep.h:37: sys/dir.h: No such file or directory
make: *** [addrbook.o] Error 1

Links to executables are in bin directory:
build: size: not found
Done

gsun07//home/parkh/pine3.95 % build sun
make args are "CC=cc "

ln: cannot create c-client: File exists
ln: cannot create imapd: File exists
Making c-client library, mtest and imapd
make build SYSTYPE=non-ANSI OS=sun
make[1]: Entering directory `/home/parkh/pine3.95/imap'
echo sun > OSTYPE
rm -rf systype
ln -s non-ANSI systype
cd non-ANSI/c-client; make sun
make[2]: Entering directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
make mtest OS=sun EXTRADRIVERS="" \
        STDPROTO=bezerkproto MAILSPOOL=/usr/spool/mail \
        ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
        CFLAGS="-g -Dconst= -DNFSKLUDGE " \
        LDFLAGS="-ldl"
make[3]: Entering directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
./drivers  imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy
rm -f CCTYPE CFLAGS LDFLAGS osdep.h
echo cc > CCTYPE
echo -g -Dconst= -DNFSKLUDGE  > CFLAGS
echo -ldl  > LDFLAGS
ln -s os_sun.h osdep.h
cc -g -Dconst= -DNFSKLUDGE    -c mail.c 
In file included from mail.c:40:
osdep.h:37: sys/dir.h: No such file or directory
make[3]: *** [mail.o] Error 1
make[3]: Leaving directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
make[2]: *** [sun] Error 2
make[2]: Leaving directory `/home/parkh/pine3.95/imap/non-ANSI/c-client'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/parkh/pine3.95/imap'
make: *** [sun] Error 2

Making Pico and Pilot
rm -f osdep.c
cp os_unix.c osdep.c
rm -f osdep.h
cp os_unix.h osdep.h
cc -c  -g -Dsun -DJOB_CONTROL -ldl -DMOUSE attach.c
In file included from attach.c:33:
osdep.h:58: sys/dir.h: No such file or directory
make: *** [attach.o] Error 1

Making Pine.
rm -f os.h
ln -s osdep/os-sun.h os.h
./cmplhlp2.sh  < pine.hlp > helptext.h
cc   -g -DDEBUG  -Dconst= -DSUN -DSYSTYPE=\"SUN\" -DMOUSE   -c addrbook.c 
In file included from headers.h:65,
                 from addrbook.c:54:
../c-client/osdep.h:37: sys/dir.h: No such file or directory
make: *** [addrbook.o] Error 1

Links to executables are in bin directory:
build: size: not found
Done

---

From: Jim Amanatidis <[email-masked]>
Date: Mon, 6 Jan 1997 16:45:49 -0500 (EST)

Try building for Solaris, not Sun.  If you have GCC installed, type
	"build gso"
if not, type
	"build sol".

#####
	Jim Amanatidis 			Tel:   516-576-2329
	Email: [email-masked]		Fax:   516-349-7669

---

From: [email-masked] (R. Stewart Ellis)
Date: 16 Jan 1997 04:58:00 GMT

[email-masked] (hp) writes:

 >This is a multi-part message in MIME format.

 >--------------594771FC3BAB
 >Content-Type: text/plain; charset=us-ascii
 >Content-Transfer-Encoding: 7bit

 >saying some files aren't there.

Read the instructions.  You are using the wrong target.

--
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt.Inst. ()  /   _____  ______
  Flint, MI 48504    Free speech and free software!  /\ /        / /  /  / /
  Web admin:  http://www.gmi.edu/      [email-masked]   /________/ /  /  / /