Subject: Pine Installation problem

From: Abdelkhalak Rachid <[email-masked]>
Date: 24 Jan 2003 16:25:37 +0000

Hello,

At first i'm sorry for my english verry bad ;-)

I'm a newbie to Mandrake9.0 and i'm using Pc Pine in Windows 2000 No
without problem, i want to use it in mandrake9.0 and i cant build it i
have everytime a error message.

I downloaded the Pine4.53.tar.gz file, extracted this file to my home
directiry, after, Logged as root i make

# cd pine4.53
#./build clean
# ./build NOSSL lnx

I test it with 

#./build slx and "./buil NOSSL slx and he give me the same message...

I have this message in the end of the operation:

--------------------------

./mkauths  md5 pla log
make[4]: Entre dans le répertoire `/home/rachid/pine4.53/imap/c-client'
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
make[4]: Quitte le répertoire `/home/rachid/pine4.53/imap/c-client'
ln -s os_slx.h osdep.h
ln -s os_slx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
sh -c '(test -f /usr/include/sys/statvfs.h -a slx != sc5 -a slx != sco)
&& ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c'
Standard password authentication
ln -s ckp_psx.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/include/openssl/include
-I/usr/include/openssl/include/openssl
-DSSL_CERT_DIRECTORY=\"/usr/include/openssl/certs\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/include/openssl/lib -lssl -lcrypto  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >>
linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make slx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
/bin/sh: line 1: cc: command not found
make[3]: *** [osdep.o] Erreur 127
make[3]: Quitte le répertoire `/home/rachid/pine4.53/imap/c-client'
make[2]: *** [slx] Erreur 2
make[2]: Quitte le répertoire `/home/rachid/pine4.53/imap/c-client'
make[1]: *** [OSTYPE] Erreur 2
make[1]: Quitte le répertoire `/home/rachid/pine4.53/imap'
make: *** [slx] Erreur 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+

HELPPPPPPPPPPPPPPPPPPPPPP

thanks a lot....

Rachid

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

---

From: Eduardo Chappa <[email-masked]>
Date: Fri, 24 Jan 2003 09:06:13 -0800 (PST)

*** Abdelkhalak Rachid ([email-masked]) wrote in the pine-info list today:

[...]
:) I have this message in the end of the operation:
:) [...]
:) /bin/sh: line 1: cc: command not found

That line says that you need to install a C compiler. If you have
installed gcc as your compiler try adding the parameter "CC=gcc", so
something like

./build NOSSL CC=gcc lnx

may work. If not, install a C compiler first.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Abdelkhalak Rachid <[email-masked]>
Date: 25 Jan 2003 10:33:08 +0000

I installed gcc compiler and i have now not the same error message:
thir is the end of the new error message:

cat CCTYPE` -c `cat CFLAGS` mmdf.c
`cat CCTYPE` -c `cat CFLAGS` tenex.c
`cat CCTYPE` -c `cat CFLAGS` mtx.c
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c: In function `news_open':
news.c:309: warning: passing arg 3 of `scandir' from incompatible
pointer type
`cat CCTYPE` -c `cat CFLAGS` phile.c
`cat CCTYPE` -c `cat CFLAGS` mh.c
mh.c: In function `mh_ping':
mh.c:638: warning: passing arg 3 of `scandir' from incompatible pointer
type
mh.c: In function `mh_append':
mh.c:895: warning: passing arg 3 of `scandir' from incompatible pointer
type
`cat CCTYPE` -c `cat CFLAGS` mx.c
mx.c: In function `mx_ping':
mx.c:592: warning: passing arg 3 of `scandir' from incompatible pointer
type
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o
siglocal.o dum
my.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o
imap4r1.o po
p3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o
mx.o;ranlib c-
client.a
make[3]: Quitte le répertoire `/home/rachid/pine4.53/imap/c-client'
make[2]: Quitte le répertoire `/home/rachid/pine4.53/imap/c-client'
echo lnx > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entre dans le répertoire `/home/rachid/pine4.53/imap/mtest'
gcc -I../c-client `cat ../c-client/CFLAGS`   -c -o mtest.o mtest.c
gcc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o
../c-client/c-client                                                             .a `cat ../c-client/LDFLAGS`
mtest.o: In function `prompt':
/home/rachid/pine4.53/imap/mtest/mtest.c:517: the `gets' function is
dangerous a                                                            
nd should not be used.
../c-client/c-client.a(osdep.o): In function `checkpw':
/home/rachid/pine4.53/imap/c-client/osdep.c:77: undefined reference to
`crypt'
collect2: ld returned 1 exit status
make[2]: *** [mtest] Erreur 1
make[2]: Quitte le répertoire `/home/rachid/pine4.53/imap/mtest'
make[1]: *** [bundled] Erreur 2
make[1]: Quitte le répertoire `/home/rachid/pine4.53/imap'
make: *** [lnx] Erreur 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+

[root@pcRachid pine4.53]#

thanks a lot...

Rachid

---

From: Eduardo Chappa <[email-masked]>
Date: Sat, 25 Jan 2003 08:22:37 -0800 (PST)

*** Abdelkhalak Rachid ([email-masked]) wrote today:

:) I installed gcc compiler and i have now not the same error message:
:) thir is the end of the new error message:
:)
:) /home/rachid/pine4.53/imap/c-client/osdep.c:77: undefined reference to
:) `crypt'

The error is different, you need to install the crypt library.

---

From: Abdelkhalak Rachid <[email-masked]>
Date: 27 Jan 2003 11:59:17 +0000

Thanks for your help,
You know i'm a newbie in Linux and i dont know how to install the Crypt
library, I check in the packages list and i dont find any package with
this name, can you give me an indice please?????

thanks a lot.

---

From: Abdelkhalak Rachid <[email-masked]>
Date: 27 Jan 2003 12:09:56 +0000

I posted a questions too about possibility to have a compliled Directory
of Pine (Like in Windows Version) and i have just to copy it in a
specific dir for working with.... is possible?

thanks

---

From: Erwan Becquet <[email-masked]>
Date: Mon, 27 Jan 2003 14:00:39 +0100

Hi there,

yes it is possible to install binary packages in LinuX. They are called RPM
(stand for RedHat Package Manager). Try to get a rpm file for pine at
http://rpmfind.net/ , enter 'pine' in search window.

Once you get the pine-4.xxxxxx.rpm file, type 'rpm -Uhv pine.4-xxx.rpm' as
root.

The RPM installer can complain about missing packages (crypt for example)
you can then try to get a rpm file for missing packages.

Hope this help. Erwan.

Abdelkhalak Rachid wrote:

>http://www.kde.org/download.htmlI posted a questions too about possibility to have a compliled Directory

---

From: nimit gupta <[email-masked]>
Date: Mon, 27 Jan 2003 20:55:08 -0800 (PST)

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------