Opened 9 years ago

Closed 9 years ago

#3348 closed defect (fixed)

--with-sfcgal requires path to config even when config is in system path

Reported by: robe Owned by: colivier
Priority: medium Milestone: PostGIS 2.2.1
Component: sfcgal Version: 2.1.x
Keywords: Cc:

Description (last modified by robe)

When configuring debbie to build with sfcgal, I figured since I installed sfcgal in system (/usr/bin) installing using apt-get install from sid repo

./configure --with-sfgcal

would have been sufficient. Instead I got a compile error:

configure: error: sfcgal-config cannot be found. Please install sfcgal

I had to find where it got installed with:

dpkg -L libsfcgal-dev

and then pass in the full path

--with-sfcgal=/usr/bin/sfcgal-config

Technically this is not a bug since our documentation says you have to pass in the full path, but would be nice for it to find it so its like other configure scripts.

Change History (3)

comment:1 by robe, 9 years ago

Description: modified (diff)

comment:2 by robe, 9 years ago

Description: modified (diff)

comment:3 by strk, 9 years ago

Resolution: fixed
Status: newclosed

(In [14328]) Accept —with-sfcgal with no arguments as a valid way to enable it

Closes #3348

Note: See TracTickets for help on using tickets.