On Fri, Jun 23, 2000 at 08:36:32AM +0200, Mark Murray wrote:
> > Building world failed on my machine... (with USA_RESIDENT=NO)
> > Does IDEA stuff compiled by default?
> I messed this up. Fix coming.

Something seems to be wrong with the logic concerning IDEA stuff.
I ask because I can't build the security/p5-Net-SSLeay port anymore
which is for example needed for webmin.

It fails because idea.h can't be found.

evp.h needs idea.h which isn't present:
/usr/include/openssl/evp.h:#include <openssl/idea.h>

There are several knobs to play with.
I finally defined WITH_IDEA=YES in /etc/make.conf and did a 
make includes, but actually idea.h doesn't show up.

When digging around under the secure src hierarchie I noticed,
that WITH_IDEA only triggers a make variable

.if !defined(WITH_IDEA) || ${WITH_IDEA} != YES

But that is not sufficient, since secure/lib/libcrypto/Makefile
only includes IDEA stuff, if MAKE_IDEA is defined && set to "YES".

if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
# idea
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
SRCS+=  i_ecb.c i_cbc.c i_cfb64.c i_ofb64.c i_skey.c
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
HDRS+=  idea/idea.h

That's the reason, why idea.h is missing in /usr/include.
Two possibilities to fix the problem:


.if !defined(WITH_IDEA) || ${WITH_IDEA} != YES

B) change the whole "ifdef MAKE_IDEA" stuff in 
   to "ifdef WITH_IDEA"

Andreas Klemm                               http://people.FreeBSD.ORG/~andreas
                                   powered by Symmetric MultiProcessor FreeBSD
New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas

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

Reply via email to