On Thursday 12 September 2013 09:20:07 David Brodie wrote: > You could, in theory, hack the build files, but I think it is simpler to > install both versions - for example, my (fairly old) OpenSuSE system has > libpng 1.2, 1.3, and 1.4 installed.
I set a prefix NETPBMPLACE=where/netpbm/will/live I Installed libpng (1.5.17,1.4.12 ansd 1.2.50 to $NETPBMPLACE BUT no matter what I did for example: --a) set PKG_CONFIG_PATH=$NETPBMPLACE/lib/pkgconfig --b) set CPPFLAGS="-I$NETPBMPLACE/include ...." --c) edited Makefile,.config (after running ./configure ) with LIBPNG = $NETPMBPLACE/lib/libpng.so PNGHDR_DIR = `pkg-config --variable=includedir libpng` PNGVER = 1.2.50 netpbm refused to budge ; even when it acknowledges the set flags. it seems hardcoded only to see libpng in /usr/lib and png.h in /usr/include and not greater than version1.4 SO I had to call on my friend jimmy 'thepeterman' who parked /usr/include/libpng16 and linked $NETPBMPLACE/include/libpng12 in its place and , removed /usr/inclue/libpng.so and made one to $NETPBMPLACE/lib/libing12.so X and lo the buildsystem lock of netpbm was fooled afterwhich jimmy restored and took the cash -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
