[SOLVED]Installing Panda3D on Ubuntu 12.04 Bheta

You can add the --verbose flag and makepanda will explain which files it is checking for presence of libraries such as zlib. Make sure you install the devel version of the packages, eg zlib1g-dev or libz-dev, or whatever it is called.