Ticket #1167 (closed defect: fixed)

Opened 21 months ago

Last modified 20 months ago

gdal-config unrecognized option

Reported by: aperi2007 Owned by: jorgearevalo
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: trunk
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

postgis-2.0.0SVN-fix_gdalconfig_option-1.patch Download (0.6 KB) - added by rroliver 21 months ago.
Actually rename the ac var to match the gdalconfig option

Change History

  Changed 21 months ago by aperi2007

  • owner changed from pramsey to pracine
  • component changed from postgis to postgis raster

follow-up: ↓ 4   Changed 21 months ago by jorgearevalo

  • owner changed from pracine to jorgearevalo
  • status changed from new to assigned

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

  Changed 21 months 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.

in reply to: ↑ 2   Changed 21 months 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 21 months ago by rroliver

Actually rename the ac var to match the gdalconfig option

  Changed 20 months ago by pracine

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

  Changed 20 months 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.

  Changed 20 months ago by robe

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

  Changed 20 months ago by dustymugs

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r7950

Note: See TracTickets for help on using tickets.