pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39909: mcrypt fails to compile with #error Cannot find either INT_MAX, INTMAX, or MAXINT



>Number:         39909
>Category:       pkg
>Synopsis:       mcrypt fails to compile with #error Cannot find either 
>INT_MAX, INTMAX, or MAXINT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 12 21:40:00 +0000 2008
>Originator:     Volkmar Seifert
>Release:        NetBSD/i386, 3.1
>Organization:
>Environment:
NetBSD unknown 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006  
builds%b0.netbsd.org@localhost:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
While making mcrypt, the first call of cc fails with the following errors:

/var/pkgwork/security/mcrypt/work/.buildlink/include/mutils/mincludes.h:112:2: 
#error Cannot find either INT_MAX, INTMAX, or MAXINT
/var/pkgwork/security/mcrypt/work/.buildlink/include/mutils/mincludes.h:124:2: 
#error Cannot find either INT_MIN, INTMIN, or MININT

This happens on pkgsrc-current.
>How-To-Repeat:
Simply execute make in security/mcrypt.
>Fix:
add the following line to the config.h-file of mcrypt in its work-directory 
after make has failed the first time:

#define MUTILS_USE_MHASH_CONFIG 1

If you want to be sure, add the following line as well:

#define HAVE_LIMITS_H 1

but it should be included by the header-file that will be included by the first 
line.




Home | Main Index | Thread Index | Old Index