pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to install Postgres that supports 64-bit integer/date-time.
3+ messages / 2 participants
[nested] [flat]
* How to install Postgres that supports 64-bit integer/date-time.
@ 2005-04-22 05:30 Dinesh Pandey <dpandey@secf.com>
2005-04-22 14:50 ` Re: [SQL] How to install Postgres that supports 64-bit Scott Marlowe <smarlowe@g2switchworks.com>
0 siblings, 1 reply; 3+ messages in thread
From: Dinesh Pandey @ 2005-04-22 05:30 UTC (permalink / raw)
To: pgsql-sql; pgsql-general@postgresql.org
How to install Postgres 8.0.1 that supports 64-bit integer/date-time.
# ./configure --prefix=/usr/local/pgsql --with-tclconfig=/usr/local/lib
--with-tcl
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking which template to use... solaris
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
while installation I am getting this message:" checking whether to build
with 64-bit integer date/time support... no"
Thanks
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [SQL] How to install Postgres that supports 64-bit
2005-04-22 05:30 How to install Postgres that supports 64-bit integer/date-time. Dinesh Pandey <dpandey@secf.com>
@ 2005-04-22 14:50 ` Scott Marlowe <smarlowe@g2switchworks.com>
0 siblings, 0 replies; 3+ messages in thread
From: Scott Marlowe @ 2005-04-22 14:50 UTC (permalink / raw)
To: dpandey@secf.com; +Cc: pgsql-sql; pgsql-general@postgresql.org
On Fri, 2005-04-22 at 00:30, Dinesh Pandey wrote:
> How to install Postgres 8.0.1 that supports 64-bit integer/date-time.
>
>
>
> # ./configure --prefix=/usr/local/pgsql
> --with-tclconfig=/usr/local/lib --with-tcl
>
> checking build system type... sparc-sun-solaris2.8
>
> checking host system type... sparc-sun-solaris2.8
>
> checking which template to use... solaris
>
> checking whether to build with 64-bit integer date/time support... no
>
> checking whether NLS is wanted... no
>
> checking for default port number... 5432
>
> checking for gcc... gcc
>
>
>
> while installation I am getting this message:” checking whether to
> build with 64-bit integer date/time support... no”
>
--enable-integer-datetimes enable 64-bit integer date/time support
^ permalink raw reply [nested|flat] 3+ messages in thread
* FW: How to install Postgres that supports 64-bit integer/date-time.
@ 2005-04-22 07:43 Dinesh Pandey <dpandey@secf.com>
0 siblings, 0 replies; 3+ messages in thread
From: Dinesh Pandey @ 2005-04-22 07:43 UTC (permalink / raw)
To: pgsql-sql; pgsql-general@postgresql.org
Continued...
I solved this problem by myself.
A. For 64 bit development you need these packages installed on Solaris
server:
SUNWarcx, SUNWbtoox, SUNWdplx, SUNWscpux, SUNWsprox,
SUNWtoox, SUNWlmsx, SUNWlmx, SUNWlibCx
Pls confirm these using the following command.
pkginfo SUNWarcx
pkginfo SUNWbtoox
pkginfo SUNWdplx
pkginfo SUNWscpux
pkginfo SUNWsprox,
pkginfo SUNWtoox
pkginfo SUNWlmsx
pkginfo SUNWlmx
pkginfo SUNWlibCx
B. Install missing Solaris packages.
Insert Solaris software CD 1/2.
Log in as root.
pkgadd -d /cdrom/Solaris_9/Product <<package name>>
eject cdrom
C. Check Solaris OS mode and supported bits
isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
D. To compile a 64-bit application on an UltraSparc with a recent Sun
Compiler.
getconf -a | grep v9
XBS5_LP64_OFF64_CFLAGS: -xarch=v9
XBS5_LP64_OFF64_LDFLAGS: -xarch=v9
..
..
E. The transitional compilation environment is obtained with the
following compiler and linker flags:
getconf LFS64_CFLAGS -D_LARGEFILE64_SOURCE
F. The large file compilation environment is obtained with (A 64-bit
application automatically has large file support built in by default.)
getconf LFS_CFLAGS -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
G. Re-Configure the Postgres with 64-bit integer date/time support from
its source:
bash-2.03# cd postgres 8.0.1/
bash-2.03# ./configure --enable-integer-datetimes
--prefix=/usr/local/pgsql --with-perl --with-tclconfig=/usr/local/lib
--with-tcl
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking which template to use... solaris
checking whether to build with 64-bit integer date/time
support... yes
checking whether NLS is wanted... no
checking for default port number... 5432
..
..
bash-2.03# make install
Kindly let me know if you need any further clarification or any problem
occurs.
Thanks
Dinesh Pandey
_____
From: Dinesh Pandey [mailto:dpandey@secf.com]
Sent: Friday, April 22, 2005 11:00 AM
To: 'PostgreSQL'; 'pgsql-general@postgresql.org'
Subject: How to install Postgres that supports 64-bit integer/date-time.
How to install Postgres 8.0.1 that supports 64-bit integer/date-time.
# ./configure --prefix=/usr/local/pgsql --with-tclconfig=/usr/local/lib
--with-tcl
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking which template to use... solaris
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
while installation I am getting this message:" checking whether to build
with 64-bit integer date/time support... no"
Thanks
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-04-22 14:50 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-22 05:30 How to install Postgres that supports 64-bit integer/date-time. Dinesh Pandey <dpandey@secf.com>
2005-04-22 14:50 ` Re: [SQL] How to install Postgres that supports 64-bit Scott Marlowe <smarlowe@g2switchworks.com>
2005-04-22 07:43 FW: How to install Postgres that supports 64-bit integer/date-time. Dinesh Pandey <dpandey@secf.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox