I had the same problem as
nocture described:
Code:
./setup2: line 76: export: `/etc/init.d': not a valid identifier
And replace of line 76 with:
Code:
export dist_init_scripts=$dist_init_scripts
Then started installation and...
it made a clean install 
For me no probs, cause I was only testing my web server, but for others