[postgis-tickets] [PostGIS] #3348: --with-sfcgal requires path to config even when config is in system path

PostGIS trac at osgeo.org
Mon Oct 26 01:26:37 PDT 2015


#3348: --with-sfcgal requires path to config even when config is in system path
---------------------+---------------------------
  Reporter:  robe    |      Owner:  colivier
      Type:  defect  |     Status:  new
  Priority:  medium  |  Milestone:  PostGIS 2.2.1
 Component:  sfcgal  |    Version:  2.1.x
Resolution:          |   Keywords:
---------------------+---------------------------
Description changed by robe:

Old description:

> 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-configu
> }}}
>

> 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.

New description:

 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.

--

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3348#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list