Error compiling IMAP support in PHP
| From: | Ankur Verma | Date: | Tue, 29 Aug 2000 13:29:17 +0000 |
| Subject: | Error compiling IMAP support in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16346@lists.php.net to get a copy of this message | ||
Hi All
I am trying to compile imap support with PHP. for this , i downloaded =
the c-client.tar.gz file and tryied making it. But I get the following =
error output while trying to make it up :
**************** Output ************************
Rebuilding c-client for sl5...
touch c-client/EXTRASPECIALS
cd c-client;make all CC=3D
cat CCTYPE CFLAGS=3D"cat CFLAGS" `cat
=
EXTRASPECIALS`
make[2]: Entering directory `/home/ankurv/install/imap/c-client'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ankurv/install/imap/c-client'
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entering directory `/home/ankurv/install/imap/mtest'
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 `mm_login':
/home/ankurv/install/imap/mtest/mtest.c:531: the `gets' function is =
dangerous an
d should not be used.
../c-client/c-client.a(osdep.o): In function `checkpw':
/home/ankurv/install/imap/c-client/osdep.c:130: undefined reference to =
`crypt'
/home/ankurv/install/imap/c-client/osdep.c:147: undefined reference to =
`crypt'
collect2: ld returned 1 exit status
make[2]: *** [mtest] Error 1
make[2]: Leaving directory `/home/ankurv/install/imap/mtest'
make[1]: *** [bundled] Error 2
make[1]: Leaving directory `/home/ankurv/install/imap'
make: *** [slx] Error 2
*******************************
The system configuration is
Redhat Linux 6.0 running on Celeron 433 Mhz. I have done a complete =
install of Linux by selecting "everything" while installing.
Any help in solving the problem would be appreciated.
Thanks in advance.
Ankur Verma
<ankurv@vsnl.com>