Subject: Building Pine 4.21 on Mac OSX

From: Mark F Rodriguez <[email-masked]>
Date: Tue, 24 Oct 2000 14:41:25 -0400

<flushleft><fontfamily><param>Helvetica</param><x-tabstops><param>28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L;</param>I've just downloaded Pine from <underline><color><param>1A1A,1A1A,FFFF</param>http://www.macaddict.com/osx/geeks.html</color></underline> and was able to build pico, pilot, mtest and imapd just fine. However, when making pine I got the following error (btw, I used ./build osx):

cc   -g -DDEBUG   -DBSDDEF -DSYSTYPE=\"BSD\"   -c -o send.o send.c

send.c:6696: illegal function call: encountered end of stream

make: *** [send.o] Error 1

I guess I'm wondering has anyone been able to build Pine on Apple's new OS X public beta and if so can I use the Pine files from <underline><color><param>1A1A,1A1A,FFFF</param>http://www.washington.edu/pine/</color></underline> to do it?

I understand that some changes have to be made to ./{pico,pine}/makefile.xxx, ./{pico,pine}/osdep/os-xxx.h, and possibly ./{pico,pine}/osdep/os-xxx.ic but it looks like someone has already done this work. Unfortunately, the link to <underline><color><param>1A1A,1A1A,FFFF</param>ftp://next-ftp.peak.org/pub/rhapsody/Applications/Unix/Mail/</color></underline> doesn't seem to have any files available.

If anyone can help me in getting pine to run on Mac OSX, I'd be greatly appreciative. I'm tired of using the built in Mail program:-(

Thanks in advance,

-Mark</x-tabstops></fontfamily></flushleft>-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: "Raghuram Kalletla" <[email-masked]>
Date: Wed, 25 Oct 2000 00:04:05 -0500

I'll answer that, since I've spent the past 72 hours trying to compile Pine on Darwin without any success and finally got it installed from the MacAddict site. 

Mark, what you've downloaded from MacAddict's website is a binary. So you don't have to worry about compiling it again! You're probably getting those errors because you've used the "osx" port. There is no such port (as yet) in Pine. The files on MacAddict's website have been modified to make it compatible with Darwin. Try ./build bsd and it should compile fine...(NOTE: If you download pine.tar.gz from U Washington's website and compile it for bsd, you will have problems. The files on MacAddict's website have been modified for Darwin)...although you don't have to since it's already been done for you...but if you're just curious like me, go right ahead. 

Even though I've got that out of the way, I'm still having problems configuring Pine to use "sendmail". So if you or anybody on the list could help me out with that, I'd be greatful. I have OS X installed on an iMac that's configured to obtain an IP address from a DHCP server. 

I have the following value set in "smtp-server" in Pine's configuration:
/usr/sbin/sendmail                                        (that's where sendmail is)

and this value set in "user-domain":
mac-test-machine.uta.edu                 ("mac-test-machine" is the name of the computer)

When I try to send a message, I get this error: [Error sending: Invalid host specifier: /usr/sbin/sendmail]

Any of you out there know what the problem could be?

Raghuram
  ----- Original Message ----- 
  From: Mark F Rodriguez 
  To: Pine Discussion Forum 
  Sent: Tuesday, October 24, 2000 1:41 PM
  Subject: Building Pine 4.21 on Mac OSX

  I've just downloaded Pine from http://www.macaddict.com/osx/geeks.html and was able to build pico, pilot, mtest and imapd just fine. However, when making pine I got the following error (btw, I used ./build osx):

  I guess I'm wondering has anyone been able to build Pine on Apple's new OS X public beta and if so can I use the Pine files from http://www.washington.edu/pine/ to do it?

  I understand that some changes have to be made to ./{pico,pine}/makefile.xxx, ./{pico,pine}/osdep/os-xxx.h, and possibly ./{pico,pine}/osdep/os-xxx.ic but it looks like someone has already done this work. Unfortunately, the link to ftp://next-ftp.peak.org/pub/rhapsody/Applications/Unix/Mail/ doesn't seem to have any files available.

  Thanks in advance,
  -Mark-- ----------------------------------------------------------------- For information about this mailing list, and its archives, see: http://www.washington.edu/pine/pine-info/ -----------------------------------------------------------------

---

From: Emil Isberg <[email-masked]>
Date: Wed, 25 Oct 2000 15:38:37 +0200 (MET DST)

On Wed, 25 Oct 2000, Raghuram Kalletla wrote:
>Even though I've got that out of the way, I'm still having problems
>configuring Pine to use "sendmail". So if you or anybody on the list
>could help me out with that, I'd be greatful. I have OS X installed on
>an iMac that's configured to obtain an IP address from a DHCP server.
>

smtp-server is the server pine connects to to send mail...
For me that is blank since I use sendmail directly but if one don't have
sendmail (or compatible) then that option comes in handy.

>and this value set in "user-domain": mac-test-machine.uta.edu
>("mac-test-machine" is the name of the computer)

user-domain sets the FROM domainpart... normally pine get it from the
hostname but it could be wrong and then that option is the one to use.

For me I set it to: mds.mdh.se
as that is my maildomain...

>host specifier: /usr/sbin/sendmail]

Ofcourse... pine tried to resolv /usr/sbin/sendmail as a host...

You will have to leave smtp-server blank and set sendmail-path instead.

As in sendmail-path: /usr/sbin/sendmail

-- 
"A programmer is a person who passes as an exacting expert on the basis
of being able to turn out, after innumerable punching, an infinite
series of incomprehensive answers calculated with micrometric
precisions from vague assumptions based on debatable figures taken from
inconclusive documents and carried out on instruments of problematical
accuracy by persons of dubious reliability and questionable mentality
for the avowed purpose of annoying and confounding a hopelessly
defenseless department that was unfortunate enough to ask for the
information in the first place."
		-- IEEE Grid news magazine