ports/125394: Port Fix: graphics/mapserver Does not compile with gdal.
Zane C.B.
vvelox at vvelox.net
Tue Jul 8 04:50:02 UTC 2008
>Number: 125394
>Category: ports
>Synopsis: Port Fix: graphics/mapserver Does not compile with gdal.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 08 04:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Zane C.B.
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.3-STABLE #3: Mon May 26 17:37:16 CDT 2008
root at vixen42.vulpes:/usr/obj/usr/src/sys/SMP
>Description:
If you select with gdal, it will not compile as it looks for gdal.12, but gdal.13 is installed by the gdal port.
The only issue is now you can select to compile it with gdal, but it now errors during compiling it. But atleast it selects it properly.
>How-To-Repeat:
1: Go to 'graphics/mapserver' and type 'make install', but besure to select with gdal from the menu.
2:
3: Watch it error with '===> mapserver-5.0.3 depends on shared library: gdal.12 - not found' even though 'gdal-1.5.0' is installed.
4: Do 'find /usr/local/lib | grep gdal' and see '/usr/local/lib/libgdal.so.13' is installed.
5: Apply the included diff.
6: Notices it still errors when gdal is available, but at least it detects the dependency.
>Fix:
--- Makefile.orig 2008-07-07 23:30:57.000000000 -0500
+++ Makefile 2008-07-07 23:31:02.000000000 -0500
@@ -67,7 +67,7 @@
.endif
.if defined(WITH_GDAL)
-LIB_DEPENDS+= gdal.12:${PORTSDIR}/graphics/gdal
+LIB_DEPENDS+= gdal.13:${PORTSDIR}/graphics/gdal
CONFIGURE_ARGS+= --with-gdal=${LOCALBASE}/bin/gdal-config \
--with-ogr=${LOCALBASE}/bin/gdal-config
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list