I used to install both types of fans when I used to insulate attics.
You have to remember this:
In either situation, you want to have the air flow in through the soffits, and out through the roof or gable(s)
I can't count the number of homes that had inadequate or blocked soffit vents. So first of all, make sure the soffit vents are all open.
Next, make sure that which ever option you go with (Gable or roof mount fans) you are not sucking air out of the attic with a fan, and it is being made up with air from a roof vent that is too close to the fan pulling the air out of the attic.
I am not a supporter of the gable type. If you are putting a fan at both ends, the middle of the attic tends to not to exchange air. You are pulling air that is trying to go upwards, sideways. The gable fans tend to pull air from the soffit that is nearest the gable, neglecting the center of the attic. You need multiple fans if your attic is of any size, and pulling fromt eh top of the attic, in multiple locations, will flow aire more completely through the attic, than gable.....
They make a solar powered attic fan now. Those cannot run at the same CFM as a AC powered one, but if you replace all the existing roof vents with these, it will do a good job, and no wiring needed! Solatube makes these I think? Check the website and determine the CFM flow of these things.
A solar fan every +-20 feet should provide good air flow and move that heat out of the attic.
http://www.solatube.com/homeowner/solarstar.php