Subject: Re: configure error
To: None <netbsd-help@netbsd.org>
From: Alexander Becher <abecher@kawo2.rwth-aachen.de>
List: netbsd-help
Date: 03/29/2004 15:28:12
On 12 Feb 2004, Tim Larson wrote:
>checking whether build environment is sane... configure: error: ls -t 
>appears to fail.  Make sure there is not a broken
>alias in your environment
>configure: error: newly created file is older than distributed files!
>Check your system clock

I remember that I had this problem, too. In my case, it was caused by
an alias ls='ls -F' that was set even for non-interactive shells.

Fortunately, that is easy to solve:

alex@abc:~$ cat /netbsd/home/alex/.bashrc
case "$-" in *i*)
        PS1='\[\e[1m\]\u@\h:\w\$\[\e[0m\] '
        alias ll='ls -l'
        alias ls='ls -F'
        ;;
esac

This will set the aliases for interactive shells only.

Regards
Alexander
-- 
PGP key available