[Aide] Aide compilation issue: configure: error: AIDE requires mhash or libcrypt for hashsum calculation
Michael Arguello
michael.arguello at imprivata.com
Tue Feb 13 00:49:53 EET 2024
Hi Hannes,
Here is the output:
./configure --with-gcrypt --without-mhash
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... -std=gnu11
checking whether gcc -std=gnu11 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc -std=gnu11... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking whether yytext is a pointer... yes
checking for ld... ld
checking for pkg-config... /usr/bin/pkg-config
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
./configure: line 5959: test: too many arguments
checking for library containing syslog... none required
checking for vsyslog... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for byte... no
checking for ushort... yes
checking for ulong... yes
checking for u16... no
checking for u32... no
checking for u64... no
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking size of int... 4
checking size of long long... 8
checking size of uid_t... 4
checking size of gid_t... 4
checking size of ino_t... 8
checking size of nlink_t... 8
checking size of off_t... 8
checking size of blkcnt_t... 8
checking for strtoll... yes
checking for strtoimax... yes
checking for readdir... yes
checking for stricmp... no
checking for strnstr... no
checking for strnlen... yes
checking for fcntl... yes
checking for ftruncate... yes
checking for posix_fadvise... yes
checking for asprintf... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for va_copy... no
checking for __va_copy... no
checking for sigabbrev_np... no
checking for sys/prctl.h... yes
checking for open/O_NOATIME... no
checking for syslog.h... yes
checking for inttypes.h... (cached) yes
checking for fcntl.h... yes
checking for ctype.h... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libpcre2-8... yes
checking for pthread for multithreading... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -std=gnu11 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc -std=gnu11 is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for zlib compression... yes
checking for zlib... yes
checking for POSIX ACLs... no
checking for SELinux... no
checking for xattr... no
checking for POSIX 1003.1e capabilities... no
checking for e2fsattrs... no
checking for cURL... no
checking for Mhash... no
checking for GNU crypto library... yes
checking for libgcrypt... no
configure: error: libgcrypt not found by pkg-config - Try to add directory containing libgcrypt.pc to PKG_CONFIG_PATH environment variable
So, it seems like it can't find libgcrypt, but I know I have it installed. There are the packages installed on my system:
libgcrypt-1.5.3-14.el7.x86_64
libgcrypt-devel-1.5.3-14.el7.x86_64
Thanks!
Michael Arguello
DevOps Engineer II (Intermediate)
www.imprivata.com
The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information. [ImprivataV12018]
________________________________
From: Aide <aide-bounces at ipi.fi> on behalf of Hannes von Haugwitz <hannes at vonhaugwitz.com>
Sent: Saturday, February 10, 2024 8:51 AM
To: Aide user mailinglist <aide at ipi.fi>
Subject: Re: [Aide] Aide compilation issue: configure: error: AIDE requires mhash or libcrypt for hashsum calculation
Hello,
On Fri, Feb 09, 2024 at 03:50:34PM +0000, Michael Arguello wrote:
> This is for Aide version 0.18.6.
>
> I'm trying to run the instructions in the README file:
> $ ./configure
> $ make
> $ make install
>
> This is on a fresh CentOS7 minimal system. I installed the requirements listed in the README file. When I run ./configure, I get the following error:
> configure: error: AIDE requires mhash or libcrypt for hashsum calculation
(I'm not a CentOS user)
Can you please try to explicitly enable gcrypt via './configure --with-gcrypt --without-mhash`
and provide the full output of the `./configure` run?
Best regards
Hannes
_______________________________________________
Aide mailing list
Aide at ipi.fi
https://www.ipi.fi/mailman/listinfo/aide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image032722.png
Type: image/png
Size: 6405 bytes
Desc: image032722.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image649219.png
Type: image/png
Size: 617 bytes
Desc: image649219.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image479170.png
Type: image/png
Size: 379 bytes
Desc: image479170.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image287793.png
Type: image/png
Size: 413 bytes
Desc: image287793.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image239975.png
Type: image/png
Size: 518 bytes
Desc: image239975.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image829946.png
Type: image/png
Size: 418 bytes
Desc: image829946.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image434999.png
Type: image/png
Size: 10709 bytes
Desc: image434999.png
URL: <http://www.ipi.fi/pipermail/aide/attachments/20240212/43de02a8/attachment-0013.png>
More information about the Aide
mailing list