Re: [Aide] install using centos rpm
I believe you understood correctly. Allow me to explain more explicitly. When you install a library package with Yum (for example zlib), you generally only get the binary library .so files. This is all you need to run an application linked to those libraries. However, compiling a package from source requires the source headers (.h files) of the required libraries. These are not packaged in the main RPM for the library, since they are not usually needed. Instead, they are packaged in a devel RPM. So I believe to correct your issue with zlib, you can run yum install zlib-devel. You will need to install the -devel package for any other libraries the configure script complains about. Regards, Keith Constable On Mar 14, 2014, at 10:36 AM, Yunker, James M CIV NUWC NWPT james.yun...@navy.mil wrote: I think that I did not make something clear and that I should clear it up immediately. I started by installing an rpm version of aide. sudo yum install aide when I ran aide --init this is when I got Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running. Caught SIGBUS/SEGV. Exiting. This as I said was from an rpm install of aide. Now when you said to configure without mmaping, I assumed that you meant to configure Like this, configure, make, make install. Could you have meant the aide.conf file instead? Once I received the initial error on my rpm install, I went to the aide-0.15.1.tar.gz method of installing aide. I then ran configure, make and make install. So maybe when you said to use configure without mmaping, you meant the Aide.conf file? Is this possible? Thanks in advance. Respectfully, James M. Yunker -Original Message- From: Yunker, James M CIV NUWC NWPT Sent: Tuesday, March 11, 2014 4:41 PM To: 'aide@cs.tut.fi' Subject: install using centos rpm While running AIDE the program crashes or terminates after a few minutes with the message shown below: Code: Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? Caught SIGBUS/SEGV. Exiting What is wrong here? One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that? What does this error mean and how do I fix it? Thanks. R, James M. Yunker I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer. ___ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide smime.p7s Description: S/MIME cryptographic signature ___ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide
Re: [Aide] install using centos rpm
James, Good morning. From a SysAdmin perspective you should choose whether to build from source or install from your OS' package management system. If you need to recompile for a particular feature, you should try removing the RPM that you installed. Regards, Ramon Long Director of Information Systems Evolve, Inc. Advertising + Marketing + Public Relations tel: 252.754.2957 ext. 111 ra...@evolveinc.com -Original Message- From: Aide [mailto:aide-boun...@cs.tut.fi] On Behalf Of Yunker, James M CIV NUWC NWPT Sent: Friday, March 14, 2014 10:05 AM To: aide@cs.tut.fi Subject: Re: [Aide] install using centos rpm I think that I did not make something clear and that I should clear it up immediately. I started by installing an rpm version of aide. sudo yum install aide when I ran aide --init this is when I got Caught SIGBUS/SEGV while mmaping. File was truncated while aide was running. Caught SIGBUS/SEGV. Exiting. This as I said was from an rpm install of aide. Now when you said to configure without mmaping, I assumed that you meant to configure Like this, configure, make, make install. Could you have meant the aide.conf file instead? Once I received the initial error on my rpm install, I went to the aide-0.15.1.tar.gz method of installing aide. I then ran configure, make and make install. So maybe when you said to use configure without mmaping, you meant the Aide.conf file? Is this possible? Thanks in advance. Respectfully, James M. Yunker -Original Message- From: Yunker, James M CIV NUWC NWPT Sent: Tuesday, March 11, 2014 4:41 PM To: 'aide@cs.tut.fi' Subject: install using centos rpm While running AIDE the program crashes or terminates after a few minutes with the message shown below: Code: Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? Caught SIGBUS/SEGV. Exiting What is wrong here? One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that? What does this error mean and how do I fix it? Thanks. R, James M. Yunker I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer. ___ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide
Re: [Aide] install using centos rpm
I re-ran configure using what you said: ./configure --without-mmap and the following output was seen: Checking for deflate in : lz ... no Configure: error: You don't have zlib properly installed. Install it or try --with-out-zlib. I am using Centos 6.5, 64 bit. I have zlib installed for both 32 and 64 bits. I am not sure what They are saying. I reinstalled zlib using : sudo yum install zlib so it should be okay. It still gave me the same error when I re-installed zlib, and reran: ./configure --without-mmap Then I tried : ./configure --without-mmap --without-zlib The following output was seen: checking for mhash get_block_size in -lmhash... no configure: WARNING : No mhash means no hmac. checking for gpg_sterror in-lgpg-error ... no configure error: You need to have libgpg-error.a install to use libcrypt. Now I am not sure what else to do. It seems that I should configure with zlib, It says it is not installed improperly. I am assuming it is looking for the 64 bit zlib, since my native operating system is Centos 6.5, 64 bit. I am guessing it is not find zlib and I must direct configure it to find zlib. I am just not sure if I am even on the correct track or not. It is just not finding zlib. How do I direct it to find it? What else can I do? Any help appreciated. Thanks in advance. Respectfully, James M. Yunker -Original Message- From: Yunker, James M CIV NUWC NWPT Sent: Tuesday, March 11, 2014 4:41 PM To: 'aide@cs.tut.fi' Subject: install using centos rpm While running AIDE the program crashes or terminates after a few minutes with the message shown below: Code: Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? Caught SIGBUS/SEGV. Exiting What is wrong here? One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that? What does this error mean and how do I fix it? Thanks. R, James M. Yunker I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer. smime.p7s Description: S/MIME cryptographic signature ___ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide
Re: [Aide] install using centos rpm
James, Generally speaking, when a package build system complains about a missing library, it is looking for the -devel version of it. You may want to check the CentOS packaging system for a zlib-devel and libcrypt-devel or something similar. Regards, Keith Constable On 13 Mar 2014, at 12:26 PM, Yunker, James M CIV NUWC NWPT james.yun...@navy.mil wrote: I re-ran configure using what you said: ./configure --without-mmap and the following output was seen: Checking for deflate in : lz ... no Configure: error: You don't have zlib properly installed. Install it or try --with-out-zlib. I am using Centos 6.5, 64 bit. I have zlib installed for both 32 and 64 bits. I am not sure what They are saying. I reinstalled zlib using : sudo yum install zlib so it should be okay. It still gave me the same error when I re-installed zlib, and reran: ./configure --without-mmap Then I tried : ./configure --without-mmap --without-zlib The following output was seen: checking for mhash get_block_size in -lmhash... no configure: WARNING : No mhash means no hmac. checking for gpg_sterror in-lgpg-error ... no configure error: You need to have libgpg-error.a install to use libcrypt. Now I am not sure what else to do. It seems that I should configure with zlib, It says it is not installed improperly. I am assuming it is looking for the 64 bit zlib, since my native operating system is Centos 6.5, 64 bit. I am guessing it is not find zlib and I must direct configure it to find zlib. I am just not sure if I am even on the correct track or not. It is just not finding zlib. How do I direct it to find it? What else can I do? Any help appreciated. Thanks in advance. Respectfully, James M. Yunker -Original Message- From: Yunker, James M CIV NUWC NWPT Sent: Tuesday, March 11, 2014 4:41 PM To: 'aide@cs.tut.fi' Subject: install using centos rpm While running AIDE the program crashes or terminates after a few minutes with the message shown below: Code: Caught SIGBUS/SEGV while mmapping. File was truncated while aide was running? Caught SIGBUS/SEGV. Exiting What is wrong here? One website on the internet said to configure AIDE without mmaping - except it did not say how to do that or why one should do that? What does this error mean and how do I fix it? Thanks. R, James M. Yunker I am using Centos 6.5, 64 bit Linux. I installed and then received this error when it crashed. It has never crated a complete database of my computer. ___ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide smime.p7s Description: S/MIME cryptographic signature ___ Aide mailing list Aide@cs.tut.fi https://mailman.cs.tut.fi/mailman/listinfo/aide