<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I'm trying to install on Mac Lion, and getting an error with pkg-config (appended).</div><div><br></div><div>I'm following the instructions for pkg-config from here: <a href="http://cairographics.org/end_to_end_build_for_mac_os_x/">http://cairographics.org/end_to_end_build_for_mac_os_x/</a></div><div><br></div><div>Anyone able to help me figure out what's going on?</div><div><br></div><div>-dx</div><div><br></div><div><br></div><div><br></div><div><div>GENESISARK:plr dheerajchand$ USE_PGXS=1 make clean</div><div>rm -f plr.so libplr.a </div><div>rm -f plr.sql</div><div>rm -f plr.o pg_conversion.o pg_backend_support.o pg_userfuncs.o pg_rsupport.o</div><div>rm -f doc/html/* doc/plr-US.aux doc/plr-*.log doc/plr-*.out doc/plr-*.pdf doc/plr-*.tex-pdf</div><div>rm -rf results/ regression.diffs regression.out tmp_check/ log/</div><div>GENESISARK:plr dheerajchand$ USE_PGXS=1 make</div><div>sed 's,MODULE_PATHNAME,$libdir/plr,g' plr.sql.in >plr.sql</div><div>gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I"." -I"/Library/Frameworks/R.framework/Resources//include" -I/Library/Frameworks/R.framework/Resources//include -I. -I. -I/usr/local/pgsql-9.1/include/server -I/usr/local/pgsql-9.1/include/internal -I/usr/include/libxml2 -DPKGLIBDIR=\"/usr/local/pgsql-9.1/lib\" -DDLSUFFIX=\".so\" -DR_HOME_DEFAULT=\"/Library/Frameworks/R.framework/Resources/\" -c -o plr.o plr.c</div><div>gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I"." -I"/Library/Frameworks/R.framework/Resources//include" -I/Library/Frameworks/R.framework/Resources//include -I. -I. -I/usr/local/pgsql-9.1/include/server -I/usr/local/pgsql-9.1/include/internal -I/usr/include/libxml2 -DPKGLIBDIR=\"/usr/local/pgsql-9.1/lib\" -DDLSUFFIX=\".so\" -DR_HOME_DEFAULT=\"/Library/Frameworks/R.framework/Resources/\" -c -o pg_conversion.o pg_conversion.c</div><div>gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I"." -I"/Library/Frameworks/R.framework/Resources//include" -I/Library/Frameworks/R.framework/Resources//include -I. -I. -I/usr/local/pgsql-9.1/include/server -I/usr/local/pgsql-9.1/include/internal -I/usr/include/libxml2 -DPKGLIBDIR=\"/usr/local/pgsql-9.1/lib\" -DDLSUFFIX=\".so\" -DR_HOME_DEFAULT=\"/Library/Frameworks/R.framework/Resources/\" -c -o pg_backend_support.o pg_backend_support.c</div><div>gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I"." -I"/Library/Frameworks/R.framework/Resources//include" -I/Library/Frameworks/R.framework/Resources//include -I. -I. -I/usr/local/pgsql-9.1/include/server -I/usr/local/pgsql-9.1/include/internal -I/usr/include/libxml2 -DPKGLIBDIR=\"/usr/local/pgsql-9.1/lib\" -DDLSUFFIX=\".so\" -DR_HOME_DEFAULT=\"/Library/Frameworks/R.framework/Resources/\" -c -o pg_userfuncs.o pg_userfuncs.c</div><div>gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I"." -I"/Library/Frameworks/R.framework/Resources//include" -I/Library/Frameworks/R.framework/Resources//include -I. -I. -I/usr/local/pgsql-9.1/include/server -I/usr/local/pgsql-9.1/include/internal -I/usr/include/libxml2 -DPKGLIBDIR=\"/usr/local/pgsql-9.1/lib\" -DDLSUFFIX=\".so\" -DR_HOME_DEFAULT=\"/Library/Frameworks/R.framework/Resources/\" -c -o pg_rsupport.o pg_rsupport.c</div><div>gcc -Os -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -bundle -multiply_defined suppress -o plr.so plr.o pg_conversion.o pg_backend_support.o pg_userfuncs.o pg_rsupport.o -L/usr/local/pgsql-9.1/lib -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -Wl,-dead_strip_dylibs -L/Library/Frameworks/R.framework/Resources//bin -L/Library/Frameworks/R.framework/Resources//lib -lR -bundle_loader /usr/local/pgsql-9.1/bin/postgres</div><div>GENESISARK:plr dheerajchand$ USE_PGXS=1 make install</div><div>/bin/sh /usr/local/pgsql-9.1/lib/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/pgsql-9.1/lib'</div><div>/bin/sh /usr/local/pgsql-9.1/lib/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/pgsql-9.1/share/extension'</div><div>/bin/sh /usr/local/pgsql-9.1/lib/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/pgsql-9.1/share/doc/extension'</div><div>mkdir: /usr/local/pgsql-9.1/share/doc/extension: Permission denied</div><div>make: *** [installdirs] Error 1</div><div>GENESISARK:plr dheerajchand$ sudo USE_PGXS=1 make install</div><div>Password:</div><div>make: pkg-config: Command not found</div><div>make: pkg-config: Command not found</div><div>make: pkg-config: Command not found</div><div>make: pkg-config: Command not found</div><div>make: pkg-config: Command not found</div><div>make: *** No rule to make target `install'. Stop.</div><div>GENESISARK:plr dheerajchand$ echo $PATH</div><div>/Users/dheerajchand/pear/bin/:/Applications/ImageMagick-6.7.2/bin:/Users/dheerajchand/Projects/src/pkgthings/bin/pkg-config:/usr/local/pgsql-9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/opt/local/bin:/usr/local/mysql/bin</div></div><div><br></div><div><br><div><div>On Mar 9, 2012, at 6:57 PM, <a href="mailto:pcreso@pcreso.com">pcreso@pcreso.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">See the tutorials here:<br><br><a href="http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut01">http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut01</a><br>http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut02<br>http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut03<br><br>They may be of some help.<br><br>Cheers,<br><br> Brent Wood<br><br><br>--- On <b>Sat, 3/10/12, Dheeraj Chand <i><dheeraj@dheerajchand.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Dheeraj Chand <dheeraj@dheerajchand.com><br>Subject: Re: [postgis-users] Voronoi in PostGIS<br>To: "PostGIS Users Discussion" <postgis-users@postgis.refractions.net><br>Date: Saturday, March 10, 2012, 1:22 PM<br><br><div class="plainMail">Oh, gotcha. I'm actually very good with R, so that's a
relief. Umm, I used the installers from Kyng Chaos for PostGIS and all the libraries, and I'm not exactly the best at command line interactions, sorry.<br><br>Can someone give me completely idiot-proof directions to installing PL/R on OS X Lion, assuming the Kyng Chaos versions of GDAL, etc. ?<br><br>-dx<br>On Mar 9, 2012, at 3:27 PM, Puneet Kishor wrote:<br><br>> <br>> On Mar 9, 2012, at 3:22 PM, Dheeraj Chand wrote:<br>> <br>>> That was one that I'd bookmarked, but I don't have PL/R installed. I'm on a Mac. I have Python and PHP handy, though! I also don't know PL/R, but I could try to learn it!<br>>> <br>> <br>> <br>> All my work is on a Mac. You don't have to "learn" PL/R, but you do have to install it. Installing it via Macports is the easiest, but you can also easily compile it yourself.<br>> <br>> <br>> Once you get PL/R installed, it is just a matter of copying the code I have provided. Then, over time you
can learn R. PL/R simply lets you right Postgres functions in R.<br>> <br>> <br>> <br>> <br>>> <br>>> On Mar 9, 2012, at 3:19 PM, Puneet Kishor wrote:<br>>> <br>>>> <br>>>> On Mar 9, 2012, at 3:12 PM, Dheeraj Chand wrote:<br>>>> <br>>>>> Hi,<br>>>>> <br>>>>> I've been looking online to find some documentation on how to undertake this in PostGIS. Has anyone done it successfully, and if so, further willing to share code?<br>>>>> <br>>>> <br>>>> <br>>>> did you see <a href="http://punkish.org/Voronoi-Diagrams-In-PostGIS" target="_blank">http://punkish.org/Voronoi-Diagrams-In-PostGIS</a><br>>>> <br>>>> <br>>>> <br>>>> <br>>>> --<br>>>> Puneet Kishor<br>>>> <br>> <br>> _______________________________________________<br>> postgis-users mailing
list<br>> <a ymailto="mailto:postgis-users@postgis.refractions.net" href="x-msg://5449/mc/compose?to=postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br>_______________________________________________<br>postgis-users mailing list<br><a ymailto="mailto:postgis-users@postgis.refractions.net" href="x-msg://5449/mc/compose?to=postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></div></blockquote></td></tr></tbody></table></blockquote></div><br></div></body></html>