Subject: Problem with foldernames on Solaris

From: "Nancy E. Worth" <[email-masked]>
Date: Mon, 21 Nov 1994 10:02:19 -0500

Hi,
	I've just installed Pine 3.91 on Solaris 2.3 with SUN's C 3.0
When I go into Folder List, other than INBOX, all my other mail files
that were created with unix mail, are missing the first 2 characters
in the file name.  (They are in a directory called mail if that makes
a difference.)
	Has anyone else seen this, or have a fix for it.  I'm just starting
to go through the code.
	Thanks,
	Nancy.
--
Nancy E. Worth     [email-masked]  &  postmaster
Computing Support Division, Faculty of Medicine, University of Toronto
Standard Disclaimers...                   "I'm for Sail" "Fly a Hobie"

---

From: [email-masked] (David Barr)
Date: 21 Nov 1994 14:21:53 -0500

In article <[email-masked]>,
>in the file name.  (They are in a directory called mail if that makes

Don't compile Pine with /usr/ucb/cc.  (see "which cc")

You must use /opt/SUNWspro/bin/cc

Make sure you compiled with "./build sol", not "./build sun"

--Dave

---

From: [email-masked] (Jim Davis)
Date: 21 Nov 1994 11:00:35 -0700

In article <[email-masked]>,
Nancy E. Worth <[email-masked]> wrote:
:Hi,
:	I've just installed Pine 3.91 on Solaris 2.3 with SUN's C 3.0
:When I go into Folder List, other than INBOX, all my other mail files
:that were created with unix mail, are missing the first 2 characters
:in the file name.  (They are in a directory called mail if that makes
:a difference.)
:	Has anyone else seen this, or have a fix for it.  I'm just starting
:to go through the code.

You've linked in the worthless UCB emulation library somehow.  That
filename mangling is the classic symptom.  The classic cure is to not
link in anything lurking in /usr/ucblib.

---

From: Mark Crispin <[email-masked]>
Date: Tue, 22 Nov 1994 01:23:40 -0800

Yes, this is a frequently encountered problem when building Pine and/or 
imapd.  Blame SUN for its broken compilers and runtimes that let you 
compile in one environment (BSD vs SVR4) and link in another.

We've received innumerable suggestions from the net of how to fix it.  
None of the suggestions work, or rather, none work all the time.

The pre-built binaries on the ftp.cac.washington.edu FTP server are 
correct, so unless you need custom modifications you are better off using 
these.

-- Mark --

---

From: [email-masked] (R. Stewart Ellis)
Date: 23 Nov 94 03:27:23 GMT

>	Has anyone else seen this, or have a fix for it.  I'm just starting

Solaris Porting FAQ.  You have mixed and matched svr4 with bsd.  BSD src
cruft absolutely must be avoided.  You have to make sure your C compiler is
not including ucbinclude or linking with ucblib.  Get the porting FAQ from
rtfm.mit.edu.

Also follow the c.u.solaris newsgroup.

-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______ 
  Flint, MI 48504      [email-masked]               /        / /  /  / /
  Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ /  /  / /