Opened 19 years ago

Closed 19 years ago

#1351 closed defect (wontfix)

build fails when using --with-geos

Reported by: etdube@… Owned by: sdlime
Priority: high Milestone: 4.6 release
Component: Build Problems Version: 4.4
Severity: normal Keywords:
Cc:

Description

geos-config is called with --include, but the right option is spelled
--includes, so compile fails due to an -I followed by nothing... Patched
configure.in to fix it.

Attachments (1)

mapserver-4.4.2-configure.in.patch (508 bytes ) - added by etdube@… 19 years ago.
patch for configure.in, fixes build problem when using --with-geos

Download all attachments as: .zip

Change History (6)

by etdube@…, 19 years ago

patch for configure.in, fixes build problem when using --with-geos

comment:1 by dmorissette, 19 years ago

Cc: dmorissette@… added
Milestone: 4.6 release
Owner: changed from mapserverbugs to sdlime
Reassigned to Steve

comment:2 by sdlime, 19 years ago

What version of GEOS are you using? MapServer support uses 2.1 only. I had 
this same problem in reverse earlier.

Steve

comment:3 by etdube@…, 19 years ago

I use GEOS 2.1.1. Looking at the sources (geos-config.in) for all versions
available at http://geos.refractions.net , it always says "--includes", not
"--include" as in MapServer's configure script :

Usage: geos-config [OPTIONS]
Options:
     [--prefix]
     [--version]
     [--libs]
     [--cflags]
     [--includes]
     [--jtsport]


Etienne

comment:4 by sdlime, 19 years ago

Cripes, I fixed this once already. Will look again...

comment:5 by sdlime, 19 years ago

Resolution: wontfix
Status: newclosed
This is correct already in 4.6. I'm using GEOS 2.1.1 as well. There is nothing
but skeleton code in 4.4 anyway so it's pointless to apply the patch. That
initial support was developed against and earlier version of GEOS that did use
--include. Anyway, marking as WONTFIX...

Steve
Note: See TracTickets for help on using tickets.