On 4/28/06, Matthew Soffen <[EMAIL PROTECTED]> wrote:
 I'm trying to get my system here to run using only the tools from ports (
to make life easier for people who only use the ports ).

 When Autoconf ( v 2.59 ) is installed on FreeBSD from ports, its named
autoconf259 .    I am running it with -v ( verbose) to see what is going on
and here is the output.   It fails .

 autoconf259: running /usr/local/bin/autom4te259 -v --language=autoconf
--output=configure configure.in
 autom4te259: formatting traces for `/tmp/am4tbrBeHY/dependencies': include,
m4_include
 autom4te259: up_to_date (autom4te.cache/traces.1): up to date
 autom4te259: the trace request object is:
 autom4te259: $VAR1 = bless( [
 autom4te259:                  '1',
 autom4te259:                  1,
 autom4te259:                  [
 autom4te259:                    '/usr/local/share/autoconf259'
 autom4te259:                  ],
 autom4te259:                  [
 autom4te259:
'/usr/local/share/autoconf259/autoconf/autoconf.m4f',
 autom4te259:                    'aclocal.m4',
 autom4te259:                    'configure.in'
 autom4te259:                  ],
 autom4te259:                  {
 autom4te259:                    '_LT_AC_TAGCONFIG' => 1,
 autom4te259:                    'm4_pattern_forbid' => 1,
 autom4te259:                    'AC_CANONICAL_TARGET' => 1,
 autom4te259:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
 autom4te259:                    'AC_TYPE_OFF_T' => 1,
 autom4te259:                    'AC_C_VOLATILE' => 1,
 autom4te259:                    'AC_FUNC_CLOSEDIR_VOID' => 1,
 autom4te259:                    'AC_REPLACE_FNMATCH' => 1,
 autom4te259:                    'AC_PROG_LIBTOOL' => 1,
 autom4te259:                    'AC_FUNC_STAT' => 1,
 autom4te259:                    'AC_HEADER_TIME' => 1,
 autom4te259:                    'AC_FUNC_WAIT3' => 1,
 autom4te259:                    'AM_AUTOMAKE_VERSION' => 1,
 autom4te259:                    'AC_STRUCT_TM' => 1,
 autom4te259:                    'AC_FUNC_LSTAT' => 1,
 autom4te259:                    'AC_TYPE_MODE_T' => 1,
 autom4te259:                    'AC_FUNC_GETMNTENT' => 1,
 autom4te259:                    'AC_CHECK_HEADERS' => 1,
 autom4te259:                    'AC_FUNC_STRTOD' => 1,
 autom4te259:                    'AC_FUNC_STRNLEN' => 1,
 autom4te259:                    'm4_sinclude' => 1,
 autom4te259:                    'AC_PROG_CXX' => 1,
 autom4te259:                    'AC_PATH_X' => 1,
 autom4te259:
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
 autom4te259:                    'AC_PROG_AWK' => 1,
 autom4te259:                    '_m4_warn' => 1,
 autom4te259:                    'AC_HEADER_STDC' => 1,
 autom4te259:                    'AC_HEADER_MAJOR' => 1,
 autom4te259:                    'AC_FUNC_ERROR_AT_LINE' => 1,
 autom4te259:                    'AC_PROG_GCC_TRADITIONAL' => 1,
 autom4te259:                    'AC_LIBSOURCE' => 1,
 autom4te259:                    'AC_FUNC_MBRTOWC' => 1,
 autom4te259:                    'AC_STRUCT_ST_BLOCKS' => 1,
 autom4te259:                    'AC_TYPE_SIGNAL' => 1,
 autom4te259:                    'AC_CANONICAL_BUILD' => 1,
 autom4te259:                    'AC_TYPE_UID_T' => 1,
 autom4te259:                    'AC_CONFIG_AUX_DIR' => 1,
 autom4te259:                    'AC_PROG_MAKE_SET' => 1,
 autom4te259:                    'sinclude' => 1,
 autom4te259:                    'm4_pattern_allow' => 1,
 autom4te259:                    'AC_DEFINE_TRACE_LITERAL' => 1,
 autom4te259:                    'AC_FUNC_STRERROR_R' => 1,
 autom4te259:                    'AC_PROG_CC' => 1,
 autom4te259:                    'AC_DECL_SYS_SIGLIST' => 1,
 autom4te259:                    'AC_FUNC_FORK' => 1,
 autom4te259:                    'AC_FUNC_VPRINTF' => 1,
 autom4te259:                    'AC_FUNC_STRCOLL' => 1,
 autom4te259:                    'AC_PROG_YACC' => 1,
 autom4te259:                    'AC_INIT' => 1,
 autom4te259:                    'AC_STRUCT_TIMEZONE' => 1,
 autom4te259:                    'AC_FUNC_CHOWN' => 1,
 autom4te259:                    'AC_SUBST' => 1,
 autom4te259:                    'AC_FUNC_ALLOCA' => 1,
 autom4te259:                    'AC_CANONICAL_HOST' => 1,
 autom4te259:                    'AC_FUNC_GETPGRP' => 1,
 autom4te259:                    'AC_PROG_RANLIB' => 1,
 autom4te259:                    'AM_INIT_AUTOMAKE' => 1,
 autom4te259:                    'AC_FUNC_SETPGRP' => 1,
 autom4te259:                    'AC_CONFIG_SUBDIRS' => 1,
 autom4te259:                    'AC_FUNC_MMAP' => 1,
 autom4te259:                    'AC_FUNC_REALLOC' => 1,
 autom4te259:                    'AC_TYPE_SIZE_T' => 1,
 autom4te259:                    'AC_CONFIG_LINKS' => 1,
 autom4te259:                    'AC_CHECK_TYPES' => 1,
 autom4te259:                    'LT_SUPPORTED_TAG' => 1,
 autom4te259:                    'AC_CHECK_MEMBERS' => 1,
 autom4te259:                    'AM_MAINTAINER_MODE' => 1,
 autom4te259:                    'AC_FUNC_UTIME_NULL' => 1,
 autom4te259:                    'AC_FUNC_SELECT_ARGTYPES' => 1,
 autom4te259:                    'AC_FUNC_STRFTIME' => 1,
 autom4te259:                    'AC_HEADER_STAT' => 1,
 autom4te259:                    'AC_C_INLINE' => 1,
 autom4te259:                    'AC_PROG_CPP' => 1,
 autom4te259:                    'AC_TYPE_PID_T' => 1,
 autom4te259:                    'AC_C_CONST' => 1,
 autom4te259:                    'AC_PROG_LEX' => 1,
 autom4te259:                    'AM_ENABLE_MULTILIB' => 1,
 autom4te259:                    'AC_CONFIG_FILES' => 1,
 autom4te259:                    'include' => 1,
 autom4te259:                    'AC_FUNC_SETVBUF_REVERSED' => 1,
 autom4te259:                    'AC_PROG_INSTALL' => 1,
 autom4te259:                    'AM_GNU_GETTEXT' => 1,
 autom4te259:                    'AC_CHECK_LIB' => 1,
 autom4te259:                    'AC_FUNC_OBSTACK' => 1,
 autom4te259:                    'AC_FUNC_MALLOC' => 1,
 autom4te259:                    'AC_FUNC_GETGROUPS' => 1,
 autom4te259:                    'AC_FUNC_GETLOADAVG' => 1,
 autom4te259:                    'AH_OUTPUT' => 1,
 autom4te259:                    'AC_FUNC_FSEEKO' => 1,
 autom4te259:                    'AM_PROG_CC_C_O' => 1,
 autom4te259:                    'AM_CONDITIONAL' => 1,
 autom4te259:                    'AC_CANONICAL_SYSTEM' => 1,
 autom4te259:                    'AC_FUNC_MKTIME' => 1,
 autom4te259:                    'AC_CONFIG_HEADERS' => 1,
 autom4te259:                    'AC_HEADER_SYS_WAIT' => 1,
 autom4te259:                    'AC_FUNC_MEMCMP' => 1,
 autom4te259:                    'AC_PROG_LN_S' => 1,
 autom4te259:                    'm4_include' => 1,
 autom4te259:                    'AC_HEADER_DIRENT' => 1,
 autom4te259:                    'AC_CHECK_FUNCS' => 1
 autom4te259:                  }
 autom4te259:                ], 'Autom4te::Request' );
 autom4te259: formatting traces for `/tmp/am4tbrBeHY/warnings': _m4_warn
 autom4te259: reading /tmp/am4tbrBeHY/warnings
 autom4te259: creating configure
 autom4te259: formatting traces for `/tmp/am4tbrBeHY/patterns':
m4_pattern_allow, m4_pattern_forbid
 autom4te259: forbidden tokens:
^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_
 autom4te259: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly,
use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
 autom4te259: allowed   tokens: ^AS_FLAGS$|^AM_[A-Z]+FLAGS$
 configure.in:317: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
 configure.in:318: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
 configure.in:319: error: possibly undefined macro: AC_PROG_LIBTOOL


 These are lines 317, 318 and 319
 AC_LIBTOOL_DLOPEN       dnl Enable dlopen support...
 AC_LIBLTDL_CONVENIENCE  dnl make libltdl a convenience lib
 AC_PROG_LIBTOOL

 However, if I run it a second time from the command line, it works and
doesn't give any warnings.

 Any ideas what could cause this odd behavior  ?



 Also, when I do get configure to run, I try to build the replacement
libraries and this is the output:
 matt:tuxie-fb6:/home/matt/linux-ha > make
 Making all in replace
 if libtool15  --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../linux-ha
-I../include -I../include -I../include -I../linux-ha -I../linux-ha
-I/usr/local/include -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP
-DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN  -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -I/usr/local/include/libxml2
-I/usr/local/include  -g -O2  -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings
-Wcast-qual -Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral
-Wno-long-long -Wno-strict-aliasing -Werror  -ggdb3 -funsigned-char -MT
NoSuchFunctionName.lo -MD -MP -MF ".deps/NoSuchFunctionName.Tpo" -c -o
NoSuchFunctionName.lo NoSuchFunctionName.c; \
 then mv -f ".deps/NoSuchFunctionName.Tpo" ".deps/NoSuchFunctionName.Plo";
else rm -f ".deps/NoSuchFunctionName.Tpo"; exit 1; fi
 libtool15: compile: unable to infer tagged configuration
 libtool15: compile: specify a tag with `--tag'
 gmake: *** [NoSuchFunctionName.lo] Error 1
 *** Error code 1

 Stop in /usr/home/matt/linux-ha.
 On my build box, I'm running a fairly recent libtoolize but something isn't
quite right.

 matt:tuxie-fb6:/home/matt/linux-ha > libtoolize15
--version
 libtoolize (GNU libtool15) 1.5.18

 Any ideas would be appreciated.

different PATHs leading to different versions of libtool being invoked?

on the tag stuff... i worked around that with the "pretty" make output
by adding:

  QUIET_LIBTOOL_OPTS="--tag=CC --quiet"
and
  LIBTOOL="${LIBTOOL} \$(QUIET_LIBTOOL_OPTS)"

maybe you can do something similar.

I would like to get this version of HA
running on FreeBSD .

 Matt
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/



_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to