I have this book and at least my edition have a big problem. It uses the non-standard libraries std_logic_arith etc.
There is no reason for a beginner to learn those libraries. First learn the numeric_std library, so it will become natural to you. It is much harder to begin with std_logic_arith and then switch to numeric_std.