Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2010 21:31:15 GMT
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144985: graphics/mapserver: cannot find -lpgport
Message-ID:  <201003232131.o2NLVFni041982@www.freebsd.org>
Resent-Message-ID: <201003232140.o2NLe1EL039973@freefall.freebsd.org>

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

>Number:         144985
>Category:       ports
>Synopsis:       graphics/mapserver: cannot find -lpgport
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 23 21:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Julien Cigar
>Release:        8.0-RELEASE-p2
>Organization:
Belgian Biodiversity Platform, Université Libre de Bruxelles
>Environment:
FreeBSD jack.vub.ac.be 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Mar 23 17:11:15 CET 2010     root@jack.vub.ac.be:/usr/obj/usr/src/sys/CUSTOM  amd64

>Description:
graphics/mapserver fails to build properly, I think it's a problem with PostgreSQL (PostGIS) :

cc -c -O2 -pipe -fno-strict-aliasing -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRRSTR     -DUSE_FASTCGI   -DUSE_WMS_LYR -DUSE_WFS_LYR   -DUSE_CURL  -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DGEOS_HAS_SIMPLIFY   -DUSE_PROJ -DUSE_EPPL  -DUSE_AGG     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB     -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include    -I/usr/local/include     -I/usr/local/include -I/usr/local/include  -I/usr/local/include   -I/usr/local/include  -I/usr/local/include -I/usr/local/include/fastcgi     shp2img.c -o shp2img.o
c++ -O2 -pipe -fno-strict-aliasing -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRRSTR     -DUSE_FASTCGI   -DUSE_WMS_LYR -DUSE_WFS_LYR   -DUSE_CURL  -DUSE_WFS_SVR -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DGEOS_HAS_SIMPLIFY   -DUSE_PROJ -DUSE_EPPL  -DUSE_AGG     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB     -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include    -I/usr/local/include     -I/usr/local/include -I/usr/local/include  -I/usr/local/include   -I/usr/local/include  -I/usr/local/include -I/usr/local/include/fastcgi     shp2img.o -R/usr/local/lib -R/usr/ports/graphics/mapserver/work/mapserver-5.6.1 -L. -lmapserver -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz       -ljpeg -lfreetype -lpng -lz   -L/usr/local/lib -lproj -ljpeg -lpng  -L/usr/local/lib -lgdal -L/usr/local/lib -lproj -L/usr/local/lib -lgeos_c -L/usr/loca
 l/lib -lexpat -L/usr/local -L/usr/local/lib -ljasper -lungif -L/usr/local -L/usr/local/lib -ljpeg -lgeotiff -L/usr/local/lib -ltiff -L/usr/local -L/usr/local/lib -lpng -lpq -L/usr/local/lib -lpq -lz -L/usr -L/usr/lib -lm -lrt  -L/usr/local/lib -lpq -lpgport -lssl -lcrypto -lz -lreadline -lcrypt -lm   -L/usr/local/lib -lcurl -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lssl -lcrypto -lldap -lz  -L/usr/local/lib -lgeos_c  -liconv -L/usr/local/lib -lfcgi -lz   -lm -lstdc++    -o shp2img
/usr/bin/ld: cannot find -lpgport
gmake: *** [shp2img] Error 1
*** Error code 1

Stop in /usr/ports/graphics/mapserver.
*** Error code 1

Stop in /usr/ports/graphics/mapserver.


The port has been configured with the following OPTIONS :
jcigar@jack mapserver % make showconfig
===> The following configuration options are available for mapserver-5.6.1_2:
     AGG=off "Support for AGG image rendering (req: FreeType)"
     TIFF=on "Support for TIFF (but not GeoTIFF) files"
     MING=off "Support for Macromedia Flash output"
     PDF=off "Support for PDF output via pdflib"
     GDAL=on "Support for a number of input raster formats"
     GEOS=on "Use GEOS engine where possible"
     POSTGIS=on "Support for PostGIS"
     PHP=off "Support for MapScript/PHP"
     PERL=off "Support for MapScript/PERL"
     WMS=on "Support for web map service server and client"
     WFS=on "Support for web feature service (req: GDAL)"
     MAPSERV=on "Install mapserv cgi interface"
     FASTCGI=on "Support FASTCGI"
     DEBUG=off "Enable debugging output"

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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