When compiling zfs on linux we got the following error:
checking whether build environment is sane… configure: error: newly created file is older than distributed files
This was because the system time was off and the timestamps in the source code were in the future. To fix this all you can do is copy the files to another directory using the copy command
cp -r zfs-0.6.0-rc2 zfs-0.6.0-rc2-2
Then try to compile again.