haʊˈɛvɚ ðə klˈoʊʒɚɹ ʌv ðɪs nˈeɪbɚhˌʊd ɪz ˈɔːl ʌv ˈɛks, ænd hˈɛns ɪf ˈɛks ɪz ˈɪnfɪnət, ˈɛks dʌznˌɑːt hæv ɐ klˈoʊzd kəmpˈækt nˈeɪbɚhˌʊd, ænd ˈɛks ɪz nˌɑːt lˈoʊkəli ɹˈɛlətˌɪvli kəmpˈækt.
However the closure of this neighborhood is all of X, and hence if X is infinite, x does not have a closed compact neighborhood, and X is not locally relatively compact.