Code:
linux-vd5h:/home/u/tmp/DevIL/DevIL-1.6.7 # which bash
/bin/bash
linux-vd5h:/home/ul/tmp/DevIL/DevIL-1.6.7 # /bin/bash -version
GNU bash, version 3.2.39(1)-release (i586-suse-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.
linux-vd5h:/home/samuel/tmp/DevIL/DevIL-1.6.7 #
DevIL 1.7.8 baut alles
DevIL 1.6.7:
Code:
linux-vd5h:/home/u/tmp/DevIL/DevIL-1.6.7 # ./configure
-bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
linux-vd5h:/home/u/tmp/DevIL/DevIL-1.6.7 # sh ./configure
: command not found3:
./configure: line 21: syntax error near unexpected token `elif'
'/configure: line 21: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
linux-vd5h:/home/u/tmp/DevIL/DevIL-1.6.7 #
configure ausschnitt
Code:
#! /bin/sh
# From configure.in Revision: 1.30 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.56.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# 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+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
set -o posix
fi
# Support unset when possible.
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
as_unset=unset
else
as_unset=false
fi
# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
PS1='$ '
PS2='> '
PS4='+ '
Lesezeichen