How can I compile bitcoin on debian 7.x Wheezy? Missing libmemenv.a
As per: https://bitcointalk.org/index.php?topic=270852.380

Try: 

make -f makefile.unix "USE_UPNP=-"

UPNP is not enabled by default anyway, so compiling without it shouldn't be a problem for normal operation.