[postgis-users] Voronoi in PostGIS

Dheeraj Chand dheeraj at dheerajchand.com
Tue Mar 13 18:22:40 PDT 2012


Thanks!

1. Altering $PKG_CONFIG to just ../bin worked!
2. Fixed the issue with the R path.

That allowed the make to work, but the make install is still giving me errors. (Appended)

-dx







GENESISARK:plr dheerajchand$ pwd
/Users/dheerajchand/Projects/src/plr
GENESISARK:plr dheerajchand$ which pkg-config
/Users/dheerajchand/Projects/src/pkgthings/bin/pkg-config
GENESISARK:plr dheerajchand$ echo $PATH
/Users/dheerajchand/pear/bin/:/Applications/ImageMagick-6.7.2/bin:/Users/dheerajchand/Projects/src/pkgthings/bin:/usr/local/pgsql-9.1/bin:/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:/usr/local/mysql/bin
GENESISARK:plr dheerajchand$ USE_PGXS=1 make
sed 's,MODULE_PATHNAME,$libdir/plr,g' plr.sql.in >plr.sql
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
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
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
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
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
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
GENESISARK:plr dheerajchand$ USE_PGXS=1 make install
/bin/sh /usr/local/pgsql-9.1/lib/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/pgsql-9.1/lib'
/bin/sh /usr/local/pgsql-9.1/lib/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/pgsql-9.1/share/extension'
/bin/sh /usr/local/pgsql-9.1/lib/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/pgsql-9.1/share/doc/extension'
mkdir: /usr/local/pgsql-9.1/share/doc/extension: Permission denied
make: *** [installdirs] Error 1
GENESISARK:plr dheerajchand$ sudo USE_PGXS=1 make install
Password:
make: *** No rule to make target `install'.  Stop.
GENESISARK:plr dheerajchand$ 


On Mar 13, 2012, at 7:00 PM, Puneet Kishor wrote:

> 
> On Mar 13, 2012, at 6:53 PM, Dheeraj Chand wrote:
> 
>> GENESISARK:~ dheerajchand$ echo $PATH
>> /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
> 
> 
> Try removing 'pkg-config' from /Users/dheerajchand/Projects/src/pkgthings/bin/pkg-config and make it /Users/dheerajchand/Projects/src/pkgthings/bin
> 
> 
> Then do a `source ~/.bash_profile` to reload the path (or quit Terminal and launch it again), then do a `which pkg-config`
> 
> 
> --
> Puneet Kishor
> 	
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list