Hello,

I am running Mandrake-Redhat Linux 6.0 on a PII 333Mhz, 64M RAM, 2 13Gig
HHDs, as a server for our modem pool, DNS, and pop3.

But I have run into a consistant problem when setting up the pop3 server.
I have downloaded imap-4.7.tar.Z from ftp.cac.washington.edu, and moved it
to the /usr/local/src directory.  I issued 'tar -zxvf imap-4.7.tar.Z' and
the package was successfully unzipped and untarred.  I cd imap-4.7 and
read the README which informed me that I should look in the Makefile to
get which OS I am installing on.  After doing that, I issued 'make lnx'
('cause we are not running shadow paswords), and I always exit with an
error (all output from 'make lnx' has been attached in the file
output.dea).

Could someone please tell me what I am doing wrong?  I have also tried
installing the imap package that came with our distribution of
Mandrake-RedHat Linux 6.0, and also some older imap packages as well.  And
all of them exit with the same error.

Thanx in advance (and Merry Christmas!!)

Dean
====
Dean Channing
Systems Administrator
807-City Freenet Inc.
http://www.807-city.on.ca/freenet
=================================
make[1]: Entering directory `/usr/local/src/imap-4.7'
You are building for traditional Linux. Most modern Linux
systems require that you build using make slx. Do you want
to continue this build? Type y or n please:
OK, I will remember that you really want to build for
traditional Linux. You will not see this message again.
If you discover that you can not log in to the POP and IMAP
servers, then do the following commands:
% rm lnxok
% make clean
% make slx
If slx does not work, try sl4 or sl5. Be sure to do a
make clean between each try!
make[1]: Leaving directory `/usr/local/src/imap-4.7'
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
sh -c '(test -d src/kerberos) && (ln -s `pwd`/src/kerberos/* c-client) || true'
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
ln -s tools/an .
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' 
PASSWDTYPE=std SPECIALAUTHENTICATORS='' GSSDIR=/usr/local OS=lnx
make[1]: Entering directory `/usr/local/src/imap-4.7'
Building c-client for lnx...
echo  > c-client/EXTRASPECIALS
echo GSSDIR=/usr/local >> c-client/EXTRASPECIALS
cd c-client;make lnx BUILDOPTIONS="EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' 
EXTRAAUTHENTICATORS='' PASSWDTYPE=std SPECIALAUTHENTICATORS=''" 
make[2]: Entering directory `/usr/local/src/imap-4.7/c-client'
You are building for traditional Linux *without* shadow
passwords and with the crypt function in the C library.
If your system has shadow passwords, or if crypt is not
in the C library, you must use slx, sl4, or sl5 instead!
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' 
PASSWDTYPE=std SPECIALAUTHENTICATORS='' `cat EXTRASPECIALS` OS=lnx SIGTYPE=psx \
 SPOOLDIR=/var/spool \
 ACTIVEFILE=/var/lib/news/active \
 RSHPATH=/usr/bin/rsh \
 BASECFLAGS="-g -O -DNFSKLUDGE"
make[3]: Entering directory `/usr/local/src/imap-4.7/c-client'
sh -c 'rm -rf auths.c flockbsd.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE 
*FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O -DNFSKLUDGE  > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
 -DMAILSPOOL=\"/var/spool/mail\" \
 -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \
 -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo   > LDFLAGS
echo "ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.o utf8.o siglocal.o 
dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o 
pop3.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" > ARCHIVE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths  md5  log
make[4]: Entering directory `/usr/local/src/imap-4.7/c-client'
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
make[4]: Leaving directory `/usr/local/src/imap-4.7/c-client'
ln -s os_lnx.h osdep.h
ln -s os_lnx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln -s 
flocksun.c flockbsd.c || ln -s flocksv4.c flockbsd.c'
ln -s ckp_std.c osdepckp.c
cat osdepbas.c osdepckp.c osdeplog.c > osdep.c
cc -g -O -DNFSKLUDGE    -c mail.c -o mail.o
cc -g -O -DNFSKLUDGE    -c misc.c -o misc.o
cc -g -O -DNFSKLUDGE    -c newsrc.c -o newsrc.o
cc -g -O -DNFSKLUDGE    -c smanager.c -o smanager.o
cc -g -O -DNFSKLUDGE  `cat OSCFLAGS` -c osdep.c
cc -g -O -DNFSKLUDGE    -c utf8.c -o utf8.o
cc -g -O -DNFSKLUDGE    -c siglocal.c -o siglocal.o
cc -g -O -DNFSKLUDGE    -c dummy.c -o dummy.o
cc -g -O -DNFSKLUDGE    -c pseudo.c -o pseudo.o
cc -g -O -DNFSKLUDGE    -c netmsg.c -o netmsg.o
cc -g -O -DNFSKLUDGE    -c flstring.c -o flstring.o
cc -g -O -DNFSKLUDGE    -c fdstring.c -o fdstring.o
cc -g -O -DNFSKLUDGE    -c rfc822.c -o rfc822.o
cc -g -O -DNFSKLUDGE    -c nntp.c -o nntp.o
cc -g -O -DNFSKLUDGE    -c smtp.c -o smtp.o
cc -g -O -DNFSKLUDGE    -c imap4r1.c -o imap4r1.o
cc -g -O -DNFSKLUDGE    -c pop3.c -o pop3.o
cc -g -O -DNFSKLUDGE    -c unix.c -o unix.o
cc -g -O -DNFSKLUDGE    -c mbox.c -o mbox.o
cc -g -O -DNFSKLUDGE    -c mbx.c -o mbx.o
cc -g -O -DNFSKLUDGE    -c mmdf.c -o mmdf.o
cc -g -O -DNFSKLUDGE    -c tenex.c -o tenex.o
cc -g -O -DNFSKLUDGE    -c mtx.c -o mtx.o
cc -g -O -DNFSKLUDGE    -c news.c -o news.o
news.c: In function `news_open':
news.c:345: warning: passing arg 3 of `scandir' from incompatible pointer type
cc -g -O -DNFSKLUDGE    -c phile.c -o phile.o
cc -g -O -DNFSKLUDGE    -c mh.c -o mh.o
mh.c: In function `mh_ping':
mh.c:655: warning: passing arg 3 of `scandir' from incompatible pointer type
mh.c: In function `mh_append':
mh.c:920: warning: passing arg 3 of `scandir' from incompatible pointer type
cc -g -O -DNFSKLUDGE    -c mx.c -o mx.o
mx.c: In function `mx_ping':
mx.c:589: warning: passing arg 3 of `scandir' from incompatible pointer type
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.o utf8.o siglocal.o dummy.o 
pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.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]: Leaving directory `/usr/local/src/imap-4.7/c-client'
make[2]: Leaving directory `/usr/local/src/imap-4.7/c-client'
echo lnx > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entering directory `/usr/local/src/imap-4.7/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c mtest.c -o 
mtest.o
`cat ../c-client/CCTYPE` -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':
/usr/local/src/imap-4.7/mtest/mtest.c:531: the `gets' function is dangerous and should 
not be used.
../c-client/c-client.a(osdep.o): In function `checkpw':
/usr/local/src/imap-4.7/c-client/osdep.c:106: undefined reference to `crypt'
make[2]: *** [mtest] Error 1
make[2]: Leaving directory `/usr/local/src/imap-4.7/mtest'
make[1]: *** [bundled] Error 2
make[1]: Leaving directory `/usr/local/src/imap-4.7'
make: *** [lnx] Error 2

Reply via email to