Subject: Problem compiling pine3.89 on ultrix 4.2

From: Sharon Deng <[email-masked]>
Date: Thu, 9 Dec 1993 17:11:37 -0800 (PST)

Hi, Pine Group:
We are running ultrix 4.2 on micro vax 3100.  When I use "build ult" to
build the pine3.89, I got the following error:
   :
   :
  cc -g3 -O2 -Olimit 800 -Dconst= -c misc.c
  cc -g3 -O2 -Olimit 800 -Dconst= -DRSH=\"rsh\" -DRSHPATH=\"/usr/ucb/rsh\"
-c os_c
  cc: warning: -g disables -O
  cc -g3 -O2 -Olimit 800 -Dconst= -c sm_unix.c
  cc: warning: -g disables -O
  rm -f c-client.a
  ar rc c-client.a mail.o bezerk.o tenex2.o mbox.o mh.o imap2.o news.o
nntpclient.o
  ranlib c-client.a
  echo -g3 -O2 -Olimit 800 -Dconst= > CFLAGS
  echo > LDFLAGS
  cc -g3 -O2 -Olimit 800 -Dconst= -o mtest mtest.o c-client.a
  cc: warning: -g disables -O
  ld:800: cannot open
  *** Error code 4

  Stop.

Has anybody have the same problem?  Could anybody tell me how to fix it? 
Any help would be greatly appreciated !!  

Sharon Deng
Assistant Director			Internet: [email-masked]
Academic Computer Center			  [email-masked]
University of Redlands			   Phone: (909)793-2121 x.4963

---

From: Mark Crispin <[email-masked]>
Date: Thu, 9 Dec 1993 18:08:52 -0800 (PST)

Sharon -

    Try ``build vul'' instead of ``build ult''.  vul is the VAX Ultrix port.

-- Mark --

---

From: David L Miller <[email-masked]>
Date: Thu, 9 Dec 1993 19:07:02 -0800 (PST)

Sharon,

Unfortunately Ultrix/RISC and Ultrix/VAX are enough different that we 
have separate ports.  Use "build vul" and it should work.

Thanks for the report!

--DLM

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing
4545 15th Ave NE, Seattle WA 98105, USA

---

From: Sharon Deng <[email-masked]>
Date: Fri, 10 Dec 1993 11:41:42 -0800 (PST)

>     Try ``build vul'' instead of ``build ult''.  vul is the VAX Ultrix port.
Hi, Mark:
I followed your instruction.  It compiled successfully.  At the end of the
process, it told me the executable files were put into pine3.89/bin
directory.  It seems everything was working fine.  Then I cd to
pine3.89/bin to run pine.  It ran, but the pine version number displayed at
the first line of the windown is "PINE 3.07".  Am I missing something
again or it was just display the wrong version number on the screen? 
Thank you for the help.

Sharon Deng

---

From: Adam Garrett <[email-masked]>
Date: Fri, 10 Dec 1993 12:50:26 -0800 (PST)

Sharon,

Make sure the 3.07 binary (probably in /usr/local/bin) has been renamed 
or removed.

-Adam

Adam R. Garrett
University of Washington Libraries     INTERNET: [email-masked]
352 Suzzallo Library, FM-25            PHONE:    (206) 543-8843
Seattle, WA  98195                     FAX:      (206) 685-8049

---

From: David L Miller <[email-masked]>
Date: Fri, 10 Dec 1993 12:53:53 -0800 (PST)

Sharon,

Try ``./pine'' to run the new pine.  It looks like you have the current 
directory last in your PATH...

--DLM

---

From: "Jason R. Thorpe" <[email-masked]>
Date: Fri, 10 Dec 1993 14:26:05 -0700 (PDT)

> again or it was just display the wrong version number on the screen? 

./pine will run the pine in the current directory...otherwise, the shell 
reads your path...

> University of Redlands			   Phone: (909)793-2121 x.4963

------------------------------------------------------------------------------
Jason R. Thorpe          |     'All standard...'     |    434 Weatherford Hall
OSU Computer Science     |    [email-masked]    |     Corvallis, OR 97331
Support Staff            |  '...disclaimers apply.'  |          (503) 737-9533

---

From: Mark Crispin <[email-masked]>
Date: Fri, 10 Dec 1993 15:33:55 -0800 (PST)

> again or it was just display the wrong version number on the screen? 

Hi Sharon -

     I think that you inadvertantly ran your system's old Pine instead of 
the new one.  Try:
	% cd pine3.89/bin
	% ./pine			<== ./ to force using this directory

-- Mark --