Take $p$ as prime, $\text{li}(x)$ as logarithmic integral and
$$ R(x)=\sum_{p\leq x}\frac{\ln p}p-\ln x $$
Without using Mertens' theorem find
$$ \int_0^x\frac{tR'(t)}{\ln t}dt $$
I tried using integration by parts and got stuck here:
$$ \frac{xR(x)}{\ln x}-\int_0^x\sum_{p\leq t}\frac{\ln p}p\left(\frac1{\ln t}-\frac1{\ln^2 t}\right)dt+x-\text{li}(x) $$
where that integral is the term I can't solve!
An approximate solution is also welcome!