How it doesn't work ? does it open and close or not open at all, does it shows any error... give us bit more insight for any proper help.
And, most problems with market app are best solved with wipe data/factory reset, flash ROM and right after that, while you are in still clockworkmod, flash gaps for CyanogenMod 7 from http://wiki.cyanogenmod.com/wiki/Latest_Version/Google_Apps.
Offcourse do a Titanium backup and/or NAND backup before all that
it opens and when i enter gmail account and press next to log in .. it closed sudenly for no reason and when i tried to setup market and gmail .apk and try to log in the same problem accured and closed suddenly