[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD
From: |
savannah-bounces |
Subject: |
[Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD |
Date: |
Thu, 23 Jun 2005 07:31:19 +0000 |
User-agent: |
Opera/8.01 (Windows NT 5.1; U; en) |
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] [bug #13480] GD libraries not found on FreeBSD, anonymous, 2005/06/20
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, anonymous, 2005/06/20
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, spiralvoice, 2005/06/20
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, anonymous, 2005/06/20
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, spiralvoice, 2005/06/20
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, spiralvoice, 2005/06/20
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD,
savannah-bounces <=
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, spiralvoice, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/23
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/24
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/24
- [Mldonkey-bugs] [bug #13480] GD libraries not found on FreeBSD, savannah-bounces, 2005/06/24