Subject: Compilation Errors.

From: Yasholomew Yashinski <[email-masked]>
Date: Thu, 5 Nov 1998 14:31:47 -0500 (EST)

I'm not sure if this is directly Pine related, or a problem on my end,
however perhaps you can help.
I'm trying to compile Pine 4.05 on a linux platform using "build lnx"
Here is an excerpt from the tail:
____
/usr/i486-linux/bin/ld: cannot open -ltermcap: No such file or directory
make: *** [pine] Error 1

Links to executables are in bin directory:
size: bin/pine: No such file or directory
text    data    bss     dec     hex     filename
452613  22196   2192    477001  74749   bin/mtest
480304  22312   9612    512228  7d0e4   bin/imapd
size: bin/pico: No such file or directory
size: bin/pilot: No such file or directory
Done
______

For some reason it only compiled mtest and imapd, not pine/pico, which
are the two I really want upgraded :)
Tia.

 "One world, one web, one program" - Microsoft Promo ad.
 "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler

http://www.linux.org => Where do you want to go tomorrow?
Recently Updated => http://euphoria.yashy.ottawa.on.ca

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

---

From: "Robin S. Socha" <[email-masked]>
Date: 05 Nov 1998 21:13:17 +0100

* Yasholomew Yashinski <[email-masked]> writes:

> I'm not sure if this is directly Pine related, or a problem on my
> end, however perhaps you can help.  I'm trying to compile Pine 4.05
> on a linux platform using "build lnx" Here is an excerpt from the
> tail: ____ /usr/i486-linux/bin/ld: cannot open -ltermcap: No such
> file or directory make: *** [pine] Error 1

SuSE? <http://www.kens.com/robin/pine-tips.html#suse> One fscked up
distrib...

Robin

-- 
The One and Only Robin S. Socha 
<http://www.kens.com/robin/>
Cc: me and I'll kill -9 you

---

From: Daniel Sands <[email-masked]>
Date: Thu, 5 Nov 1998 15:45:21 -0700

> /usr/i486-linux/bin/ld: cannot open -ltermcap: No such file or directory

Apparently, you don't have /usr/lib/libtermcap.a  Do you have libterminfo?

---

From: Ian Hall-Beyer <[email-masked]>
Date: Thu, 5 Nov 1998 16:34:46 -0700 (MST)

> Apparently, you don't have /usr/lib/libtermcap.a  Do you have libterminfo?

Also, a problem I've encountered under linux while building pine involves
the crypt() function, which is not actually referenced anywhere in the
make or header files. There are 4 makefiles that need to have -lcrypt
added to them, and the os_lnx.h file needs to have an include added. This
is under redhat anyway, I would expect it is probably a glibc-related
issue, but easily fixable. If anyone else has had this problem, let me
know, I'll send you a patch I made.

Note to the pine developers, if you're listening, it would be nice to have
this fixed!

-Ian

---

From: Daniel Sands <[email-masked]>
Date: Thu, 5 Nov 1998 16:45:47 -0700

> know, I'll send you a patch I made.

Yes.  Glibc has the crypto library separated from its normal distribution due
to export issues.  So if crypto functions are being used, they should be
referenced for glibc versions.  Perhaps the build script should check to see
if the -lcrypt is necessary.

---

From: Ian Hall-Beyer <[email-masked]>
Date: Thu, 5 Nov 1998 18:06:00 -0700 (MST)

> if the -lcrypt is necessary.

I suspected as much. Might want to change the build script and appropriate
header/make files to build libc or glibc (of course, this now makes for 4
different linux options - maybe just detecting libc/glibc would be better)

-Ian

---

From: Rudolf Kompf <[email-masked]>
Date: Fri, 6 Nov 1998 10:04:12 +0100 (MET)

I don't know the reason but I believe that with recent Linux versions one
have to try
    build sl5
or
    build sl4

-> Date: Thu, 5 Nov 1998 14:31:47 -0500 (EST)
-> From: Yasholomew Yashinski <[email-masked]>
-> To: Pine Discussion Forum <[email-masked]>
-> Subject: Compilation Errors.
-> 
-> 
->  I'm not sure if this is directly Pine related, or a problem on my end,
-> however perhaps you can help.
-> I'm trying to compile Pine 4.05 on a linux platform using "build lnx"
-> Here is an excerpt from the tail:
-> ____
-> /usr/i486-linux/bin/ld: cannot open -ltermcap: No such file or directory
-> make: *** [pine] Error 1
-> 
-> Links to executables are in bin directory:
-> size: bin/pine: No such file or directory
-> text    data    bss     dec     hex     filename
-> 452613  22196   2192    477001  74749   bin/mtest
-> 480304  22312   9612    512228  7d0e4   bin/imapd
-> size: bin/pico: No such file or directory
-> size: bin/pilot: No such file or directory
-> Done

-- 
-----------------------------------------------------------------------
Rudolf Kompf                     | E-mail: [email-masked]