I assume all the pgxs changes have been applied by Tom.
---
Fabien COELHO wrote:
Dear Thomas,
I'm trying to change the Makefile system for PL/Java so that it uses PGXS
instead of compiling using a complete
Dear Thomas,
I'm trying to change the Makefile system for PL/Java so that it uses PGXS
instead of compiling using a complete PostgreSQL source tree. As it turns
out, the directory include/port/win32 is not present in the PostgreSQL
binary installation. Without it, it's not possible to
Fabien,
There's quite a few issues. Here's what I had to do in order to get my
stuff working. I don't think it's any use for me to submit changes in
form of a patch at this point since pgxs seems to be a bit on the
drawing table still. I started another thread that was not win32 related
also
Dear Thomas,
There's quite a few issues. Here's what I had to do in order to get my stuff
working. I don't think it's any use for me to submit changes in form of a
patch at this point since pgxs seems to be a bit on the drawing table still.
Well, it is supposed to work;-)
pgxs is just a
Fabien,
ifdef PGXS
override CPPFLAGS := -I$(includedir_server)
-I$(includedir_server)/port/win32 -I$(includedir_internal) $(CPPFLAGS)
else # not PGXS
...
Why can't you #include port/win32/some_file.h which would (I think)
avoid the issue without adding a win32 specific -I to all
Dear Thomas,
ifdef PGXS
override CPPFLAGS := -I$(includedir_server)
-I$(includedir_server)/port/win32 -I$(includedir_internal) $(CPPFLAGS)
else # not PGXS
Why can't you #include port/win32/some_file.h which would (I think)
avoid the issue without adding a win32 specific -I to all
I have some problems when adjusting PL/Java to use PGXS in its
makefiles. Aside from the Win32 problem I asked about earlier, I also
have problems using the MODULE_big. When used, it brings in the
Makefile.shlib and attempts to use the target all-lib. That target is
defined as:
all-lib:
Thomas Hallgren [EMAIL PROTECTED] writes:
[ Makefile.shlib contains ]
all-lib: all-static-lib all-shared-lib
all-static-lib: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h
lib$(NAME).a
all-shared-lib: $(PTHREAD_H_WIN32)
Tom Lane wrote:
Thomas Hallgren [EMAIL PROTECTED] writes:
[ Makefile.shlib contains ]
all-lib: all-static-lib all-shared-lib
all-static-lib: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h
lib$(NAME).a
all-shared-lib: $(PTHREAD_H_WIN32)
Bruce Momjian [EMAIL PROTECTED] writes:
$(PTHREAD_H_WIN32) is a dependency of libpq and therefore we had to copy
it into Makefile.shlib when we are compiling from that file rather than
libpq/Makefile. libpq/Makefile has:
all: $(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h
Tom Lane wrote:
Bruce Momjian [EMAIL PROTECTED] writes:
$(PTHREAD_H_WIN32) is a dependency of libpq and therefore we had to copy
it into Makefile.shlib when we are compiling from that file rather than
libpq/Makefile. libpq/Makefile has:
all: $(PTHREAD_H_WIN32)
I'm trying to change the Makefile system for PL/Java so that it uses
PGXS instead of compiling using a complete PostgreSQL source tree. As it
turns out, the directory include/port/win32 is not present in the
PostgreSQL binary installation. Without it, it's not possible to compile
on win32.
Do
12 matches
Mail list logo