Operating System - HP-UX
1837650 Members
2748 Online
110117 Solutions
New Discussion

Re: Cannot compile Tripwire source

 
Urey Cheung
Occasional Contributor

Cannot compile Tripwire source

Hi experts,

I downloaded Tripwire source from http://sourceforge.net/projects/tripwire/ and compile with error in HP Ux 11.11.


#./configure
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for ranlib... ranlib
checking for bison... bison -y
checking for vi... /usr/bin/vi
checking for sendmail... /usr/sbin/sendmail
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking sys/ustat.h usability... yes
checking sys/ustat.h presence... yes
checking for sys/ustat.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/syslog.h usability... no
checking sys/syslog.h presence... no
checking for sys/syslog.h... no
checking for unistd.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking signum.h usability... no
checking signum.h presence... no
checking for signum.h... no
checking bits/signum.h usability... no
checking bits/signum.h presence... no
checking for bits/signum.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for strftime... yes
checking for gethostname... yes
checking for gethostid... yes
checking for mkstemp... yes
checking for socket in -lc... yes
checking for gethostbyname in -lc... yes
checking how to run the C++ preprocessor... g++ -E
checking locale usability... yes
checking locale presence... yes
checking for locale... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for OpenSSL directory... (system)
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating man/man4/Makefile
config.status: creating man/man5/Makefile
config.status: creating man/man8/Makefile
config.status: creating src/Makefile
config.status: creating src/cryptlib/Makefile
config.status: creating src/core/Makefile
config.status: creating src/db/Makefile
config.status: creating src/fco/Makefile
config.status: creating src/fs/Makefile
config.status: creating src/tw/Makefile
config.status: creating src/twcrypto/Makefile
config.status: creating src/twparser/Makefile
config.status: creating src/util/Makefile
config.status: creating src/twprint/Makefile
config.status: creating src/twadmin/Makefile
config.status: creating src/siggen/Makefile
config.status: creating src/tripwire/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

#make
No suffix list.
cd . && /bin/sh /index/tripwire/missing --run aclocal-1.8
/index/tripwire/missing[46]: aclocal-1.8: not found.
WARNING: `aclocal-1.8' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `aclocal-1.8' program.
*** Error exit code 1

Stop.



Thanks
Urey
4 REPLIES 4
Peter Godron
Honored Contributor

Re: Cannot compile Tripwire source

Urey,
looks as if your configure worked ok.
However, seems aclocal is missing/wrong location on your system.
On my system I have aclocal files in the gettext and libiconf areas (gcc)
Senthil Prabu.S_1
Trusted Contributor

Re: Cannot compile Tripwire source

Hi,
I think the problem is bez of $PATH varialble.

Check this;
http://sourceware.org/ml/bug-automake/2003/msg00534.html



HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Urey Cheung
Occasional Contributor

Re: Cannot compile Tripwire source

Thanks all.

Mentioned problem solved. However, I got compilation error. I have gcc 4.0.2 installed. What did I missed?

#make
No suffix list.
Making all in cryptlib
cd ../.. && make am--refresh
No suffix list.
No suffix list.
ln -f libcryptlib.a ../../lib/libcryptlib.a
ln: Warning! libcryptlib.a and ../../lib/libcryptlib.a are identical
Making all in core
cd ../.. && make am--refresh
No suffix list.
No suffix list.
ar ru ../../lib/libtripwire.a file_unix.o unixfsservices.o charutil_t.o displayencoder_t.o archive.o charutil.o cmdlineparser.o codeconvert.o core.o coreerrors.o corestrings.o crc32.o debug.o displayencoder.o displayutil.o error.o errorbucketimpl.o errortable.o errorutil.o fileerror.o fileheader.o fsservices.o growheap.o hashtable.o haval.o msystem.o ntmbs.o objectpool.o refcountobj.o serializable.o serializer.o serializerimpl.o serializerutil.o serstring.o srefcountobj.o srefcounttbl.o stdcore.o stringutil.o timebomb.o timeconvert.o tw_signal.o twlimits.o twlocale.o unixexcept.o usernotify.o usernotifystdout.o utf8.o wchar16.o
Making all in db
cd ../.. && make am--refresh
No suffix list.
No suffix list.
ar ru ../../lib/libtripwire.a blockfile.o blockrecordarray.o blockrecordfile.o db.o hierdatabase.o hierdbpath.o stddb.o
Making all in fco
cd ../.. && make am--refresh
No suffix list.
No suffix list.
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O -pipe -Wall -c -o fcodatasourceiter.o fcodatasourceiter.cpp
../core/typed.h:57: warning: 'class iTyped' has virtual functions but non-virtual destructor
../core/serializable.h:79: warning: 'class iSerializable' has virtual functions but non-virtual destructor
../core/serializable.h:91: warning: 'class iTypedSerializable' has virtual functions but non-virtual destructor
fconameinfo.h:46: warning: 'class iFCONameInfo' has virtual functions but non-virtual destructor
fconame.h:147: error: ISO C++ forbids declaration of 'cFCOName_i' with no type
fconame.h:147: error: expected ';' before '*' token
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Peter Godron
Honored Contributor

Re: Cannot compile Tripwire source

Urey,
probably best to complete this problem by reviewing/rewarding answers and raising a new problem under languages section.