I was finally able to get a copy of docbook-dsssl-ldp to download properly. However, I now have a problem with gd-pm. It says that it will not compile against libpng-1.0.12-6 which is the current unstable and stable version of this lib. I am running 10.2.4 with the Dec tools. Here is the fink output:

cp Makefile.PL Makefile.PL.original
perl -pi -e 's/qw\(-I/qw\(-I\/sw\/include -I/' Makefile.PL
perl -pi -e 's/qw\(-L/qw\(-L\/sw\/lib -L/' Makefile.PL
perl -pi -e 's/(my \$PREFIX).+?\;/$1=\"\/sw\/lib\"\;/' Makefile.PL
perl -pi -e 's/warn.+Please.+//' Makefile.PL
perl -pi -e 's/(JPEG +=).+eq /$1/' Makefile.PL
perl -pi -e 's/(FT +=).+eq /$1/' Makefile.PL
perl -pi -e 's/(XPM +=).+eq /$1/' Makefile.PL
perl -pi -e 's/(XPM.+)y/$1n/' Makefile.PL
perl Makefile.PL PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5 INSTALLARCHLIB=/sw/lib/perl5/darwin INSTALLSITELIB=/sw/lib/perl5 INSTALLSITEARCH=/sw/lib/perl5/darwin INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3
NOTICE: This module requires libgd 2.0.5 or higher.
it will NOT work with earlier versions.
For earlier versions of libgd, use GD version 1.41.


If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

Checking if your kit is complete...
Looks good
Writing Makefile for GD
make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/GD
mkdir blib/lib/auto
mkdir blib/lib/auto/GD
mkdir blib/man3
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/sw/include -I/sw/include -I/usr/local/include -I/usr/local/include/gd -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os -DVERSION=\"2.06\" -DXS_VERSION=\"2.06\" -I/System/Library/Perl/darwin/CORE -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
LD_RUN_PATH="/sw/lib:/usr/lib:/usr/X11R6/lib" cc -o blib/arch/auto/GD/GD.bundle -bundle -flat_namespace -undefined suppress GD.o -L/sw/lib -L/sw/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lgd -lpng -lz -lfreetype -ljpeg -lm -lX11 -lXpm
ld: warning dynamic shared library: /sw/lib/libpng.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /usr/lib/libz.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /sw/lib/libfreetype.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /sw/lib/libjpeg.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libX11.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
ld: warning dynamic shared library: /usr/X11R6/lib/libXpm.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
chmod 755 blib/arch/auto/GD/GD.bundle
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
Manifying blib/man3/GD.3
Manifying blib/man3/GD::Polyline.3
make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/GD................ok 1/10libpng warning: Application was compiled with png.h from libpng-1.2.5
libpng warning: Application is running with png.c from libpng-1.0.12
gd-png: fatal libpng error: Incompatible libpng version in application and library
t/GD................dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/Polyline..........ok
Failed Test Status Wstat Total Fail Failed List of failed
------------------------------------------------------------------------ -------
t/GD.t 0 10 10 9 90.00% 2-10
Failed 1/2 test scripts, 50.00% okay. 9/11 subtests failed, 18.18% okay.
make: *** [test_dynamic] Error 255
### execution of make failed, exit code 2
Failed: compiling gd-pm-2.06-1 failed

Has anyone else had this problem? I was able to compile gd-pm against an older version of libpng, but I don't have it anymore. Is there something else that I have done wrong or do we have to wait for the maintainer to catch up to libpng-1.0.12-6? Any help would be appreciated?

Gary Olson



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to