Hi I'm Kevin, I'll try to help. Are you saying that the engine will not turn at all when you turn the key to start it? I assume this is why you tried to jump it with the other car. The shifter becomes movable from Park when the key is on and the brake pedal is applied. This actuates a relay that unlocks the shifter handle. So if I understand you correctly, you have an engine that will not crank (like when the battery is dead) and the shifter will not unlock from Park. But yet you see some lights come on in the car? Did you attempt to jump the battery to see if it will crank? The clicking from the glove compartment is the main relay and this clicking is normal although you don't usually hear it over the sound of the cranking engine. Also, do the brake lights work?
