Opened 10 years ago

Closed 10 years ago

#678 closed defect (fixed)

Can't compile shp2pgsql or pgsql2shp under MingW

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:


Do we have a new dependency? I get this error

shp2pgsql-core.h:17:21: libintl.h: No such file or directory
shp2pgsql-core.c: In function `GenerateLineStringGeometry':
shp2pgsql-core.c:389: warning: implicit declaration of function `gettext'
make[2]: *** [shp2pgsql-core.o] Error 1
make[2]: Leaving directory `/c/projects/PostGIS/trunk/loader'
make[1]: *** [staged-install] Error 2
make[1]: Leaving directory `/c/projects/PostGIS/trunk/regress'

Change History (3)

comment:1 Changed 10 years ago by pramsey

Yes, we do, gettext.

Use the --with-gettext configure directive to point to your gettext install.

comment:2 Changed 10 years ago by robe

Sorry for the lame questions I see a libitll config option I don't recall seeing befor either. That could be because I wasn't looking. Should this be pointing at some config file or the dll executable. I assume its not to a config fiel since it doesn't have config as part of the variable name

comment:3 Changed 10 years ago by robe

Resolution: fixed
Status: newclosed

I cna compile now but on one of my boxes I can't compile the gui anymore and on the other everything compiles but keeps complaining about gettext-src can't be found or something like that.. I guess I probably have too many versions of something running around.

Note: See TracTickets for help on using tickets.