libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.5.22 fails to configure on AIX 5.1


From: Howard Chu
Subject: Re: 1.5.22 fails to configure on AIX 5.1
Date: Fri, 13 Jan 2006 01:30:07 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060111 SeaMonkey/1.5a Mnenhy/0.7.3.0

Ralf Wildenhues wrote:
 >> I guess the first noticable failure is in trying to detect the maximum
length of a command line:
*snip*
It appears to completely ignore the "while" clause.

To reproduce this, I'd need to know your login shell, the value of
$SHELL, the command line you used to configure libtool, and how the
failure may be recognized.

login shell and $SHELL are /bin/sh. The significant failure follows. Note that al_cr_alnum doesn't get set, that whole chunk of script is corrupted. Likewise later for al_cr_letters. As a minor note, notice that the error message from the unrecognized "set -o posix" doesn't get directed to /dev/null.

configure: creating libtool
configure: creating ./config.status
#! sh -xv
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
+ debug=false
ac_cs_recheck=false
+ ac_cs_recheck=false
ac_cs_silent=false
+ ac_cs_silent=false
SHELL=${CONFIG_SHELL-sh -xv}
+ SHELL=sh -xv
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
elif (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi
+ test -n
+ 1> /dev/null 2>& 1
./config.status[24]: posix: bad option(s)
BIN_SH=xpg4; export BIN_SH # for Tru64
+ BIN_SH=xpg4
+ export BIN_SH
DUALCASE=1; export DUALCASE # for MKS sh
+ DUALCASE=1
+ export DUALCASE


# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+ as_cr_letters=abcdefghijklmnopqrstuvwxyz
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+ as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+ as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
as_cr_digits='0123456789'
+ as_cr_digits=0123456789
as_cr_alnum=$as_cr_+ as_cr_alnum=
=== configuring in libltdl (/home/hyc/BLD/cds3/libtool/libltdl)
configure: running sh -xv './configure' --prefix=/opt/symas '--prefix=/opt/symas' '--exec-prefix=/opt/symas' '--bindir=/opt/symas/bin' '--sbindir=/opt/symas/bin' '--libexecdir=/opt/symas/lib' '--libdir=/opt/symas/lib' '--datadir=/var/symas ' '--sysconfdir=/opt/symas/etc' '--sharedstatedir=/opt/symas/etc' '--localstatedir=/var/symas' '--disable-static' '--with-pic' 'CC=gcc -pipe -static-libgcc' 'CFLAGS=-g -O2' 'LDFLAGS=-L/opt/symas/lib -L/home/hyc/BLD/opt/symas/lib -Wl,-brtl -Wl,-bnoipath -Wl,-blibpath:/opt/symas/lib:/home/hyc/BLD/opt/symas/lib:/usr/lib:/ lib -Wl,-bD:0x40000000' --enable-ltdl-install --cache-file=/dev/null --srcdir=.
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59c for libltdl 1.2.
#
# Report bugs to <address@hidden>.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
elif (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi
+ test -n
+ 1> /dev/null 2>& 1
BIN_SH=xpg4; export BIN_SH # for Tru64
+ BIN_SH=xpg4
+ export BIN_SH
DUALCASE=1; export DUALCASE # for MKS sh
+ DUALCASE=1
+ export DUALCASE


# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abhell can cope with it
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
       echo_test_string=`eval $cmd` &&
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    then
      break
    fi
  done
fi

if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   test "X$echo_testing_string" = "X$echo_test_string"; then
  :
else
  # The Solaris, AIX, and Digital Unix default echo programs unquote
  # backslashes.  This makes it impossible to quote backslashes using
  #   echo "$something" | sed 's/\\/\\\\/g'
  #
  # So, first we look for a working echo in the user's PATH.
+ 50q ./configure sed 20q ./configure sed 10q ./configure sed 2q ./configure ech
o test; do
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
       echo_test_string=`eval $cmd` &&
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    then
      break
    fi
  done
fi

if test "X`($echo t) 2>/dev/null`" = Xt &&
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   test "X$echo_testing_string" = "X$echo_test_string"; then
  :
else
  # The Solaris, AIX, and Digital Unix default echo programs unquote
  # backslashes.  This makes it impossible to quote backslashes using
  #   echo "$something" | sed s/\/\\/g
  #
  # So, first we look for a working echo in the users PATH.
+ as_cr_letters=abhell can cope with it
  for cmd in sed
./configure[33]: 50q:  not found

  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ lt_save_ifs=

+ IFS=
  for dir in $PATH /usr/ucb; do
    IFS="$lt_save_ifs"
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
       test "X$echo_testing_string" = "X$echo_test_string"; then
      echo="$dir/echo"
      break
    fi
  done
+ IFS=

+ test -f /home/hyc/bin:/opt/symas/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/bin/X
11:/usr/games:/usr/bin:/bin:./echo
+ test -f /home/hyc/bin:/opt/symas/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/bin/X
11:/usr/games:/usr/bin:/bin:./echo
+ IFS=

+ test -f /usr/ucb/echo
+ test -f /usr/ucb/echo
  IFS="$lt_save_ifs"
+ IFS=


  if test "X$echo" = Xecho; then
    # We didn't find a better echo, so look for alternatives.
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
       test "X$echo_testing_string" = "X$echo_test_string"; then
      # This shell has a builtin print -r that does the trick.
      echo='print -r'
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
         test "X$CONFIG_SHELL" != X/bin/ksh; then
      # If we have ksh, try running configure again with it.
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
      export ORIGINAL_CONFIG_SHELL
      CONFIG_SHELL=/bin/ksh
      export CONFIG_SHELL
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    else
      # Try using printf.
      echo='printf %s\n'
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
         test "X$echo_testing_string" = "X$echo_test_string"; then
        # Cool, printf works
        :
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t
') 2>/dev/null` &&
           test "X$echo_testing_string" = 'X\t' &&
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$e
cho_test_string") 2>/dev/null` &&
           test "X$echo_testing_string" = "X$echo_test_string"; then
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
        export CONFIG_SHELL
        SHELL="$CONFIG_SHELL"
        export SHELL
        echo="$CONFIG_SHELL $0 --fallback-echo"
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev
/null` &&
           test "X$echo_testing_string" = 'X\t' &&
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_
string") 2>/dev/null` &&
           test "X$echo_testing_string" = "X$echo_test_string"; then
        echo="$CONFIG_SHELL $0 --fallback-echo"
      else
        # maybe with a smaller string...
        prev=:
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed
50q "$0"'; do
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
          then
            break
          fi
          prev="$cmd"
        done

        if test "$prev" != 'sed 50q "$0"'; then
          echo_test_string=`eval $prev`
          export echo_test_string
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
        else
          # Oops.  We lost completely, so just stick with echo.
          echo=echo
        fi
      fi
    fi
  fi
+ test X = Xecho
fi
./configure[128]: syntax error at line 129 : `fi' unexpected
configure: error: sh -xv './configure' failed for libltdl

--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]