Mertens's second theorem states that $$\sum_{p \leq x} \frac 1p = \log(\log x) + M + o(1),$$ where the sum runs over primes $p$ and $M$ is the Meissel-Mertens constant. (There are more precise versions).
I would like to know if there is a really simple proof of the weak form $$\sum_{p \leq x} \frac 1p = \log(\log x) + O(1).$$
I know how to prove one inequality: the fact that every integer can be written as the product of a square and squarefree number shows the inequality $$\sum_{n\leq x} \frac 1n \leq \prod_{p \leq x} \left( 1 + \frac 1p\right) \sum_{m \leq x} \frac 1{m^2} \leq \zeta(2) \prod_{p \leq x} \left( 1 + \frac 1p\right).$$ This inequality and the fact that $\forall t \geq 0, 1 + t \leq \exp(t)$ easily show that $$\sum_{p \leq x} \frac 1p \geq \log(\log x) + O(1)$$ but I can't find such an easy proof for the other inequality.
(There's a quite sibylline reference in Alon and Spencer's The Probabilistic Method, section 4.2, claiming that the estimate I want can be proved by "combining (in a clever way) Stirling's formula with Abel summation." It may be a good answer for my question, but I haven't been able to find a more precise explanation, or to reconstruct this proof from these hints...).