[postgis-devel] [PostGIS] #1158: Can't compile under Windows mingw
PostGIS
trac at osgeo.org
Sat Aug 13 07:54:43 PDT 2011
#1158: Can't compile under Windows mingw
---------------------+------------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by bnordgren):
Replying to [comment:5 strk]:
> Regina, libpgcommon is actually using PGSQL_BE_CPPFLAGS, so _should_ be
finding everything needed for postgresql... where's your netdb.h ? I have
one in /usr/include and a few under postgresql-
xxx/include/server/port/win32. I suspect PGXS would take care of adding
-I.../port for win32
I added PGSQL_BE_CPPFLAGS myself, as the result of `$PGCONFIG
--includedir-server` so if we figure out what else needs to be added for
Windows, this is the place to put it. Is the netdb.h file in any of the
directories which can be mined from pg_config?
I'm not using PGXS because, as I read it, it makes *.so files and complete
postgresql extension modules. `libpgcommon` needs to be static.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1158#comment:9>
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-devel
mailing list