that whole thing can be summed up in that gcc cant find ssl.h.
On my slackware & debian installs all the openssl header files would be in /usr/include/openssl/
Recheck your openssl installation ?
You need the openssl-devel package. Easiest way to install it is "yum install openssl-devel". That'll pull it from the repository listed in /etc/yum.conf, and grab any update available.
Check Fedora News online for articles on how to set up a local yum repository using your CD images, saving the need to pull non-updated packages from off-site.