Why do people ask this question? I mean, is it innate in humans to look for deeper meaning - or is it something we're trained to do?
I tried to find any anthropologic information on whether non-westernized, "primitive" cultures had been asked what they thought the meaning of life was, because I think that would be the only way to find out whether the tendency to ask that question was inherent or learned, but couldn't find anything. I did find something I thought was interesting enough to share, though:
"The following research conclusions are the most profound insights I have found from the 60 plus near-death experiences I profile on this website. If the near-death experience is a real afterlife experience as they suggest, these insights may be the most important truths ever documented.
The near-death experience reveals the true meaning of life and it is this: we are here to learn to love. This world is part of a divine "university" of higher learning where learning to love is what life is all about. The near-death experience suggests that life and love itself is what many people identify as "God". Love is the power that holds all things in the universe together. Love is where we came from and love is where we will return. Love is the law of the universe."
But back to the question, I think it would be inherent, simply because it is a global question. Art throughout the world tries to answer that question in many ways in many different cultures. It seems that if it were learned, that only certain types of societies would be asking it.