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 secure/Makefile.inc: .if !defined(WITH_IDEA) || ${WITH_IDEA} != YES CFLAGS+= -DNO_IDEA .endif 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 .PATH: ${LCRYPTO_SRC}/idea .endif [...] # idea .if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES SRCS+= i_ecb.c i_cbc.c i_cfb64.c i_ofb64.c i_skey.c .endif [...] .if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES HDRS+= idea/idea.h .endif That's the reason, why idea.h is missing in /usr/include. Two possibilities to fix the problem: A) etc/defaults/make.conf: DMAKE_IDEA=YES secure/Makefile.inc: .if !defined(WITH_IDEA) || ${WITH_IDEA} != YES CFLAGS+= -DNO_IDEA .else CFLAGS+= -DMAKE_IDEA ^^^^^^^^^^^^^^^^^^^^ .endif B) change the whole "ifdef MAKE_IDEA" stuff in secure/lib/libcrypto/Makefile to "ifdef WITH_IDEA" -- Andreas Klemm http://people.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html 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