Обсуждение: FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?

Поиск
Список
Период
Сортировка

FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?

От
"Francis K Shim"
Дата:
If replying, please reply to

fshim@cawthra.com

I am subscribed to pgsql-general, but not pgsql-ports.

Thanks,
Frank

-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org]On Behalf Of Francis K Shim
Sent: Wednesday, April 11, 2001 3:00 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need:
to make libpg/(++) libraries?


Hi,

As the Subject line says, all I am looking to do is to make the libraries so
I can write some C/C++ postgresql client programs under Cygwin (under Win98)
using the GNU C/C++ compilers.  I guess I could use ODBC and MSVC++, but I
just don't want to get stuck in a rut.  I do not need to build any of the
server components, so I was hoping that the "configure" script would be
smart enough to produce make files that will make the rest of the package
with the necessary client libraries; however, it was clear as I was
monitoring the "make" output that I either need other libraries or I need to
restrict my "configure" options further.  The make encountered problems when
it started to compile "dllinit.c":

dllinit.c:49: warning: no previous prototype for '_cygwin_dll_entry'
dllinit.c:49: warning: no previous prototype for
'_cygwin_noncygwin_dll_entry'

This either caused or was caused by the dlltool to fail with the
port/SUBSYS.o:

dlltool: port/SUBSYS.o: no symbols

I am guessing it was caused by an incomplete SUBSYS.o object created from
compiling src/backend/port/dynloader.c... but I have not taken a detailed
look.  I am hoping that someone can point me in the right direction or tell
me what is missing.

Do I have the right package?  I seem to recall that there was some splitting
up of the package into 3 parts: client-only, server-only and common... but I
may be mixing that recollection with something else.

TIA,
Frank Shim


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly


Re: FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?

От
Jason Tishler
Дата:
Frank,

On Thu, Apr 12, 2001 at 02:07:21PM -0400, Francis K Shim wrote:
> As the Subject line says, all I am looking to do is to make the libraries so
> I can write some C/C++ postgresql client programs under Cygwin (under Win98)
> using the GNU C/C++ compilers.

Why don't you just use the client side stuff that is contained in the
pre-built PostgreSQL 7.1rc4 that is part of Cygwin now?  Just point
Cygwin's setup.exe at your favorite mirror and update.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

RE: FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?

От
"Francis K Shim"
Дата:
Thanks for the response, Jason... I think I will do that.

That was just what I was looking for, but I was looking for it in the 7.0.3
version.  I could have sworn I read something about a 3-way split into
server-side, client-side and common for 7.0.3, but I was obviously wrong.
Anyway, the 7.1 has been officially released so I am hoping that it is
stable enough for my purposes.

Anyway, in my search and re-search I noticed that there are some people who
have Cygipc facilities working on a Windows 98 platform.  As I understood
it, it was the IPC stuff - or rather lack thereof - that did not allow the
server side stuff to work.  Is this the case?

Frank

> -----Original Message-----
> From: Jason Tishler [mailto:Jason.Tishler@dothill.com]
> Sent: Friday, April 13, 2001 9:41 PM
> To: Francis K Shim
> Cc: pgsql-ports@postgresql.org
> Subject: Re: [PORTS] FW: [GENERAL] Given: Win98, Cygwin,
> postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?
>
>
> Frank,
>
> On Thu, Apr 12, 2001 at 02:07:21PM -0400, Francis K Shim wrote:
> > As the Subject line says, all I am looking to do is to make the
> libraries so
> > I can write some C/C++ postgresql client programs under Cygwin
> (under Win98)
> > using the GNU C/C++ compilers.
>
> Why don't you just use the client side stuff that is contained in the
> pre-built PostgreSQL 7.1rc4 that is part of Cygwin now?  Just point
> Cygwin's setup.exe at your favorite mirror and update.
>
> Jason
>
> --
> Jason Tishler
> Director, Software Engineering       Phone: +1 (732) 264-8770 x235
> Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
> 82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
> Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com
>


Re: FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?

От
Jason Tishler
Дата:
Frank,

On Sun, Apr 15, 2001 at 03:09:35PM -0400, Francis K Shim wrote:
> Anyway, in my search and re-search I noticed that there are some people who
> have Cygipc facilities working on a Windows 98 platform.  As I understood
> it, it was the IPC stuff - or rather lack thereof - that did not allow the
> server side stuff to work.  Is this the case?

Most of my Cygwin PostgreSQL experience is under NT/2000.  Occasionally,
I have run Cygwin PostgreSQL under 9X/Me (mainly for academic reasons) and
it seems to work OK.  If interested, see the following for more details:

    http://www.postgresql.org/mhonarc/pgsql-ports/2001-02/msg00011.html

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com