Multiple questions. Does your computer not recognize the C.D. drive, or does the computer not recognize the C.D. once you put it in?
If your computer does not recognize the C.D. drive, check to make sure that the SATA / PATA cable is correctly connected, and that the power cable from the PSU is connected to the CD drive as well.