Hi, during configure, there are complaints about missing dependencies: tif22pnm and lzw_codec. Furthermore, when sam2p is used to convert a png file, it complains about missing png22pnm. Please install them along with sam2p or add them as dependencies. Reproducible: Always Steps to Reproduce:
Forgot to mention, that I tested this with sam2p 0.47.
I can confirm this bug. And it looks like png22pnm not in portage.
Created attachment 303951 [details] tif22pnm-0.13.ebuild This will need patch for... http://code.google.com/p/sam2p/issues/detail?id=7 ...as files/tif22pnm-0.13-libpng15.patch I posted "half-baked" patch to the upstream ticket.
Comment on attachment 303951 [details] tif22pnm-0.13.ebuild =media-gfx/tif22pnm-0.14 in portage
since tif22pnm is now in portage, I don't think changes to sam2p ebuild are necessary, as it doesn't include other drop-in runtime deps either... also sam2p has internal lzw support which is enabled by default. not sure what this lzw_codec you are referring is from... but it certainly isn't necessary for sam2p right now. then this is now solved: # emerge tif22pnm
Here's the output of sam2p's configure: ~/test/sam2p-0.49.1 $ ./configure checking for --enable-debug... assert checking for --enable-lzw... yes checking for --enable-zip... yes checking for --enable-fax... yes checking for --enable-gif... no checking for g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -fsigned-char... yes checking whether g++ accepts -fno-rtti -fno-exceptions... yes checking whether g++ accepts -ansi -pedantic -Wall -W... yes checking whether g++ accepts -felide-constructors -Wstrict-prototypes -Wpointer-arith -Wcast-align -Winline -Wcast-qual -Wmissing-prototypes... no checking for ignored -W -Wall -Wnested-externs -Wbad-function-cast -Wmissing-declarations... yes checking whether g++ accepts -Wnested-externs -Wbad-function-cast -Wmissing-declarations... (cached) no checking whether gcc can link C++ code... no checking for cjpeg... /usr/bin/cjpeg checking for djpeg... /usr/bin/djpeg checking for tif22pnm... no configure: WARNING: tif22pnm would provide increased functionality to this program: configure: WARNING: tif22pnm is required for loading TIFF files checking for tifftopnm... /usr/bin/tifftopnm checking for pngtopnm... /usr/bin/pngtopnm checking for gs... /usr/bin/gs checking for lzw_codec... no configure: WARNING: lzw_codec would provide increased functionality to this program: configure: WARNING: lzw_codec might become recommended for /Compression/LZW I'm not sure, what that increased functionality is and where lzw_codec can be downloaded.