This forum is no longer active. Please post your questions to our new community site

Forums WAPPStack

Anyone know how to PostGis a WAPPStack?

Subscribe to Anyone know how to PostGis a WAPPStack? 5 post(s), 3 voice(s)

 
Avatar postgis58 2 post(s)

Maybe its just me but I would think that the main draw to postgres would be the spatial functions. How do I add the PostGis extensions?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

I have just written a quick guide about how to install PostGIS on BitNami LAPP Stack at http://wiki.bitnami.com/Components/PostgreSQL#How_to_install_PostGIS_in_the_PostgreSQL_database.3f i hope it helps.

 
Avatar postgis58 2 post(s)

That was fast.

I ended up using stackbuilder and added in postgis. All worked out well but i did take a while to install. I’m guessing this would not be an option in the cloud environment. Thanks.
 
Avatar g_n 1 post

No issues with GEOS and Proj4, however PostGIS’s configure spits up a error on my RHEL 6 x86_64 box with Djangostack 1.3.1 running.

./configure

checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking how to print strings… printf
checking for gcc… gcc
checking whether the C compiler works… no
configure: error: in `/opt/downloads/postgres/postgis-1.5.3’:
configure: error: C compiler cannot create executables
See `config.log’ for more details


In the config.log
*******************
configure:2880: checking whether the C compiler works
configure:2902: gcc /opt/djangostack-1.3-1/postgresql/lib/ conftest.c >&5
/opt/djangostack-1.3-1/postgresql/lib/: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure:2906: $? = 1
configure:2944: result: no
configure: failed program was:
| /* confdefs.h */

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

You have to install the compiler tools in your system. For RedHat you can run the following command as root user:

# yum install gcc gcc-c++ autoconf automake

Forums WAPPStack