On 4.12.2012 8:53, Sisyphus wrote:
Hi,
Obviously way OT for this list - but I see that Strawberry ships with
gd-2.0.35, so I'm hoping someone here has faced (and solved) the problem
I've struck.
See enclosed patch I am using when building gd for strawberry perl - I am
not saying it will fix your troubles :)
Some notes:
- I am not sure why but for some reason I do not enable pthreads although I
have them
- there is IIRC some mismatch in timestamps so before running ./configure I
call:
touch -r Makefile.am config.* Makefile.* configure* aclocal.*
--
kmx
diff -r -u -w --strip-trailing-cr
/z/strawberry_libs/build/_wrk_2012Q4_/gd-2.0.35/Makefile.in
/z/strawberry_libs/build/../patches/gd-2.0.35/Makefile.in
--- /z/strawberry_libs/build/_wrk_2012Q4_/gd-2.0.35/Makefile.in 2007-04-23
14:57:51 +0000
+++ /z/strawberry_libs/build/../patches/gd-2.0.35/Makefile.in 2009-11-16
11:04:00 +0000
@@ -345,7 +345,7 @@
include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h
gdfonts.h gdfontt.h entities.h
lib_LTLIBRARIES = libgd.la
libgd_la_SOURCES = gd.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c
gd_io_dp.c gd_gif_in.c gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c
gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c
gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdkanji.c gdtables.c gdxpm.c
jisx0208.h wbmp.c wbmp.h
-libgd_la_LDFLAGS = -version-info 2:0:0 $(XTRA_LDFLAGS)
+libgd_la_LDFLAGS = -version-info 2:0:0 $(XTRA_LDFLAGS) -no-undefined
libgd_la_LIBADD = $(LTLIBICONV)
LDADD = ./libgd.la $(LIBICONV)
all: config.h
diff -r -u -w --strip-trailing-cr
/z/strawberry_libs/build/_wrk_2012Q4_/gd-2.0.35/configure
/z/strawberry_libs/build/../patches/gd-2.0.35/configure
--- /z/strawberry_libs/build/_wrk_2012Q4_/gd-2.0.35/configure 2007-04-23
14:57:52 +0000
+++ /z/strawberry_libs/build/../patches/gd-2.0.35/configure 2009-11-25
13:19:46 +0000
@@ -728,8 +728,8 @@
# Identity of this package.
PACKAGE_NAME='GD'
PACKAGE_TARNAME='gd'
-PACKAGE_VERSION='2.0.34'
-PACKAGE_STRING='GD 2.0.34'
+PACKAGE_VERSION='2.0.35'
+PACKAGE_STRING='GD 2.0.35'
PACKAGE_BUGREPORT='http://bugs.libgd.org'
ac_unique_file="gd.c"
@@ -2126,7 +2126,7 @@
GDLIB_MAJOR=2
GDLIB_MINOR=0
-GDLIB_REVISION=34
+GDLIB_REVISION=35
GDLIBNAME=gd
#Expanded by tests later in this file. TBB 2.0.26
#2.0.28: GIF is standard now. Doesn't depend on anything else,
@@ -2425,7 +2425,7 @@
# Define the identity of the package.
PACKAGE='gd'
- VERSION='2.0.34'
+ VERSION='2.0.35'
cat >>confdefs.h <<_ACEOF
@@ -23128,7 +23128,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lXpm -lX11 $LIBS"
+LIBS="-lXpm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -23184,7 +23184,7 @@
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&5
echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&6; }
if test $ac_cv_lib_Xpm_XpmReadFileToXpmImage = yes; then
- LIBS="-lXpm -lX11 $LIBS"
+ LIBS="-lXpm $LIBS"
FEATURES="GD_XPM $FEATURES"
cat >>confdefs.h <<\_ACEOF