Re: Bug#673165: mapserver: FTBFS with multiarch-ready libgd2
retitle 673165 mapserver: FTBFS with multiarch-ready libgd2
block 645105 by 673165
thanks
Hi,
This FTBFS (actually on all arches now?) because libgd2 since
2.0.36~rc1~dfsg-6.1 uses a multiarch path, where it is not seen by these
checks in configure.in:
> for GD_DIR in /usr /usr/local
> do
> test -f $GD_DIR/include/gd.h && GD_INCLUDE="$GD_DIR/include"
> test -f $GD_DIR/lib/libgd.a && GD_LIBDIR="$GD_DIR/lib"
> test -f $GD_DIR/lib64/libgd.a && GD_LIBDIR="$GD_DIR/lib64"
> test -f $GD_DIR/lib/libgd.so -o -f $GD_DIR/lib/libgd.sl -o -f $GD_DIR/lib/libgd.dylib && GD_LIBDIR="$GD_DIR/lib"
> test -f $GD_DIR/lib64/libgd.so -o -f $GD_DIR/lib/libgd.sl && GD_LIBDIR="$GD_DIR/lib64"
The path can't be specified from debian/rules via --with-gd because the
includes and libraries must all be there. So the configure.in must be
modified in some way to look for the static+shared libs in the
appropriate (multiarch) path...
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: