I suggest to use one of the updated cpuminer versions which support more than one algorithm. This way you are also set up to mine different coins which use other PoW functions. The most versatile one is tpruvot's fork:cpuminer-multi. For me this one worked out of the box on a recent Ubuntu 14.04 installation.
The syntax is similar to all other cpuminer ...
After spinning-up my Raspberry Pi and registering an account at slushpool I've had success with the following process:
sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ git
git clone https://github.com/tpruvot/cpuminer-multi
Check out the commands: ./...
After looking at the (quite old) source code of poclbm, there is a commented line that creates the SSL connection. Not sure it is the reason but I guess it doesn't support HTTPS in its last version.
I changed to DiabloMiner (I had to add my self-signed certificate using the InstallCert.java tool)
I can now mine over HTTPS. Next step is a pool...