if you have a permission denied
then add the +x option to it ( should be set as default)
but why are you using "sh" first ????
you are already in the shell and "configure" is not a executable binary file , it is a script
try this first ( as a normal user and NOT as root
read the output !!
you mostlikly need to add the --prefix option to configure