mcrypt

2000-01-23 Thread Douglas Kuntz

While trying to compile the Apache13-php3 port, with mod_ssl, and
encryption, I get the following error:

-c functions/mcrypt.c -o functions/mcrypt.o
functions/mcrypt.c:172: #error Please update your mcrypt library
*** Error code 1

Is this a ports problem, or a current problem?

Thanks in advance.

Douglas Kuntz



- Original Message -
From: "John Polstra" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 23, 2000 2:27 PM
Subject: Re: rtld-elf, java + tya


  ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/lockdflt.c:55

 If any of you can reproduce this problem fairly reliably, please try
 the appended patch for "src/libexec/rtld-elf/lockdflt.c" and let me
 know if it solves the problem.

 Thanks,
 John

 Index: lockdflt.c
 ===
 RCS file: /home/ncvs/src/libexec/rtld-elf/lockdflt.c,v
 retrieving revision 1.3
 diff -u -r1.3 lockdflt.c
 --- lockdflt.c 2000/01/09 21:13:48 1.3
 +++ lockdflt.c 2000/01/23 19:03:26
 @@ -28,10 +28,9 @@
  /*
   * Default thread locking implementation for the dynamic linker.  It
   * is used until the client registers a different implementation with
 - * dllockinit().  The default implementation does mutual exclusion
 - * by blocking the SIGVTALRM, SIGPROF, and SIGALRM signals.  This is
 - * based on the observation that most userland thread packages use one
 - * of these signals to support preemption.
 + * dllockinit().  The default implementation does mutual exclusion by
 + * blocking almost all signals.  This is based on the observation that
 + * most userland thread packages use signals to support preemption.
   */

  #include dlfcn.h
 @@ -63,10 +62,13 @@

  l = NEW(LockDflt);
  l-depth = 0;
 -sigemptyset(l-lock_mask);
 -sigaddset(l-lock_mask, SIGVTALRM);
 -sigaddset(l-lock_mask, SIGPROF);
 -sigaddset(l-lock_mask, SIGALRM);
 +sigfillset(l-lock_mask);
 +sigdelset(l-lock_mask, SIGTRAP);
 +sigdelset(l-lock_mask, SIGABRT);
 +sigdelset(l-lock_mask, SIGBUS);
 +sigdelset(l-lock_mask, SIGSEGV);
 +sigdelset(l-lock_mask, SIGKILL);
 +sigdelset(l-lock_mask, SIGSTOP);
  return l;
  }



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mcrypt

2000-01-23 Thread Kris Kennaway

On Sun, 23 Jan 2000, Douglas Kuntz wrote:

 -c functions/mcrypt.c -o functions/mcrypt.o
 functions/mcrypt.c:172: #error Please update your mcrypt library
 *** Error code 1
 
 Is this a ports problem, or a current problem?

Ports. Looks like it's trying to use the library from security/mcrypt. Do
you have an old version of this installed which the configure script might
be locating?

BTW, please don't reply to an unrelated message when starting a new
topic. It screws up the message threading for people who use a MUA which
can do that.

Kris


"How many roads must a man walk down, before you call him a man?"
"Eight!"
"That was a rhetorical question!"
"Oh..then, seven!" -- Homer Simpson



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message