This can happen if your $PATH does not have "." in the beginning. In this case, when you type "setup", the Xilinx install executable is not found first.
To work around the issues, type "./setup" or edit the $PATH environment variable and add "." to the beginning.