Opened 13 years ago

Closed 13 years ago

#1167 closed defect (fixed)

gdal-config unrecognized option

Reported by: aperi2007 Owned by: jorgearevalo
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

Hi, configuring for compile the postgis-svn I will notice this warning:

configure: WARNING: unrecognized options: --with-gdalconfig

But this option is listed in the help of "configure".

  --with-gdalconfig=[ARG] specify location of gdal-config (ARG=path)

I don't know if --with-gdalconfig is a deprecated option or there is some other problem.

Attachments (1)

postgis-2.0.0SVN-fix_gdalconfig_option-1.patch (637 bytes ) - added by rroliver 13 years ago.
Actually rename the ac var to match the gdalconfig option

Download all attachments as: .zip

Change History (9)

comment:1 by aperi2007, 13 years ago

Component: postgispostgis raster
Owner: changed from pramsey to pracine

comment:2 by jorgearevalo, 13 years ago

Owner: changed from pracine to jorgearevalo
Status: newassigned

--with-gdalconfig requires --with-raster. Did you specify it? I guess configure --help should inform about it.

comment:3 by robe, 13 years ago

strange I have the same issue too, but I closed that ticket a while agao since it seemed I was the only one having it and I couldn't replicate it on all my computers. It happened right after Jorge changed the name of the configure argument from with-gdal to --with-gdal-config so I thought I had something stuck in my msys setup that got installed in system that shouldn't have. See my #616 ticket.

I still have the same issue today but mostly a nuisance rather than causing any problems that I can see.

in reply to:  2 comment:4 by aperi2007, 13 years ago

Replying to jorgearevalo:

--with-gdalconfig requires --with-raster. Did you specify it? I guess configure --help should inform about it.

yes, my configure is

./configure ..... --with-gdal-config=<path to> --with-gui --with-topology --with-raster

by rroliver, 13 years ago

Actually rename the ac var to match the gdalconfig option

comment:5 by pracine, 13 years ago

Jorge, was this patch applied? Can we close this ticket?

comment:6 by aperi2007, 13 years ago

the gdal-config parameter is still unrecognized in configuring time.

I guess the patch is not applied.

However I don't know if that parameter is really needed.

comment:7 by robe, 13 years ago

Yah I still have this error show up in my config which I ignore.

comment:8 by Bborie Park, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7950

Note: See TracTickets for help on using tickets.