dbTalk Databases Forums  

[BUGS] BUG #1766: contrib/ modules can't install with --without-docdir

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1766: contrib/ modules can't install with --without-docdir in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ISHIDA Akio
 
Posts: n/a

Default [BUGS] BUG #1766: contrib/ modules can't install with --without-docdir - 07-13-2005 , 08:01 PM







The following bug has been logged online:

Bug reference: 1766
Logged by: ISHIDA Akio
Email address: iakio (AT) mono-space (DOT) net
PostgreSQL version: 8.0.3
Operating system: Linux
Description: contrib/ modules can't install with --without-docdir
Details:

$ ./configure --without-docdir
...
$ cd contrib/pgstattuple/
$ make install
mkdir -p -- /contrib
mkdir: cannot create directory `/contrib': Permission denied
make: *** [installdirs] Error 1


--- src/makefiles/pgxs.mk.org 2004-10-11 01:13:03.000000000 +0900
+++ src/makefiles/pgxs.mk 2005-07-14 09:54:24.000000000 +0900
@@ -100,10 +100,12 @@
done
endif # MODULES
ifdef DOCS
+ifdef docdir
@for file in $(addprefix $(srcdir)/, $(DOCS)); do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib; \
done
+endif # docdir
endif # DOCS
ifdef PROGRAM
$(INSTALL_PROGRAM) $(PROGRAM)$(X) $(DESTDIR)$(bindir)
@@ -133,8 +135,10 @@
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
endif
ifdef DOCS
+ifdef docdir
$(mkinstalldirs) $(DESTDIR)$(docdir)/contrib
-endif
+endif # docdir
+endif # DOCS
ifneq (,$(PROGRAM)$(SCRIPTS)$(SCRIPTS_built))
$(mkinstalldirs) $(DESTDIR)$(bindir)
endif

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote
  #2  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] BUG #1766: contrib/ modules can't install with --without-docdir - 07-29-2005 , 10:39 PM







Your patch has been added to the PostgreSQL unapplied patches list at:

http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


ISHIDA Akio wrote:
Quote:
The following bug has been logged online:

Bug reference: 1766
Logged by: ISHIDA Akio
Email address: iakio (AT) mono-space (DOT) net
PostgreSQL version: 8.0.3
Operating system: Linux
Description: contrib/ modules can't install with --without-docdir
Details:

$ ./configure --without-docdir
..
$ cd contrib/pgstattuple/
$ make install
mkdir -p -- /contrib
mkdir: cannot create directory `/contrib': Permission denied
make: *** [installdirs] Error 1


--- src/makefiles/pgxs.mk.org 2004-10-11 01:13:03.000000000 +0900
+++ src/makefiles/pgxs.mk 2005-07-14 09:54:24.000000000 +0900
@@ -100,10 +100,12 @@
done
endif # MODULES
ifdef DOCS
+ifdef docdir
@for file in $(addprefix $(srcdir)/, $(DOCS)); do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib; \
done
+endif # docdir
endif # DOCS
ifdef PROGRAM
$(INSTALL_PROGRAM) $(PROGRAM)$(X) $(DESTDIR)$(bindir)
@@ -133,8 +135,10 @@
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
endif
ifdef DOCS
+ifdef docdir
$(mkinstalldirs) $(DESTDIR)$(docdir)/contrib
-endif
+endif # docdir
+endif # DOCS
ifneq (,$(PROGRAM)$(SCRIPTS)$(SCRIPTS_built))
$(mkinstalldirs) $(DESTDIR)$(bindir)
endif

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

--
Bruce Momjian | http://candle.pha.pa.us
pgman (AT) candle (DOT) pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


Reply With Quote
  #3  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] BUG #1766: contrib/ modules can't install with --without-docdir - 08-12-2005 , 04:22 PM




Patch applied. Thanks.

---------------------------------------------------------------------------


ISHIDA Akio wrote:
Quote:
The following bug has been logged online:

Bug reference: 1766
Logged by: ISHIDA Akio
Email address: iakio (AT) mono-space (DOT) net
PostgreSQL version: 8.0.3
Operating system: Linux
Description: contrib/ modules can't install with --without-docdir
Details:

$ ./configure --without-docdir
..
$ cd contrib/pgstattuple/
$ make install
mkdir -p -- /contrib
mkdir: cannot create directory `/contrib': Permission denied
make: *** [installdirs] Error 1


--- src/makefiles/pgxs.mk.org 2004-10-11 01:13:03.000000000 +0900
+++ src/makefiles/pgxs.mk 2005-07-14 09:54:24.000000000 +0900
@@ -100,10 +100,12 @@
done
endif # MODULES
ifdef DOCS
+ifdef docdir
@for file in $(addprefix $(srcdir)/, $(DOCS)); do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib; \
done
+endif # docdir
endif # DOCS
ifdef PROGRAM
$(INSTALL_PROGRAM) $(PROGRAM)$(X) $(DESTDIR)$(bindir)
@@ -133,8 +135,10 @@
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
endif
ifdef DOCS
+ifdef docdir
$(mkinstalldirs) $(DESTDIR)$(docdir)/contrib
-endif
+endif # docdir
+endif # DOCS
ifneq (,$(PROGRAM)$(SCRIPTS)$(SCRIPTS_built))
$(mkinstalldirs) $(DESTDIR)$(bindir)
endif

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

--
Bruce Momjian | http://candle.pha.pa.us
pgman (AT) candle (DOT) pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.