Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2000 14:11:43 +0800
From:      Feisal Umar <afu@webcraft99.com>
To:        questions@freebsd.org
Subject:   Failure to compile CYRUS from ports - CRYPT error?
Message-ID:  <5.0.0.25.0.20001111140012.00a65988@mail.miway.com>

next in thread | raw e-mail | index | archive | help
I got the following error message on compiling Cyrus from the ports on a 
4.2BETA. I've compiled CYRUS + SASL a couple of times before on an have 
never come across such errors. Is the port broken, or is my host broken?

I would appreciate any help or pointers with regards to ther matter.

Thanks in advance

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

configure:3848: checking for crypt
configure:3876: cc -o conftest -O -pipe -I/usr/local/include -L/usr/lib 
-R/usr/lib -L/usr/local/lib -R/usr/local/lib conftest.c -lcom_err -lfl 1>&5
/tmp/ccN51203.o: In function `main':
/tmp/ccN51203.o(.text+0x7): undefined reference to `crypt'
configure: failed program was:
#line 3853 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char crypt(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char crypt();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_crypt) || defined (__stub___crypt)
choke me
#else
crypt();
#endif

; return 0; }
configure:3894: checking for crypt in -lcrypt
configure:3913: cc -o conftest -O -pipe -I/usr/local/include -L/usr/lib 
-R/usr/lib -L/usr/local/lib -R/usr/local/lib conftest.c -lcrypt -lcom_err 
-lfl 1>&5
configure:3944: checking for des_ecb_encrypt in -ldes
configure:3963: cc -o conftest -O -pipe -I/usr/local/include -L/usr/lib 
-R/usr/lib -L/usr/local/lib -R/usr/local/lib conftest.c -ldes -lcrypt 
-lcom_err -lfl 1>&5
/usr/lib/libdes.so: file not recognized: File format not recognized
configure: failed program was:
#line 3952 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char des_ecb_encrypt();

int main() {
des_ecb_encrypt()
; return 0; }
(end of "config.log")
*** Error code 1

Stop in /usr/ports/mail/cyrus.
*** Error code 1

Stop in /usr/ports/mail/cyrus.
*** Error code 1

Stop in /usr/ports/mail/cyrus.
*** Error code 1

Stop in /usr/ports/mail/cyrus.



Feisal Umar
Webcraft Sdn Bhd - http://www.webcraft99.com

Peace, n.: In international affairs, a period of cheating between two 
periods of fighting. -- Ambrose Bierce, "The Devil's Dictionary"



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.0.25.0.20001111140012.00a65988>