- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Getting AIDE to work on HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 07:58 AM
12-15-2008 07:58 AM
Re: Getting AIDE to work on HP-UX
SANS UNIX test last week, so back at it.
FYI, I am using 11.11 on a J6750 (RISC chip).
I put the #
There were a lot of new errors with .h files. I was able
to make a link to a directory and eliminate many of the
new cstdint problems.
Reading some install files that I now better understand, I
am using the command:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
to compile. Seems to be what you were trying to say in the
early responses.
I am still getting the error:
/usr/ccs/bin/ld: Unsatisfied symbols:
vsyslog (first referenced in /var/tmp//ccwj8qZo.o) (code)
collect2: ld returned 1 exit status
I thought we took care of this when I put in gettext. I
removed it and replaced it with a version downloaded from the
U.K. porting center. Still no luck.
I am also getting an error looking for ac_nonexistent.h, I'm thinking
it might be related to the error above.
Continued thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 11:03 AM
12-15-2008 11:03 AM
Re: Getting AIDE to work on HP-UX
>I thought we took care of this when I put in gettext.
Do you know what it does or where it should be defined? Is it in gettext?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 11:31 AM
12-15-2008 11:31 AM
Re: Getting AIDE to work on HP-UX
A more complete listing of config.log file has:
configure:3749: checking whether to enable maintainer-specific portions of Makefiles
configure:3758: result: no
configure:3927: checking for library containing syslog
configure:3968: gcc -o conftest -g -O2 -static -I/usr/local/include -static -s conftest.c >&5
configure:3974: $? = 0
configure:4002: result: none required
configure:4018: checking for vsyslog
configure:4074: gcc -o conftest -g -O2 -static -I/usr/local/include -static -s conftest.c >&5
/usr/ccs/bin/ld: Unsatisfied symbols:
vsyslog (first referenced in /var/tmp//ccwj8qZo.o) (code)
collect2: ld returned 1 exit status
Seems to be looking for conftest.c, but I read that is a temp file in configure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 11:35 AM
12-15-2008 11:35 AM
Re: Getting AIDE to work on HP-UX
>Seems to be looking for conftest.c
This is a test that says vsyslog doesn't exist. You should ignore the error messages from this step and only look at your application errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2008 11:27 AM
12-16-2008 11:27 AM
Re: Getting AIDE to work on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2008 06:35 PM
12-16-2008 06:35 PM
Re: Getting AIDE to work on HP-UX
This is just the configure output. At the end it says: configure: exit 0
So everything is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 12:19 PM
12-17-2008 12:19 PM
Re: Getting AIDE to work on HP-UX
gmake all-recursive
gmake[1]: Entering directory `/download/aide-0.13.1'
Making all in src
gmake[2]: Entering directory `/download/aide-0.13.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT conf_yacc.o -MD -MP -MF ".deps/conf_yacc.Tpo" \
-c -o conf_yacc.o `test -f 'conf_yacc.c' || echo './'`conf_yacc.c; \
then mv -f ".deps/conf_yacc.Tpo" ".deps/conf_yacc.Po"; \
else rm -f ".deps/conf_yacc.Tpo"; exit 1; \
fi
In file included from /usr/local/include/bits/c++config.h:41,
from /usr/local/include/tr1/cstdint:37,
from ../include/stdint.h:37,
from /usr/local/include/mutils/mincludes.h:102,
from /usr/local/include/mhash.h:6,
from ../include/db_config.h:86,
from ../include/report.h:26,
from ../include/aide.h:24,
from ../src/conf_yacc.y:21:
/usr/local/include/bits/os_defines.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
In file included from /usr/local/include/tr1/cstdint:37,
from ../include/stdint.h:37,
from /usr/local/include/mutils/mincludes.h:102,
from /usr/local/include/mhash.h:6,
from ../include/db_config.h:86,
from ../include/report.h:26,
from ../include/aide.h:24,
from ../src/conf_yacc.y:21:
/usr/local/include/bits/c++config.h:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
In file included from ../include/stdint.h:37,
from /usr/local/include/mutils/mincludes.h:102,
from /usr/local/include/mhash.h:6,
from ../include/db_config.h:86,
from ../include/report.h:26,
from ../include/aide.h:24,
from ../src/conf_yacc.y:21:
/usr/local/include/tr1/cstdint:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
gmake[2]: *** [conf_yacc.o] Error 1
gmake[2]: Leaving directory `/download/aide-0.13.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/download/aide-0.13.1'
gmake: *** [all] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 02:37 PM
12-17-2008 02:37 PM
Re: Getting AIDE to work on HP-UX
Yes, these are the real errors:
/usr/local/include/bits/os_defines.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
/usr/local/include/bits/c++config.h:149: error: expected '=', ',', ';', 'asm' or
/usr/local/include/tr1/cstdint:47: error: expected '=', ',', ';', 'asm' or
They look the same. What's on those lines? Include a block around the first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2008 12:06 PM
12-19-2008 12:06 PM
Re: Getting AIDE to work on HP-UX
# gmake
gmake all-recursive
gmake[1]: Entering directory `/download/aide-0.13.1'
Making all in src
gmake[2]: Entering directory `/download/aide-0.13.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT conf_yacc.o -MD -MP -MF ".deps/conf_yacc.Tpo" \
-c -o conf_yacc.o `test -f 'conf_yacc.c' || echo './'`conf_yacc.c; \
then mv -f ".deps/conf_yacc.Tpo" ".deps/conf_yacc.Po"; \
else rm -f ".deps/conf_yacc.Tpo"; exit 1; \
fi
In file included from /usr/local/include/bits/c++config.h:41,
from /usr/local/include/tr1/cstdint:37,
from ../include/stdint.h:37,
from /usr/local/include/mutils/mincludes.h:102,
from /usr/local/include/mhash.h:6,
from ../include/db_config.h:86,
from ../include/report.h:26,
from ../include/aide.h:24,
from ../src/conf_yacc.y:21:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2008 06:11 PM
12-19-2008 06:11 PM
Re: Getting AIDE to work on HP-UX
Sorry, the source lines around the first error.
Using vi or pr to number the file, paste the lines around line 64 in this file:
/usr/local/include/bits/os_defines.h
You might as well provide the other two locations too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:14 AM
12-22-2008 08:14 AM
Re: Getting AIDE to work on HP-UX
Okay, from os_defines.h:
/* HP-UX, for reasons unknown choose to use a different name for
the string to [unsigned] long long conversion routines.
Furthermore, instead of having the prototypes in stdlib.h like
everyone else, they put them into a non-standard header
probably do not want. So we don't want to include it here.
Luckily we can just declare strtoll and strtoull with the
__asm extension which effectively renames calls at the
source level without namespace pollution.
Also note that the compiler defines _INCLUDE_LONGLONG for C++
unconditionally, which makes intmax_t and uintmax_t long long
types.
We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
to bastardize configure to deal with this sillyness. */
namespace std
{
#ifndef __LP64__
__extension__ extern "C" long long strtoll (const char *, char **, int)
__asm ("__strtoll");
__extension__ extern "C" unsigned long long strtoull (const char *, char **, int)
__asm ("__strtoull");
#else
__extension__ extern "C" long long strtoll (const char *, char **, int)
__asm ("strtol");
__extension__ extern "C" unsigned long long strtoull (const char *, char **, int)
__asm ("strtoul");
#endif
}
............................................
from c++config.h:
/* Define if compatibility should be provided for -mlong-double-64. */
#undef _GLIBCXX_LONG_DOUBLE_COMPAT
// XXX GLIBCXX_ABI Deprecated
// Namespace associations for long double 128 mode.
_GLIBCXX_BEGIN_NAMESPACE(std)
#if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__
# define _GLIBCXX_LDBL_NAMESPACE __gnu_cxx_ldbl128::
# define _GLIBCXX_BEGIN_LDBL_NAMESPACE namespace __gnu_cxx_ldbl128 {
# define _GLIBCXX_END_LDBL_NAMESPACE }
namespace __gnu_cxx_ldbl128 { }
using namespace __gnu_cxx_ldbl128 __attribute__((__strong__));
#else
............................................
from cstdint.h:
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#include
// namespace std::tr1
namespace std
{
_GLIBCXX_BEGIN_NAMESPACE(tr1)
#if defined(__hpux) && !defined(__ia64)
/* Annoyingly, HP-UX 11.11's /usr/include/stdint.h uses
#defines rather than typedefs, which wrecks the
using statements in this namespace. So -
we have to undef the mess from
then typedef everything like it should have been */
#undef int8_t
#if 0
typedef signed char int8_t;
#endif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:29 AM
12-22-2008 08:29 AM
Re: Getting AIDE to work on HP-UX
(I wanted these fragments numbered so I don't have to count.)
>namespace std
You are doing a C compile and you have C++ headers.
Throw this away and follow my suggestion above:
start with an empty
make sure it has:
#include
#include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:54 AM
12-22-2008 08:54 AM
Re: Getting AIDE to work on HP-UX
I place the two include header statements in the stdint.h file i just created.
Running the configure, I noticed the config.h was created, not remaining unchanged as in previous configures.
gmake is the same, i have included the files with problems but don't know if it will take more than one at a time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 05:27 PM
12-22-2008 05:27 PM
Re: Getting AIDE to work on HP-UX
Did you put those two #include in it? Did you remove all previous stdint.h attempts?
>i have included the files with problems but don't know if it will take more than one at a time
It only included one file, most likely os_defines.h. Again this is a C++ header.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2008 09:06 AM
12-23-2008 09:06 AM
Re: Getting AIDE to work on HP-UX
I ran configure and gmake again, the gmake output was:
# gmake
gmake all-recursive
gmake[1]: Entering directory `/download/aide-0.13.1'
Making all in src
gmake[2]: Entering directory `/download/aide-0.13.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT do_md.o -MD -MP -MF ".deps/do_md.Tpo" \
-c -o do_md.o `test -f 'do_md.c' || echo './'`do_md.c; \
then mv -f ".deps/do_md.Tpo" ".deps/do_md.Po"; \
else rm -f ".deps/do_md.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT base64.o -MD -MP -MF ".deps/base64.Tpo" \
-c -o base64.o `test -f 'base64.c' || echo './'`base64.c; \
then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; \
else rm -f ".deps/base64.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT symboltable.o -MD -MP -MF ".deps/symboltable.Tpo" \
-c -o symboltable.o `test -f 'symboltable.c' || echo './'`symboltable.c; \
then mv -f ".deps/symboltable.Tpo" ".deps/symboltable.Po"; \
else rm -f ".deps/symboltable.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT compare_db.o -MD -MP -MF ".deps/compare_db.Tpo" \
-c -o compare_db.o `test -f 'compare_db.c' || echo './'`compare_db.c; \
then mv -f ".deps/compare_db.Tpo" ".deps/compare_db.Po"; \
else rm -f ".deps/compare_db.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT be.o -MD -MP -MF ".deps/be.Tpo" \
-c -o be.o `test -f 'be.c' || echo './'`be.c; \
then mv -f ".deps/be.Tpo" ".deps/be.Po"; \
else rm -f ".deps/be.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT util.o -MD -MP -MF ".deps/util.Tpo" \
-c -o util.o `test -f 'util.c' || echo './'`util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; \
else rm -f ".deps/util.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT snprintf.o -MD -MP -MF ".deps/snprintf.Tpo" \
-c -o snprintf.o `test -f 'snprintf.c' || echo './'`snprintf.c; \
then mv -f ".deps/snprintf.Tpo" ".deps/snprintf.Po"; \
else rm -f ".deps/snprintf.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT fopen.o -MD -MP -MF ".deps/fopen.Tpo" \
-c -o fopen.o `test -f 'fopen.c' || echo './'`fopen.c; \
then mv -f ".deps/fopen.Tpo" ".deps/fopen.Po"; \
else rm -f ".deps/fopen.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -static -g -O2 -static -g -O2 -static -MT aide.o -MD -MP -MF ".deps/aide.Tpo" \
-c -o aide.o `test -f 'aide.c' || echo './'`aide.c; \
then mv -f ".deps/aide.Tpo" ".deps/aide.Po"; \
else rm -f ".deps/aide.Tpo"; exit 1; \
fi
gcc -g -O2 -static -g -O2 -static -s -static -s -o aide conf_yacc.o conf_lex2.o getopt.o getopt1.o gnu_regex.o error.o md.o db.o commandconf.o db_file.o db_disk.o db_lex2.o db_sql.o gen_list.o list.o do_md.o base64.o symboltable.o compare_db.o be.o util.o snprintf.o fopen.o aide.o -lm -lmhash -lz
gmake[2]: Leaving directory `/download/aide-0.13.1/src'
Making all in doc
gmake[2]: Entering directory `/download/aide-0.13.1/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/download/aide-0.13.1/doc'
gmake[2]: Entering directory `/download/aide-0.13.1'
gmake[2]: Leaving directory `/download/aide-0.13.1'
gmake[1]: Leaving directory `/download/aide-0.13.1'
This looks like it is working!! Is this correct?
make install gives:
# make install
No suffix list.
Making install in src
gcc -g -O2 -static -g -O2 -static -s -static -s -o aide conf_yacc.o conf_lex2.o getopt.o getopt1.o gnu_regex.o error.o md.o db.o commandconf.o db_file.o db_disk.o db_lex2.o db_sql.o gen_list.o list.o do_md.o base64.o symboltable.o compare_db.o be.o util.o snprintf.o fopen.o aide.o -lm -lmhash -lz
/bin/sh ../mkinstalldirs /usr/local/bin
/opt/imake/bin/install -c aide /usr/local/bin/aide
Making install in doc
No suffix list.
cd .. && /bin/sh ./config.status doc/aide.1
config.status: creating doc/aide.1
cd .. && /bin/sh ./config.status doc/aide.conf.5
config.status: creating doc/aide.conf.5
No suffix list.
/bin/sh ../mkinstalldirs /usr/local/share/man/man1
/opt/imake/bin/install -c -m 644 ./aide.1 /usr/local/share/man/man1/aide.1
/bin/sh ../mkinstalldirs /usr/local/share/man/man5
mkdir /usr/local/share/man/man5
/opt/imake/bin/install -c -m 644 ./aide.conf.5 /usr/local/share/man/man5/aide.conf.5
No suffix list.
No suffix list.
Is this good? is the no suffix important?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2008 09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2008 10:48 AM
12-23-2008 10:48 AM
Re: Getting AIDE to work on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2008 05:24 PM
12-23-2008 05:24 PM
Re: Getting AIDE to work on HP-UX
It would have been much easier if the configure step detected a missing
Is there anyway to provide feedback to the AIDE developers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 07:28 AM
12-29-2008 07:28 AM
Re: Getting AIDE to work on HP-UX
http://www.cs.tut.fi/~rammer/aide.html
but now sourceforge has the responsibility for development.
They can be reached at aide-devel!lists#sourceforge#net
(edited to confuse spambots). I can contact them, but they may
start a conversation beyond my limited abilities. Witch one of us
you like to contact them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 08:50 AM
12-29-2008 08:50 AM
Re: Getting AIDE to work on HP-UX
Better start with you, point to this thread and if they have more questions you can have them contact me.
- « Previous
-
- 1
- 2
- Next »