First, you double-posted (at least) which is not only rude and selfish, but in violation of the LQ Rules
that you agreed to when you signed up.
Second, Mandrivia doesn't follow the Linux File System Standard, so you're better off posting in the Mandrivia forum where other users can give you help with that distro.
Third, if you'll navigate to the [MadWiki]
there is a specific post about setting it up under Mandrivia. Apparently your distro doesn't ship with kernel-headers, gcc, or sharutils; so you'll have to start by installing them. (Sounds like Mandrivia doesn't want you to install or compile anything.)
If you follow that and still can't install it, post back. But put exactly what you did, and the subsequent error message. You didn't really put enough information in either of these threads for someone to help you. Another good read for you would be How To Ask a Question