Opened 14 months ago
Closed 2 months ago
#5529 closed defect (wontfix)
--without-projdir not working (Tools build still requires too much)
Reported by: | robe | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.5.0 |
Component: | build | Version: | master |
Keywords: | Cc: |
Description
I was trying to do this on a system that does not have geos dev or proj dev installed.
./configure --without-pgconfig
and I can't tells me I need those.
I installed geosdevl and tried to get away without proj dev
./configure --without-pgconfig --without-projdir
and get
configure: error: the --with-projdir directory "no" cannot be found
shp2pgsql doesn't require geos or proj, so we should allow building without those if user choose —without-pgconfig
Change History (8)
comment:1 by , 14 months ago
comment:2 by , 12 months ago
Status: | new → assigned |
---|---|
Summary: | Tools build still requires too much → --without-pgconfig not working (Tools build still requires too much) |
This is similar to the —without-gui issue reported in #5541
comment:3 by , 12 months ago
Summary: | --without-pgconfig not working (Tools build still requires too much) → --without-projdir not working (Tools build still requires too much) |
---|
comment:4 by , 12 months ago
Milestone: | PostGIS 3.4.1 → PostGIS 3.5.0 |
---|---|
Version: | 3.4.x → master |
comment:5 by , 12 months ago
The loader tool uses liblwgeom and in turn liblwgeom required libproj at the moment. Allowing a libproj-less build of liblwgeom would be required to implement this enhancement. It strikes me that conditional libproj was a thing in the remote past of PostGIS and someone wanted to remove that optionality …
comment:6 by , 12 months ago
WIP PR: https://git.osgeo.org/gitea/postgis/postgis/pulls/164
won't go far unless we define what to do if proj is diabled (only build what's possible to build without it ?)
comment:7 by , 3 months ago
Specifically: liblwgeom currently requires proj, for example: liblwgeom/lwspheroid.c:149: undefined reference to `geod_init'
Should those parts of liblwgeom be made unavailable when building without proj ?
comment:8 by , 2 months ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
sounds like too much trouble. Lets not bother.
Okay possible maybe nothing can be done with proj or geos since we are pulling in liblwgeom, but I shouldn't have to explicitly says —without-protobuf
I ended up with this cause all I needed was shp2pgsl