Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21312 closed defect (fixed)

tripwire install fails on snow leopard

Reported by: peter@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: hsivank@…
Port: tripwire

Description (last modified by tobypeterson)

Mac Ports setup from scratch today. installed nmap, portsentry and snort ok. tripwire output shown below:

sltestvbox:~ root# port install tripwire
--->  Computing dependencies for tripwire
--->  Building tripwire
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src" && /usr/bin/make -j2 all " returned error 2
Command output:  cd . && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src/missing --run automake-1.10 --foreign
aclocal.m4:20: warning: this file was generated for autoconf 2.64.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.in:8: error: Autoconf version 2.62 or higher is required
aclocal.m4:530: AM_INIT_AUTOMAKE is expanded from...
configure.in:8: the top level
autom4te: /usr/bin/gm4 failed with exit status: 63
automake-1.10: /usr/bin/autoconf failed with exit status: 63
WARNING: `automake-1.10' 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 `automake-1.10' program.
make: *** [Makefile.in] Error 1

Error: Status 1 encountered during processing.

Attachments (2)

Portfile-tripwire.diff (508 bytes) - added by hsivank@… 15 years ago.
patch-configure.diff (360 bytes) - added by hsivank@… 15 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Version: 1.8.0

Please remember to use WikiFormatting

comment:2 Changed 15 years ago by hsivank@…

There is a bug with the automake version you are using :

In fact,

patch-configure

23 -am__api_version="1.8"
24 +am__api_version="1.10"

and patch-aclocal.m4

7 -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
8 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.10"])

fix the variable "amapi_version" with value 1.10 and the automake gives :

$automake --version
automake (GNU automake) 1.11

Maybe we should not use "amapi_version" in the configure process ...

Attached 2 patches tested on SL x86_64

Changed 15 years ago by hsivank@…

Attachment: Portfile-tripwire.diff added

Changed 15 years ago by hsivank@…

Attachment: patch-configure.diff added

comment:3 Changed 15 years ago by peter@…

hsivank,

Thank you very much for your quick and skillful fix.

Once I'd worked out to what todo with the patch files the build worked a treat!

commands used to get tripwire built:

# cd $(port dir tripwire) # patch -p0 <Portfile-tripwire.diff # cp patch-configure.diff files/. # port install tripwire

comment:4 Changed 15 years ago by hsivank@…

Cc: hsivank@… added

Cc Me!

comment:5 in reply to:  3 ; Changed 15 years ago by ron@…

Replying to peter@…:

hsivank,

Thank you very much for your quick and skillful fix.

Once I'd worked out to what todo with the patch files the build worked a treat!

Can you share what you did with the patch files? I'm having the same problem.

comment:6 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r58164.

comment:7 in reply to:  5 Changed 15 years ago by peter@…

Replying to ron@…:

An attempt was made to detail how the patch was applied however the 4 commands all got displayed on one line, so I'll try again:

  1. copy the 2 patch files to the "/opt/local/var/macports/sources/rsync.macports.org/release/ports/security/tripwire" directory
  1. as root type the following 4 commands: # cd $(port dir tripwire) # patch -p0 <Portfile-tripwire.diff # cp patch-configure.diff files/. # port install tripwire

Note: See TracTickets for help on using tickets.