Preparing compound other than saccharide containing alloxazine or isoalloxazine nucleus