Postgis21 - Makefile:103: recipe for target 'shp2pgsql' failed
Martin Laflamme
martin at marketbridge.com
Wed Nov 26 03:09:00 UTC 2014
Hello,
I have recently upgrade from FreeBSD 9.1 to 10.1. I have all the exact version of all the required dependencies installed
for Postgis21. I did install everything from Ports. Now, my last issue is posted here at:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195090
I have been fighting with this for over a week. :( The shp2pgsql is my last issue. It is odd that it even tries to compile because I don't even select it
as a config option.
During my troubleshooting, I also noticed and fixed two issues:
1. Json Dependency: Link to json/json.h does not work. The new json directory is json-c/json.h. I made symbolic link and fixed it that way.
2. Postgis21 would not compile - there is an error at line 513 use of undeclared identifier 'json_tokener_errors'. I declared it and compile works. $path/liblwgeom/lwin_geojson.c
I also get another error while compiling:
checking for GTK+ - version >= 2.8.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
CPPFLAGS: -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include
But it is installed:
oot at database:/usr/ports/databases/postgis21 # pkg info | grep gtk
gtk-update-icon-cache-2.24.25 Gtk-update-icon-cache utility from the Gtk+ toolkit
gtk3-3.14.3_1 Gimp Toolkit for X11 GUI (current stable version)
And I know that could be an issue for my "shp2pgsql" issue.
Sigh.. it was sooooo easy before. lol
Martin
Message sent via Atmail Open - http://atmail.org/
More information about the freebsd-ports-bugs
mailing list