Date: Tue, 25 Nov 2014 22:09:00 -0500 From: Martin Laflamme <martin@marketbridge.com> To: <freebsd-ports-bugs@freebsd.org> Subject: Postgis21 - Makefile:103: recipe for target 'shp2pgsql' failed Message-ID: <53283.1416971340@marketbridge.com>
next in thread | raw e-mail | index | archive | help
Hello, I have recently upgrade from FreeBSD 9.1 to 10.1. I have all the exact ver= sion of all the required dependencies installed for Postgis21. I did install everything from Ports. Now, my last issue i= s posted here at: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195090 I have been fighting with this for over a week. :( The shp2pgsql is my las= t issue. It is odd that it even tries to compile because I don't even sele= ct it=20 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 dire= ctory 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 unde= clared 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 >=3D 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 instal= led. CPPFLAGS: -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/includ= e -I/usr/local/include But it is installed: oot@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 ver= sion) 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53283.1416971340>