You can use NetPBM binary.
Download the binaries fitted your server from here
http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=14464put them into your server and add executable permission to them.
set the path into preferences of myAlbum-P.