Re: [postgis-users] Instructions on Installing Postgis on Solaris

2010-06-24 Thread Chen, Li [Contractor]
I wish I could, but I really don't know how to use wiki other than reading it 
:) 
Could you add it for me please?

Cheers,

Li

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Mark 
Cave-Ayland
Sent: Friday, 25 June 2010 2:40 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Instructions on Installing Postgis on Solaris

Chen, Li [Contractor] wrote:

> So I am sending the following instructions to share experience with 
> others who also want to install postgis on solaris. The main steps are 
> the same as listed in the postgis manual, but I added some details where 
> I think appropriate.

Thank you! Would you like to create a Solaris page on the PostGIS wiki 
containing this information?


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Instructions on Installing Postgis on Solaris

2010-06-24 Thread Mark Cave-Ayland

Chen, Li [Contractor] wrote:

So I am sending the following instructions to share experience with 
others who also want to install postgis on solaris. The main steps are 
the same as listed in the postgis manual, but I added some details where 
I think appropriate.


Thank you! Would you like to create a Solaris page on the PostGIS wiki 
containing this information?



ATB,

Mark.

--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[postgis-users] Instructions on Installing Postgis on Solaris

2010-06-23 Thread Chen, Li [Contractor]
Hi Everyone,

I just finished installing the Postgis on a Solaris system. I had some problems 
during the process and I am lucky all got solved with the help of the community 
and google.
So I am sending the following instructions to share experience with others who 
also want to install postgis on solaris. The main steps are the same as listed 
in the postgis manual, but I added some details where I think appropriate.


1.   Modified PATH to: 
/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/local/pgsql/bin(this 
depends on where you install the postgres, default to be /usr/local/pgsql)

2.   Modified LD_LIBRARY_PATH to: 
/usr/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/pgsql/lib

3.   "export" LD_LIBRARY_PATH and PATH

4.   Upload package "PostGIS", "Proj4", and "GEOS" onto Solaris machine by 
"ftp" and "put" (notice that the ftp mode needs to be set to "binary")

5.   Download GNU tar package from 
http://www.sunfreeware.com/indexsparc10.html (you can get all packages I 
mentioned here from this website, but you have to obtain a Sun Solaris CD to 
install SUNW packages). First extract it with "gzip  -d  source" and then 
install it with "pkgadd  -d  source".

6.   Using GNU tar to extract the three packages in step 4 with 
"usr/local/bin/tar  xvf  source".

7.   Install GNU gcc, GNU make, and any other SUNW packages if needed (reds 
are the packages I installed)

Solaris ships with everything you need, except for the compiler.

All this stuff lives in /usr/ccs/bin and /usr/ccs/lib.

If you still can't find it, make sure you have the following packages installed 
on your system:

for tools (sccs, lex, yacc, make, nm, truss, ld, as): SUNWbtool, SUNWsprot, 
SUNWtoo

for libraries & headers: SUNWhea, SUNWarc, SUNWlibm, SUNWlibms, SUNWdfbh, 
SUNWcg6h

for ucb compat: SUNWsra, SUNWsrh

8.   Install Ruby, Python, Swig, readline (if necessary).

9.   "configure", "make", and "make install" "GEOS" and "Proj4" on Solaris.

10.   Install "PostGIS". (this instruction assumes postgresql is installed, if 
not, you can do that as step 9).

Here are all I can think of. Please feel free to correct it or ask questions.

And many thanks to Nicklas, Simon, and Regina to their kind supports.



Cheers,



Li
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users