pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedinstallation in windows
4+ messages / 3 participants
[nested] [flat]
* installation in windows
@ 2001-06-06 19:33 Yu Y Zhou <yyzhou@ic.sunysb.edu>
2001-06-11 15:02 ` Re: installation in windows Christof Glaser <gcg@gl.aser.de>
2001-06-11 23:14 ` RE: installation in windows Raymond <support@bigriverinfotech.com>
0 siblings, 2 replies; 4+ messages in thread
From: Yu Y Zhou @ 2001-06-06 19:33 UTC (permalink / raw)
To: pgsql-admin
Hi:
I try to instsall postgresql natively in the windows system. I use
the command nmake /f win32.mak with the microsoft visual C++ in my path
under the src directory. I get the psql.exe and libpq.dll and other
files. However, I am not able to start the database server. When I try the
command psql in the dos mode, I get the error message
"connectDBStart()--socket failed: error=0". Moreover I do not have the
postmaster executable files. Would I get the postmaster excutable files by
executing the nmake /f win32.mak command? I also install postgresql with
Cygwin in another Window NT. I see the postmaster.exe in that machine,
with the cygwin environment. I try to compile the postmaster.c file in
visual C++. However, the C library files such as unistd.h cannot be
found. I'm not able to compile postmaster.c. The visual C++ I used is
microsoft studio 6.0 enterprise edition.
If anybody know anything about my troubles or have any insign, Please
let me know. I'm every appreciate it. Thank you and please give me some
suggestions. It would be a very great help for me.
Yu Ye Zhou
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: installation in windows
2001-06-06 19:33 installation in windows Yu Y Zhou <yyzhou@ic.sunysb.edu>
@ 2001-06-11 15:02 ` Christof Glaser <gcg@gl.aser.de>
2001-06-11 18:17 ` Re: installation in windows Yu Y Zhou <yyzhou@ic.sunysb.edu>
1 sibling, 1 reply; 4+ messages in thread
From: Christof Glaser @ 2001-06-11 15:02 UTC (permalink / raw)
To: Yu Y Zhou <yyzhou@ic.sunysb.edu>; pgsql-admin
On Wednesday, 6. June 2001 21:33, Yu Y Zhou wrote:
> Hi:
> I try to instsall postgresql natively in the windows system. I
> use the command nmake /f win32.mak with the microsoft visual C++ in
> my path under the src directory. I get the psql.exe and libpq.dll and
> other files. However, I am not able to start the database server.
> When I try the command psql in the dos mode, I get the error message
> "connectDBStart()--socket failed: error=0". Moreover I do not have
> the postmaster executable files. Would I get the postmaster excutable
> files by executing the nmake /f win32.mak command? I also install
> postgresql with Cygwin in another Window NT. I see the postmaster.exe
> in that machine, with the cygwin environment. I try to compile the
> postmaster.c file in visual C++. However, the C library files such as
> unistd.h cannot be found. I'm not able to compile postmaster.c. The
> visual C++ I used is microsoft studio 6.0 enterprise edition.
> If anybody know anything about my troubles or have any insign,
> Please let me know. I'm every appreciate it. Thank you and please
> give me some suggestions. It would be a very great help for me.
>
> Yu Ye Zhou
Hi,
you probably need the Cygwin environment to make Windows behave
POSIX-like. See http://www.cygwin.com/
Christof
--
gl.aser . software engineering . internet service
http://gl.aser.de/ . Planckstraße 7 . D-39104 Magdeburg
Tel. +49.391.7 44 77 10 . Fax +49.391.7 44 77 13 . Mobil 0177.77 92 84 3
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: installation in windows
2001-06-06 19:33 installation in windows Yu Y Zhou <yyzhou@ic.sunysb.edu>
2001-06-11 15:02 ` Re: installation in windows Christof Glaser <gcg@gl.aser.de>
@ 2001-06-11 18:17 ` Yu Y Zhou <yyzhou@ic.sunysb.edu>
0 siblings, 0 replies; 4+ messages in thread
From: Yu Y Zhou @ 2001-06-11 18:17 UTC (permalink / raw)
To: Christof Glaser <gcg@gl.aser.de>; +Cc: pgsql-admin
I've already install postgresql with cygwin and I am able to query
simple database. However, my supervisor wants me to install postgresql
vatively under windows system. Any body knows if postgresql runs natively
under windows? Thank you for helping me.
Yu Ye Zhou
On Mon, 11 Jun 2001, Christof Glaser wrote:
> On Wednesday, 6. June 2001 21:33, Yu Y Zhou wrote:
> > Hi:
> > I try to instsall postgresql natively in the windows system. I
> > use the command nmake /f win32.mak with the microsoft visual C++ in
> > my path under the src directory. I get the psql.exe and libpq.dll and
> > other files. However, I am not able to start the database server.
> > When I try the command psql in the dos mode, I get the error message
> > "connectDBStart()--socket failed: error=0". Moreover I do not have
> > the postmaster executable files. Would I get the postmaster excutable
> > files by executing the nmake /f win32.mak command? I also install
> > postgresql with Cygwin in another Window NT. I see the postmaster.exe
> > in that machine, with the cygwin environment. I try to compile the
> > postmaster.c file in visual C++. However, the C library files such as
> > unistd.h cannot be found. I'm not able to compile postmaster.c. The
> > visual C++ I used is microsoft studio 6.0 enterprise edition.
> > If anybody know anything about my troubles or have any insign,
> > Please let me know. I'm every appreciate it. Thank you and please
> > give me some suggestions. It would be a very great help for me.
> >
> > Yu Ye Zhou
>
> Hi,
>
> you probably need the Cygwin environment to make Windows behave
> POSIX-like. See http://www.cygwin.com/
>
> Christof
> --
> gl.aser . software engineering . internet service
> http://gl.aser.de/ . Planckstraße 7 . D-39104 Magdeburg
> Tel. +49.391.7 44 77 10 . Fax +49.391.7 44 77 13 . Mobil 0177.77 92 84 3
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: installation in windows
2001-06-06 19:33 installation in windows Yu Y Zhou <yyzhou@ic.sunysb.edu>
@ 2001-06-11 23:14 ` Raymond <support@bigriverinfotech.com>
1 sibling, 0 replies; 4+ messages in thread
From: Raymond @ 2001-06-11 23:14 UTC (permalink / raw)
To: pgsql-admin
Yu Ye Zhou
>> I try to instsall postgresql natively in the windows system. I use the
command nmake /f win32.mak with the microsoft visual C++ in my path under
the src directory. I get the psql.exe and libpq.dll and other files.
However, I am not able to start the database server. When I try the command
psql in the dos mode, I get the error message "connectDBStart()--socket
failed: error=0". Moreover I do not have the postmaster executable files.
Would I get the postmaster excutable files by executing the nmake /f
win32.mak command? I also install postgresql with Cygwin in another Window
NT. I see the postmaster.exe in that machine, with the cygwin environment. I
try to compile the postmaster.c file in visual C++. However, the C library
files such as unistd.h cannot be found. I'm not able to compile
postmaster.c. The visual C++ I used is microsoft studio 6.0 enterprise
edition. If anybody know anything about my troubles or have any insign,
Please let me know. I'm every appreciate it. Thank you and please give me
some suggestions. It would be a very great help for me. <<
I believe that Win32 compilation is primarily for the psql CLIENT.
Take a look at Porting PostgreSQL to Windows 2000 Installation Procedures
http://people.freebsd.org/~kevlo/postgres/portNT.html
You will need the current Cygwin environment http://www.cygwin.com/ and the
Cygwin32 IPC package
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/cygipc-1.09-2
.tar.gz to run the PostgreSQL backend on Windoz.
I am currently utilizing PostgreSQL v7.1 on a Win2K notebook computer with
the above configuration; works great.
Raymond
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2001-06-11 23:14 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-06 19:33 installation in windows Yu Y Zhou <yyzhou@ic.sunysb.edu>
2001-06-11 15:02 ` Christof Glaser <gcg@gl.aser.de>
2001-06-11 18:17 ` Yu Y Zhou <yyzhou@ic.sunysb.edu>
2001-06-11 23:14 ` Raymond <support@bigriverinfotech.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