Subject: Problems with PINE in SCO 3.2.4.2

From: SOLON CACERES MORENO <[email-masked]>
Date: Wed, 05 Feb 1997 11:47:27 -0800

thank you for help.

The crypt library has been installed.
I run:

build clean

and then i run:

build sco

The standard output received is:
===================================================================
make args are "CC=cc "

Making c-client library, mtest and imapd
        make build SYSTYPE=ANSI OS=sco
        echo sco > OSTYPE
        rm -rf systype
        ln -s ANSI systype
        cd ANSI/c-client; make sco
        make mtest OS=sco EXTRADRIVERS="" \
                STDPROTO=mmdfproto MAILSPOOL=/usr/spool/mail \
                ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
                RSH=rcmd RSHPATH=/usr/bin/rcmd \
                CFLAGS= LN="ln" RANLIB=true \
                LDFLAGS="-lsocket -lprot -lcrypt -lx"
        ./drivers  imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy
        rm -f CCTYPE CFLAGS LDFLAGS osdep.h
        echo cc > CCTYPE
        echo  > CFLAGS
        echo -lsocket -lprot -lcrypt -lx  > LDFLAGS
        ln os_sco.h osdep.h
        cc  -c mail.c
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1

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   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE attach.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE ansi.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE basic.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE bind.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE browse.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE buffer.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE composer.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE display.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE file.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE fileio.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE line.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE osdep.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE pico.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE random.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE region.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE search.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE spell.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE tinfo.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE window.c
        cc -c   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE word.c
        ar ru libpico.a attach.o ansi.o basic.o bind.o browse.o buffer.o compose
r.o  display.o file.o fileio.o line.o osdep.o pico.o random.o  region.o search.o
 spell.o tinfo.o window.o word.o
        cc   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE main.c libpico.a  -ltinfo -lc -
lc_s -lx -o pico
        cc   -Dsco -DPOSIX -DJOB_CONTROL -DMOUSE pilot.c libpico.a  -ltinfo -lc
-lc_s -lx -o pilot

Making Pine.
        rm -f os.h
        ln -s osdep/os-sco.h os.h
        ./cmplhlp2.sh  < pine.hlp > helptext.h
        cc   -g -DDEBUG  -DSCO -DSYSTYPE=\"SCO\" -DMOUSE -c addrbook.c
*** Error code 1

Links to executables are in bin directory:
bin/pico: 149108 + 34124 + 12372 = 195604
bin/pilot: 148140 + 34000 + 12372 = 194512
Done
=============End of standard output================

an the Errors Standard Output is:

------------------------------------------------------
ln: cannot create c-client
ln: File exists
ln: cannot create imapd
ln: File exists
mail.c
osdep.h(44) : fatal error C1024: cannot open include file 'syslog.h'
attach.c
ansi.c
basic.c
bind.c
browse.c
buffer.c
composer.c
display.c
file.c
fileio.c
line.c
osdep.c
osdep.c(409) : warning C4061: long/short mismatch in argument : conversion suppl
ied
osdep.c(467) : warning C4061: long/short mismatch in argument : conversion suppl
ied
osdep.c(1748) : warning C4061: long/short mismatch in argument : conversion supp
lied
pico.c
random.c
region.c
search.c
spell.c
tinfo.c
window.c
word.c
ar: creating libpico.a
main.c
pilot.c
addrbook.c
os.h(237) : fatal error C1024: cannot open include file 'netdb.h'
size:  bin/pine:  cannot open
size:  bin/mtest:  cannot open
size:  bin/imapd:  cannot open
-------------------------- End of Error Standard
Output-----------------------------

Newly, Thank you very Much

SOLON CACERES MORENO (Colombia, South America)
Solón Cáceres Moreno
Coordinador de Sistemas de Información CDMB
e-mail: [email-masked]

---

From: Richard Gering <[email-masked]>
Date: Thu, 6 Feb 1997 17:49:58 +0100 (WET)

> The crypt library has been installed.
    .
    .
> an the Errors Standard Output is:
    .
    .
> osdep.h(44) : fatal error C1024: cannot open include file 'syslog.h'
    .
    .
> os.h(237) : fatal error C1024: cannot open include file 'netdb.h'

Judging from these missing files it would seem that you don't have the
TCP/IP development system installed. To check this, execute the command
"swconfig | grep TCP". Its output should be similar to the following: 

  SCO TCP/IP Development System    1.2.1i    installed        
  SCO TCP/IP Runtime System        1.2.1o    installed        

In the "good" old days, SCO had you buy the SCO TCP/IP development system
separately from the generic development system. It looks like this
additional product was never purchased/installed on your server. Oops... 

You can try to obtain the TCP/IP Development System for 3.2v4.2, but this
can prove difficult since that product has officially been withdrawn as of
January 1st 1997. Some dealer might still have one on stock, though.

Alternate solutions:

- If 3.2v4.2 is a requirement, you can still get the Desktop Development
  System (version 3) which should include TCP/IP. Unfortunately, you
  also need SCO Desktop or SCO Enterprise version 3. Expensive!

- Upgrade to SCO OpenServer 5 with its development system. These days
  the development system includes TCP/IP :-)  Not very cheap either.

- If what you are trying to do is non-commercial/you are a student/you are
  doing this privately, you can get an OpenServer 5 Desktop system WITH
  its development system for free(!)  Even though we are talking about
  a Desktop system and not a server, the TCP/IP code should still be part
  of the Development System. Check out www.sco.com.

Then again, your TCP/IP development system might simply be laying in a
closet under a load of dust just waiting to be installed :-) 

I hope this information can get you a bit further. Good luck!

Regards,

- Richard Gering.

+-----------------------------------------------------------------------------+
| Richard Gering ([email-masked]) |      Open minds use Open Systems        |
| CI International. The Netherlands |      (which O.S. are you using?)        |
+-----------------------------------------------------------------------------+

---

From: [email-masked] (CrazyLoon)
Date: Thu, 06 Feb 1997 03:30:44 GMT

On 5 Feb 1997 08:48:28 -0800, [email-masked] (SOLON

>The crypt library has been installed.

	Which one?  I found one that works, and it isn't the one on
SCO's website.

>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>make args are "CC=3Dcc "
>

	I'm assuming the 3D= isn't actually there, are you using the
cc that came with SCO's DEV kit, or are you using a renamed GCC?  I
had problems with SCO's cc, however PINE had no probelms with GCC
2.7.2.  Of course, getting GCC 2.7.2 was a total pain, but so far it
has been worth it.

>Sol=F3n C=E1ceres Moreno
>Coordinador de Sistemas de Informaci=F3n CDMB

-----
CrazyLoon
http://www.shore.net/~crzyloon