The gcc package is a meta-package, it's empty... Try
apt-get install gcc-3.3
You might want to install the newer gcc-3.4, just change the versionnumber in the previous command. Accept dependencies when apt complains about those.
You can add a sym-link to /etc/init.d from where you're apache script is located. Use like
ln-s <target> <source>
Make sure the script is executable with the chmod +x command.