:dirmod.c: undefined
reference to `__imp__CurrentMemoryContext'
which explains the pgport_palloc problem.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
2004-08-24 20:20:54 rurban:
* cygwin needs different header locations, and unlink is a macro
* There are no p
urban/software/cygwin/postgresql/postgresql-7.4.5-1/
and
http://xarch.tu-graz.ac.at/home/rurban/software/cygwin/postgresql/postgresql-8.0.0beta1-1/
but the 8.0.0b1 patchset is not finished yet.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
2004-08-26 00:15:41 [EMAIL PROTECTED]
cygi
Peter Eisentraut schrieb:
Reini Urban wrote:
cygipc is deprecated in cygwin, replaced by cygserver
added test to check for running cygserver and the required
server in $CYGWIN. Otherwise build for cygipc, but print a
warning.
configure checks the build environment, not the run time
tions Derived from Issue 1 of the
SVID. */
extern __IMPORT time_t _timezone;
...
BTW: I see that CYGWIN also has a struct timezone in sys/time.h, but
configure didn't check for that.
I'll come with better patches after beta2.
---
Bruce Momjian schrieb:
Should I apply this change?
#define TIMEZONE_GLOBAL ((int)_timezone)
yes, please.
I have no time yet, to come up with the better patch. It's already monday.
---
Reini Urban wrote:
Bruce Mo
tched it just
for completeness in the forthcoming cygwin package.)
Bruce Momjian schrieb:
OK, patch attached and applied that casts _timezone to (int) on Cygwin.
---
Reini Urban wrote:
Bruce Momjian schrieb:
Should I apply
Peter Eisentraut schrieb:
Reini Urban wrote:
But my patch is still valid:
The current cygipc check is wrong when cygserver is running. If
cygserver is not running, it displays a warning when using the cygipc
library.
What would be wrong with using cygserver when available (!= when
running
Tom Lane schrieb:
Reini Urban <[EMAIL PROTECTED]> writes:
Added configure time_t timezone check for the SUSV definition.
Kindly do not claim that this is per SUS spec.
http://www.opengroup.org/onlinepubs/007908799/xsh/timezone.html
oops! sorry :(
--
Reini Urban
http://xarch.tu-graz.ac.a
ther platforms will loose.
-------
Reini Urban wrote:
Tom Lane schrieb:
Reini Urban <[EMAIL PROTECTED]> writes:
Added configure time_t timezone check for the SUSV definition.
Kindly do not claim that this is per SUS spec.
http://www.opengroup.org/onlinepubs/0
Tom Lane schrieb:
Reini Urban <[EMAIL PROTECTED]> writes:
But the time_t timezone issue is here:
"XSHd7 Aardvark Change Request Report"
http://www.opengroup.org/austin/docs/austin_97.txt
(ERN 20 Accept as marked, page 1177)
There is nothing whatever on that page about the
Tom Lane schrieb:
Reini Urban <[EMAIL PROTECTED]> writes:
Yes, they are talking about the localtime return value,
but nevertheless the newlib folks refer to that. Their fault.
Should I discuss that with them?
Probably. They have a gratuitous variation from the Single Unix Spec.
But what
Bruce Momjian schrieb:
Tom Lane wrote:
Reini Urban <[EMAIL PROTECTED]> writes:
Yes, they are talking about the localtime return value,
but nevertheless the newlib folks refer to that. Their fault.
Should I discuss that with them?
Probably. They have a gratuitous variation from the Singl
Bruce Momjian schrieb:
Reini Urban wrote:
# PGAC_VAR_INT_TIMEZONE
# -
# Check if the global variable `timezone' exists. If so, define
# HAVE_INT_TIMEZONE.
AC_DEFUN([PGAC_VAR_INT_TIMEZONE],
[AC_CACHE_CHECK(for int tim
Reini Urban schrieb:
[BTW: there's no need to cc all, I'm subscribed to most lists]
Reini Urban schrieb:
Bruce Momjian schrieb:
Andrew Dunstan wrote:
Reini Urban wrote:
FYI: WIN32 is also defined because is included.
(/usr/incluse/w32api/windef.h)
If you want this or that, do proper ne
-lpgport
+else
+ SHLIB_LINK += $(BE_DLLLIBS)
+endif
endif
ifdef PG_CPPFLAGS
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster
Tom Lane schrieb:
Also, I count 3 *.def files to be fixed, not two. (We really oughta
figure a way to generate them all from a single list file... can we
rely on sed(1) being available in all Windows build environments?)
for cygwin: yes.
the non-gcc builds would need the mingw or cygwin versions.
add boolean option --temp-keep to pg_regress to keep the existing
tmp_check installation, instead of overwriting it with a fresh make
install. Useful to test minor modifications in the current tmp_check
installation.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
*** src/test/regress
.
---
Reini Urban wrote:
add boolean option --temp-keep to pg_regress to keep the existing
tmp_check installation, instead of overwriting it with a fresh make
install. Useful to test minor modifications in the current tmp_check
installation.
--
Reini Urban
http://xarch.tu-graz.ac.at/home
Marek Lewczuk schrieb:
Reini Urban wrote:
Bruce Momjian schrieb:
Great. Thanks. I was getting conflicting reports of Cygwin problems
before.
Not for me:
I found a problem with my pg_ctl patch (WIN32 is always defined in
cygwin when windows.h is included, and the START /B postmaster cmdline
tgresql' fault. But I'll revive the old
ipc_test app and do more testing.
-------
Reini Urban wrote:
Marek Lewczuk schrieb:
Reini Urban wrote:
Bruce Momjian schrieb:
Great. Thanks. I was getting conflicting reports of
d for /contrib modules, not sure why
+ SHLIB_LINK += -lpgport
endif
ifeq ($(PORTNAME), win32)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
fails in
building shared libs. A similar problem as with building php.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
Peter Eisentraut schrieb:
Reini Urban wrote:
I think that LDFLAGS overriding is in some situations bad for newer
libtool, as it is used with some postgresql contrib makefiles and
interfaces.
We're not using libtool.
sorry. it conflicts with gnu ld.
LIBS are added to LDFLAGS where they r
Tom Lane schrieb:
Reini Urban <[EMAIL PROTECTED]> writes:
Peter Eisentraut schrieb:
Please point out where that happens so it can be corrected.
Something like this (against an older cvs snap), but I don't believe
that this is the best way to solve it. It just solved building under cy
sion tests (testing against shm failures on cygwin)
pending. No time yet.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
Index: Makefile
===
RCS file: /projects/cvsroot/pgsql-server/contrib/spi/Makefile,v
retrieving revision 1.
I'd like to have this nice new features also :)
Just redefine WIN32 #ifdef __CYGWIN___ or the clean and long way as in
my patch?
I'm not sure about any dirty side-effects.
Builds fine and works as expected.
(Just tablespace symlinks not yet. Will get to that soon.)
--- postgresql-8.0.0cvs/src/bin
start with. I've set that to 60.
http://archives.postgresql.org/pgsql-cygwin/2002-09/msg2.php
Fixing src/backend/utils/misc/postgresql.conf.sample would be stupid.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
*** postgresql-8.0.0cvs/src/interfaces/libpq/Makefile.orig
Tom Lane schrieb:
Reini Urban <[EMAIL PROTECTED]> writes:
With this patch we might want to rename libpq.a to libpq.dll.a in our
install step later.
Isn't ".dll.a" a contradiction in terms? This doesn't seem
well-thought-out at all to me. Also the end result would hav
Bruce Momjian schrieb:
Reini Urban wrote:
Bruce Momjian schrieb:
I have applied all parts of your patch now.
Thanks. Core builds and works fine now. (plperl IPC problems aside)
But there's are still some more minor SHLIB glitches,
which only affects contrib, because -lpgport is missing for va
target: "install-regress" and collect only the
needed binaries, shared libs, timezone and intl stuff.
ah, even this is not needed.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
---(end of broadcast)---
TIP 3: if posting/reading t
Marek Lewczuk schrieb:
Reini Urban wrote:
Richard Sydney-Smith schrieb:
A new initd script will come with 8.0,
which just calls pg_ctl and
adds service install/uninstall args.
Reini,
a few days ago you wrote that you are working on plperl patch for cygwin
- how are doing with this ?
well, bruce
/contrib modules, not sure why
- SHLIB_LINK += -lpgport
+ SHLIB_LINK += $(LIBS)
endif
ifeq ($(PORTNAME), win32)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
---(end of broadcast)---
TIP 8: explain analyze is your friend
n32
*o remove trailing slash
*o remove trailing '.'
*o process trailing '..' ourselves
At the first glance I thought this will break Win95 (via cygwin), but it
really is ok, 'cause all the paths go through cygwin.
--
Reini Urban
htt
prevent the pg_dump/Makefile hack on MinGW too!
Working on a patch now.
---
Bruce Momjian wrote:
Andrew Dunstan wrote:
Reini Urban wrote:
...
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: res
#x27;t broke .../
Without sockets it's just a bit slower. Otherwise I don't care.
It should work on Cygwin with and without.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
---(end of broadcast)---
TIP 9: the planner will ignore you
35 matches
Mail list logo