I managed to get Tandy's latest code to build on Ubuntu 13.04 with
sudo apt-get install libjson0 libjson0-dev
but it seg faults when run:
$ jhprimeminer -o http://ypool.net:10034 -u user.w -p p -t 4
============================================================================
| jhPrimeMiner - mod by rdebourbon -v3.2beta |
| optimised from hg5fm (mumus) v7.1 build + HP10 updates |
| jsonrpc stats and remote config added by tandyuk |
| author: JH (http://ypool.net) |
| contributors: x3maniac |
| Credits: Sunny King for the original Primecoin client&miner |
| Credits: mikaelh for the performance optimizations |
| Credits: erkmos for the original linux port |
| Credits: tandyuk for the linux build of rdebourbons mod |
| |
| Donations: |
| XPM: AUwKMCYCacE6Jq1rsLcSEHSNiohHVVSiWv |
| LTC: LV7VHT3oGWQzG9EKjvSXd3eokgNXj6ciFE |
| BTC: 1Fph7y622HJ5Cwq4bkzfeZXWep2Jyi5kp7 |
============================================================================
Launching miner...
GeneratePrimeTable() : prime table [1, 1000000] generated with 78498 primes
Sieve Percentage: 10%
Segmentation fault (core dumped)