[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some `make check' results
From: |
Werner LEMBERG |
Subject: |
Re: some `make check' results |
Date: |
Fri, 08 Dec 2000 18:20:11 +0100 (CET) |
> | I get the following error messages for doing a `make check':
> |
> | =========================================
> | Testing suite for autoconf, version 2.49c
> | =========================================
> | testing Syntax of the scripts
> | 10. ./tools.at:29...
> | /bin/sh: error importing function definition for `eject'
> | /bin/sh: error importing function definition for `mc'
> | /bin/sh: error importing function definition for `mounta'
> | /bin/sh: error importing function definition for `mountb'
> | /bin/sh: error importing function definition for `dir'
> | /bin/sh: error importing function definition for `umounta'
> | /bin/sh: error importing function definition for `umountb'
> | /bin/sh: error importing function definition for `ls'
> | /bin/sh: error importing function definition for `startx'
> | /bin/sh: error importing function definition for `xdvi'
> | ./tools.at:55: /bin/sh -n ../autoconf
> |
>
> I don't understand the error messages either. What happens? Why
> does it complain?
It looks like a bug in bash version 2.03.0(1). Below is my
/etc/profile file; saying `sh -n' causes these error messages.
BTW, all other tests are passed.
Werner
======================================================================
# commands common to all logins
PROFILEREAD=true
export EDITOR=joe
export VISUAL=joe
export PAGER=less
export MINICOM="-c on"
export INFOPATH=/usr/local/teTeX/info:/usr/local/info:/usr/share/info:/usr/info
export COLORTERM=1
export GROFF_TMAC_PATH=/usr/local/share/groff/tmac
export WINDOWMANAGER=/usr/local/X11R6/bin/fvwm2
export QTDIR=/usr/X11R6/lib/qt
#export TEXMFCNF=/cdrom/texmf/web2c
#export TEXMFMAIN=/cdrom/texmf
#export TEXMFLOCAL=:/usr/local/TeX/texmf.local
#export TTF2PKINPUTS=$TEXMFLOCAL/ttf2pk//
#export TTF2TFMINPUTS=$TEXMFLOCAL/ttf2tfm//
#export HBF2GFINPUTS=$TEXMFLOCAL/hbf2gf//
#export T1FONTS=:$TEXMFLOCAL/fonts/hbf//
export CWEBINPUTS=$TEXMFLOCAL/tex/cweb
test "$UID" = 0 && PATH=/sbin:/usr/sbin:$PATH
for DIR in /usr/openwin/bin /usr/lib/java/bin ~/bin ; do
test -d $DIR && PATH=$PATH:$DIR
done
test "$UID" = 0 || PATH="$PATH:."
PATH=/usr/X11R6/bin:$PATH
PATH=/usr/local/X11R6/bin:$PATH
PATH=/usr/local/bin:$PATH
PATH=/usr/local/teTeX/bin:$PATH
PATH=$PATH:/cdrom/bin/i386-linux
export PATH
# for all programs that use the GNU readline library (bash, gdb)
if ! test -f ~/.inputrc ; then
INPUTRC=/etc/inputrc
export INPUTRC
fi
export LESS=-MM
export LESSCHARDEF="8bcccbcc18b."
export LESSBINFMT="*n%c"
export LESSKEY=/etc/lesskey.bin
# I had problems using 'eval tset' instead of 'TERM=', but you might want to
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" -o \
"`echo $TERM | cut -b1-3`" = "con" ] ; then
export TERM=console
fi
# for correct Backspace handling
#stty erase '^?'
reset
export PS1='\h:\w\$ '
export PS2='\h:\w\$ '
function xdvi
{ /usr/local/teTeX/bin/xdvi \
-geometry 1012x740+0+0 -mfmode ljfour -l \
-p 600 -paper a4 -s 5 -expert -thorough $@ ; }
function ls { /bin/ls -F $@ ; }
function dir { /bin/ls -l -N -F $@ ; }
function mounta { mount -t msdos -o umask=022,uid=100,gid=100 /dev/fd0 /A ; }
function mountb { mount -t msdos -o umask=022,uid=100,gid=100 /dev/fd1 /B ; }
function umounta { umount /A ; }
function umountb { umount /B ; }
function eject { /usr/local/bin/eject -u ; }
function mc
{ MC=/tmp/mc-"$RANDOM"
/usr/bin/mc -P "$@" > "$MC"
cd "`cat $MC`"
rm "$MC"
unset MC ; }
function startx { /usr/X11R6/bin/startx $* 2>&1 | tee ~/.X.err ; }
export -f ls dir mounta mountb umounta umountb eject mc xdvi startx
export ignoreeof=10
export HISTCONTROL=ignoredups
export DISPLAY LANG
umask 022
if test "$UID" = 0 -a -n "$DISPLAY" ; then
DISPLAY=localhost:0.0
xhost + >& /dev/null
fi
echo -e "\33[10;10000]\33[11;10]"
#
# now source the stuff, generated by SuSEconfig
#
test -e /etc/SuSEconfig/profile && . /etc/SuSEconfig/profile