Re: [HACKERS] report for Win32 port - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] report for Win32 port
Date
Msg-id 199905261608.MAA26590@candle.pha.pa.us
Whole thread Raw
In response to report for Win32 port  (Horak Daniel <horak@mmp.plzen-city.cz>)
List pgsql-hackers
Applied(the libpq++ part).


[Charset iso-8859-2 unsupported, filtering to ASCII...]
> Hi,
> 
> I have tested current snapshot (from CVS) to compile and run on Windows NT.
> 
> It compiles mostly OK. The only problem is with linking the libpq++, but it
> can be a general problem:
> 
> pgcursordb.o: In function `_8PgCursorRC12PgConnectionPCc':
> /usr/src/pgsql.test/src/interfaces/libpq++/pgcursordb.cc:37: undefined
> reference
>  to `PgTransaction::PgTransaction(PgConnection const &)'
> 
> and it also need this small patch:
> ------------- cut here -------------
> --- /usr/src/pgsql/src/interfaces/libpq++/Makefile.in    Mon May 24 12:04:49
> 1999
> +++ src/interfaces/libpq++/Makefile.in    Wed May 26 15:29:05 1999
> @@ -44,7 +44,11 @@
>  
>  OBJS = pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o 
>  
> +ifeq ($(PORTNAME), win)
> +SHLIB_LINK+= --driver-name g++ -L../libpq -lpq
> +else
>  SHLIB_LINK= -L../libpq -lpq
> +endif
>  
>  # Shared library stuff, also default 'all' target
>  include $(SRCDIR)/Makefile.shlib
> ------------- cut here -------------
> 
> Here is current regress.out:
> int2 .. failed
> int4 .. failed
> float8 .. failed
> geometry .. failed
> -> these are unimportant (libc messages, precision)
> 
> datetime .. failed
> abstime .. failed
> tinterval .. failed
> horology .. failed
> -> it seems so that there are only differences in strings for timezones
> there
> 
> random .. failed
> *** expected/random.out Wed May 26 13:05:47 1999
> --- results/random.out  Wed May 26 15:04:57 1999
> ***************
> *** 19,23 ****
>     WHERE random NOT BETWEEN 80 AND 120;
>   random
>   ------
> ! (0 rows)
> 
> --- 19,24 ----
>     WHERE random NOT BETWEEN 80 AND 120;
>   random
>   ------
> !    123
> ! (1 row)
> 
> 
> rules .. failed
> -> different order of some lines (unimportant)
> 
> The remaining test are OK.
> 
>             Dan
> 
> PS: Change my name in the doc/src/sgml/ports.sgml from "Horak Daniel" to
> "Daniel Horak", please.
> 
> ----------------------------------------------
> Daniel Horak
> network and system administrator
> e-mail: horak@mmp.plzen-city.cz
> privat e-mail: dan.horak@email.cz ICQ:36448176
> ----------------------------------------------
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: [HACKERS] report for Win32 port
Next
From: Ari Halberstadt
Date:
Subject: Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot