Follow-up Comment #6, bug #13480 (project mldonkey): Maybe not yet. It seems the Gd libs are found when using this configure line: ./configure --enable-ocamlver=3 --with-libiconv-prefix=/usr/local/include LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include"
However, somehow PNG support is not working. The configure script says: checking for png_create_read_struct in -lpng... yes checking for jpeg_CreateCompress in -ljpeg... yes checking for gdImageGif in -lgd... yes checking for gdImagePng in -lgd... no checking for gdImageJpeg in -lgd... yes checking compile with gd... yes But appearently, that png support is crucial, because linking fails: src/utils/cdk/gdstubs.o(.text+0x29c): In function `ml_image_open_png': src/utils/cdk/gdstubs.c:151: undefined reference to `gdImageCreateFromPng' src/utils/cdk/gdstubs.o(.text+0xa0b): In function `ml_save_png': src/utils/cdk/gdstubs.c:341: undefined reference to `gdImagePng' src/utils/cdk/gdstubs.o(.text+0xa9b): In function `ml_dump_png': src/utils/cdk/gdstubs.c:371: undefined reference to `gdImagePngPtr' I traced it down to be a Gd error though. Relevant parts of the Gd configure: checking for libpng12-config... /usr/local/bin/libpng12-config checking for libpng-config... /usr/local/bin/libpng-config checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_read_struct in -lpng12... no configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/ ** Configuration summary for gd 2.0.33: Support for PNG library: Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Fontconfig library: yes Support for Xpm library: yes Support for pthreads: yes Maybe it is an idea to use GIF instead of PNG anyway? At least when its found that PNG is not available. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13480> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ Mldonkey-bugs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs
