Originally Posted by mjbek11
....can you not legally purchase a firearm and gift it to sombody,...
Under federal law at least, you certainly can.
You might want to refer the dealer to the ATF publication Federal Firearms Regulation Reference Guide, 2005
which states on page 165 (emphasis added):
15. STRAW PURCHASES
Questions have arisen concerning the lawfulness of firearms purchases from licensees by persons who use a "straw purchaser" (another person) to acquire the firearms. Specifically, the actual buyer uses the straw purchaser to execute the Form 4473 purporting to show that the straw purchaser is the actual purchaser of the firearm. In some instances, a straw purchaser is used because the actual purchaser is prohibited from acquiring the firearm. That is to say, the actual purchaser is a felon or is within one of the other prohibited categories of persons who may not lawfully acquire firearms or is a resident of a State other than that in which the licensee's business premises is located. Because of his or her disability, the person uses a straw purchaser who is not prohibited from purchasing a firearm from the licensee. In other instances, neither the straw purchaser nor the actual purchaser is prohibited from acquiring the firearm.
In both instances, the straw purchaser violates Federal law by making false statements on Form 4473 to the licensee with respect to the identity of the actual purchaser of the firearm, as well as the actual purchaser's residence address and date of birth. The actual purchaser who utilized the straw purchaser to acquire a firearm has unlawfully aided and abetted or caused the making of the false statements. The licensee selling the firearm under these circumstances also violates Federal law if the licensee is aware of the false statements on the form. It is immaterial that the actual purchaser and the straw purchaser are residents of the State in which the licensee's business premises is located, are not prohibited from receiving or possessing firearms, and could have lawfully purchased firearms...
Where a person purchases a firearm with the intent of making a gift of the firearm to another person, the person making the purchase is indeed the true purchaser. There is no straw purchaser in these instances. In the above example, if Mr. Jones had bought a firearm with his own money to give to Mr. Smith as a birthday present, Mr. Jones could lawfully have completed Form 4473....