Opened 8 years ago

Closed 8 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 8 years ago.
Actually rename the ac var to match the gdalconfig option

Download all attachments as: .zip

Change History (9)

comment:1 Changed 8 years ago by aperi2007

Component: postgispostgis raster
Owner: changed from pramsey to pracine

comment:2 Changed 8 years ago by jorgearevalo

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 Changed 8 years ago by robe

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.

comment:4 in reply to:  2 Changed 8 years ago by aperi2007

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

Changed 8 years ago by rroliver

Actually rename the ac var to match the gdalconfig option

comment:5 Changed 8 years ago by pracine

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

comment:6 Changed 8 years ago by aperi2007

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 Changed 8 years ago by robe

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

comment:8 Changed 8 years ago by Bborie Park

Resolution: fixed
Status: assignedclosed

Fixed in r7950

Note: See TracTickets for help on using tickets.