Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2008 23:48:12 -0500
From:      "Zane C.B." <vvelox@vvelox.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/125394: Port Fix: graphics/mapserver Does not compile with gdal.
Message-ID:  <1215492492.99302@vixen42.vulpes>
Resent-Message-ID: <200807080450.m684o1NA067151@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1215492492.99302>