Skip to contentSkip to conversation

Problems compiling xtables-addons v1.28

DISCUSSION Brian Schang 2 participants 3 messages Aug 28, 2010

lore
Share & tools
lore
#0 lore raw

Hello:

I have successfully compiled and am running xtables-addons v1.27. However I cannot get v1.28 to compile:

[root@server2 xtables-addons (build)]# ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
geoip/Makefile.am:3: pkglibexec_SCRIPTS' is used but pkglibexecdir' is undefined
autoreconf: automake failed with exit status: 1

Any suggestions would be appreciated.

Thank you.

Signature · 1 line
Brian Schang
#1 lore raw
Quoted 5 lines · Brian Schang

Hello:

I have successfully compiled and am running xtables-addons v1.27. However I cannot get v1.28 to compile:

Quoted 12 lines

[root@server2 xtables-addons (build)]# ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file m4/lt~obsolete.m4' geoip/Makefile.am:3: pkglibexec_SCRIPTS' is used but `pkglibexecdir' is undefined
autoreconf: automake failed with exit status: 1

It seems I made use of a feature without updating configure.ac accordingly. This is the new patch just commited.

commit f9922c6f85a1c46c210271495e8b50b180ef71e2

Author: Jan Engelhardt
Date:   Sat Aug 28 13:56:12 2010 +0200

configure: pkglibexecdir requires automake >= 1.10.2

configure.ac +1 -1
index 9c02436..89793d0 100644
@@ -3,7 +3,7 @@ AC_INIT([xtables-addons], [1.28])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_PROG_INSTALL
-AM_INIT_AUTOMAKE([1.10 -Wall foreign subdir-objects])
+AM_INIT_AUTOMAKE([1.10.2 -Wall foreign subdir-objects])
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_DISABLE_STATIC
#2 lore raw

Jan:

Quoted 19 lines · Jan Engelhardt
Quoted 2 lines · Brian Schang

I have successfully compiled and am running xtables-addons v1.27. However I cannot get v1.28 to compile:

It seems I made use of a feature without updating configure.ac accordingly. This is the new patch just commited.

commit f9922c6f85a1c46c210271495e8b50b180ef71e2

Author: Jan Engelhardt
Date:   Sat Aug 28 13:56:12 2010 +0200

configure: pkglibexecdir requires automake>= 1.10.2

configure.ac +0 -0
index 9c02436..89793d0 100644

configure.ac AC_INIT([xtables-addons], [1.28]) · line 9

Quoted 8 lines
configure.ac +1 -1
@@ -3,7 +3,7 @@ AC_INIT([xtables-addons], [1.28])
  AC_CONFIG_HEADERS([config.h])
  AC_CONFIG_MACRO_DIR([m4])
  AC_PROG_INSTALL
-AM_INIT_AUTOMAKE([1.10 -Wall foreign subdir-objects])
+AM_INIT_AUTOMAKE([1.10.2 -Wall foreign subdir-objects])
  AC_PROG_CC
  AM_PROG_CC_C_O
  AC_DISABLE_STATIC

Everything seems to work now. Thank you very much for the help.

Signature · 1 line
Brian Schang