Search Postgresql Archives

Compiling PostgreSql 9.0 on Sparc Solaris (64 bit)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo


A few weeks ago, we saw questions on the mailing list about compiling PostgreSql on Solaris Sparc. Compiling on Solaris is always an adventure. It took us nearly a 2 weeks for compiling and making a package for  PostgreSql and Postgis. 


We heavily use spare zones. That's one of the reasons why we deploy our binaries in the folder "/opt" and not in "/usr", which is the most of the time the standard.


Before you begin:


- make a full zone 

- install the 2 compilers sunstudio and gcc. gcc is only needed when you want to compile postgis.


/opt/sunstudio12.1/READMEs# cat c

Sun Studio 12 Update 1: C Compiler Readme 

….


/export/packages/postgres/postgresql-9.0.1-01/01_scripts# gcc --version

gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Copyright (C) 2004 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--> package: SUNWgcc


For Postgres (version 9.0.1)

------------------

- mkdir /export/packages/postgres

- download http://nme.milieuinfo.be/postgresql-9.0.1-01.tar.gz in this folder, unzip and untar

- cd  /export/packages/postgres/postgresql-9.0.1-01/01_scripts

- ./01_compile.sh (for making the directory structure)

- ./02_mkpostgres.sh (for compiling and making the package)


Following software bundles are compiled for PostgreSql:


readline

libxml2

libxlst

openldap

openssl

postgres

pgtop

 

For postgis (postgis 1.5.0 PostreSql version 8.4.2)

---------------

- mkdir /export/packages/postgis

- download  http://nme.milieuinfo.be/postgis-1.5.0-02.tar.gz in this folder, unzip and untar

- same as above



For postgresql, we converted the scripts to an English friendly script, this is not the case for postgis but you can handle it. For postgresql, we made an installation pdf. You find it in postgresql-9.0.1-01.tar.gz 


I hope that somebody would put this  information on an central site webpage. Reaction are welcome.


Greetings,

Gerrit-Guy









 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux