taskmldonkey, a multi-networks file-sharing client - Tasks: task #4419, Check if libgd is compiled with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #4419: Check if libgd is compiled with zlib support

Submitter:  Elliot <ellmout>
Submitted:  Thu 14 Jul 2005 01:45:50 PM UTC
   
 
Category:  Core Priority:  3 - Low
Status:  Works For Me Assigned to:  None
Open/Closed:  Closed Should Start On:  Thu 14 Jul 2005 12:00:00 AM UTC
Should be Finished on:  Thu 14 Jul 2005 12:00:00 AM UTC

Jump to the original submission

Tue 19 Jul 2005 03:09:08 PM UTC, comment #11: 

Is there a way how I can use $LOCALBASE on FreeBSD within MLDonkey´s configure?

spiralvoice <spiralvoice>
Group administrator
Tue 19 Jul 2005 02:38:20 PM UTC, comment #10: 

Here is the compile result on FreeBSD with vanilla CVS + attached patch:

bash-3.00# ldd mlnet
mlnet:
        libcharset.so.1 => /usr/local/lib/libcharset.so.1 (0x282f2000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282f5000)
        libz.so.2 => /lib/libz.so.2 (0x283e2000)
        libgd.so.4 => /usr/local/lib/libgd.so.4 (0x283f2000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2843f000)
        libm.so.3 => /lib/libm.so.3 (0x284a3000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x284bd000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x284da000)
        libpthread.so.1 => /usr/lib/libpthread.so.1 (0x284fd000)
        libc.so.5 => /lib/libc.so.5 (0x28521000)

MLNet Multi-Network p2p client version 2.5.30.17.CVS
SCM version info: 2005-Jul-19 14:57:15
Networks: Global Shares  Gnutella  G2  Fasttrack  FileTP  BitTorrent  Donkey
Features: no-threads zlib gd(jpg/png) iconv no-check-bounds sha1new
Ocaml version: 3.08.3
Build on: FreeBSD i386 5.3-RELEASE

spiralvoice <spiralvoice>
Group administrator
Tue 19 Jul 2005 02:31:08 PM UTC, comment #9: 

"field #15] Platform Version: Linux"
because you use Linux you have to adjust the case command to your
"uname -s" output, please post "uname" and "uname -s" output here
if you were successful.
Unfortunately gd-2.0.25.1 does not have gdlib-config on FreeBSD,
so this is not useful here.

spiralvoice <spiralvoice>
Group administrator
Tue 19 Jul 2005 02:28:52 PM UTC, comment #8: 

Default FreeBSD 5.3 with gd-2.0.25.1 also fails configure test in MLDonkey:

checking for gdImageCreate  in -lgd... no
configure: libgd not available
checking support for graphical statistics... no

Applying the attached patch solves the problem:

checking for gdImageCreate  in -lgd... yes
checking for png_create_read_struct  in -lpng... yes
checking for gdImagePng in -lgd... yes
configure: using png support in libgd
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... yes
configure: using jpeg support in libgd
checking support for graphical statistics... yes

The code in the patch is the same as in the FreeBSD port.
It just allows configure to use files in /usr/local.

spiralvoice <spiralvoice>
Group administrator
Tue 19 Jul 2005 01:00:33 PM UTC, comment #7: 

home:/usr/local/mldonkey/mldonkey-2.5-3/gd-2.0.33# gdlib-config --all
GD library  2.0.33
includedir: /usr/local/include
cflags:     -I/usr/local/include
ldflags:     -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib  -L/usr/local/lib -Wl,-rpath,/usr/local/lib  -L/usr/X11R6/lib -L/usr/local/lib
libs:       -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm  /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
libdir:     /usr/local/lib
features:   GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF

home:/usr/local/mldonkey/mldonkey-2.5-3# ./configure --disable-gnutella --disable-gnutella2 --disable-soulseek --disable-fasttrack --disable-opennap --disable-openft --disable-gui --disable-iconv --disable-filetp
...
Version: 2.5.30.17.CVS - SCM: 2005-07-19 04:16:22
...
checking for gdImageCreate  in -lgd... no
configure: libgd not available


Elliot <ellmout>
Thu 14 Jul 2005 01:45:50 PM UTC, comment #6: 

This item has been reassigned from the project mldonkey, a multi-networks file-sharing client bugs tracker to your tracker.

The original report is still available at bugs #13684

Following are the information included in the original report:

[field #0]                  Item ID: 13684
[field #1]                 Group ID: 1409
[field #2]              Open/Closed: Open
[field #3]                 Severity: 3 - Normal
[field #4]                  Privacy: Public
[field #5]                 Category: Core
[field #6]             Submitted by: ellmout
[field #7]              Assigned to: None
[field #8]             Submitted on: Fre 08.07.2005 um 03:08
[field #9]                  Summary: Check if libgd is compiled with zlib support
[field #10]      Original Submission: Got This :

./ocamlpp.byte -pp src/networks/gnutella2/g2Options.mlt > src/networks/gnutella2/g2Options.ml
./ocamlpp.byte: relocation error: /usr/local/lib/libgd.so.2: undefined symbol: deflateInit_
make: * [src/networks/gnutella2/g2Options.ml] Error 127

GD is ok, with libpng & libjpeg !
checking for gdImageCreate  in -lgd... yes
checking for png_create_read_struct  in -lpng... yes
checking for gdImagePng in -lgd... yes
configure: using png support in libgd
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... yes
configure: using jpeg support in libgd
checking support for graphical statistics... yes

[field #12]               Item Group: Compilation problem
[field #13]                   Status: None
[field #14]        Component Version: None
[field #15]         Platform Version: Linux
[field #16]          Reproducibility: None
[field #17]               Size (loc): None
[field #18]            Fixed Release: None
[field #19]          Planned Release: None
[field #20]                   Effort: 0.00
[field #24]                 Priority: 5 - Normal
[field #27]         Percent Complete: 0%
[field #29]                  Release: 2.5.30.17
[field #54]          Binaries Origin: CVS / Self compiled
[field #55]                 CPU type: Intel x86
[field #56]                      CPU: None
[field #57]     Custom Select Box #4: None
[field #58]     Custom Select Box #5: None
[field #59]     Custom Select Box #6: None
[field #60]     Custom Select Box #7: None
[field #61]     Custom Select Box #8: None
[field #62]     Custom Select Box #9: None
[field #63]    Custom Select Box #10: None

spiralvoice <spiralvoice>
Group administrator
Mon 11 Jul 2005 01:41:32 PM UTC, comment #5: 

I make & install zlib !
then I remake Gd with :
./configure --with-jpeg=/usr/local --with-png=/usr/local --with-zlib-dir=/usr/local

Elliot <ellmout>
Sat 09 Jul 2005 03:01:33 PM UTC, comment #4: 

What did you do to fix the problem?
I could not find deflateInit in libgd.so here.

spiralvoice <spiralvoice>
Group administrator
Fri 08 Jul 2005 02:12:40 PM UTC, comment #3: 

Working !
Thx :-)

Elliot <ellmout>
Fri 08 Jul 2005 09:31:29 AM UTC, comment #2: 

GD has to be installed with zlib support. Do you have that compiled in?

spiralvoice <spiralvoice>
Group administrator
Fri 08 Jul 2005 08:30:24 AM UTC, comment #1: 

How did you install gd? And only gd-devel or also gd runtime package?

White_FrosT
Thu 14 Jul 2005 01:45:50 PM UTC, original submission:  

Got This :

./ocamlpp.byte -pp src/networks/gnutella2/g2Options.mlt > src/networks/gnutella2/g2Options.ml
./ocamlpp.byte: relocation error: /usr/local/lib/libgd.so.2: undefined symbol: deflateInit_
make: * [src/networks/gnutella2/g2Options.ml] Error 127

GD is ok, with libpng & libjpeg !
checking for gdImageCreate  in -lgd... yes
checking for png_create_read_struct  in -lpng... yes
checking for gdImagePng in -lgd... yes
configure: using png support in libgd
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... yes
configure: using jpeg support in libgd
checking support for graphical statistics... yes

Elliot <ellmout>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #3700:  gd_config.patch added by spiralvoice (648B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by spiralvoice (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-06 spiralvoice StatusNone Works For Me
        Open/ClosedOpen Closed
    2005-07-19 spiralvoice Attached File- Added gd_config.patch, #237
    2005-07-17 beedauchon Priority5 - Normal 3 - Low
    2005-07-14 spiralvoice CategoryNone Core
        SummaryReassigned item: Check if libgd is compiled with zlib support Check if libgd is compiled with zlib support
    2005-07-14 spiralvoice Reassign itemFrom group mldonkey, a multi-networks file-sharing client, bugs tracker To group mldonkey, a multi-networks file-sharing client, task tracker

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code