I get the following error at the second stage (running the .sh script with the -c switch)

Continue to configure and compile 1.0.25 [y/n]: y

...