Re: Build failure in current CVS - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Build failure in current CVS
Date
Msg-id Pine.LNX.4.44.0208212130150.8788-100000@localhost.localdomain
Whole thread Raw
In response to Re: Build failure in current CVS  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: Build failure in current CVS
List pgsql-hackers
Tatsuo Ishii writes:

> I have applied following changes and am getting:
>
> make: *** No rule to make target `ascii_and_mic.o', needed by `libascii_and_mic.so.0.0'.  Stop.
>
> under one of a conversion directory. The weird thing is I do not get
> this if I do a build "inside" the source tree. Any idea?

The following patch works, it just needs to be extrapolated to the other
directories.

diff -ru cvs-pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile
pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile
--- cvs-pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile    Wed Aug 14 04:45:10 2002
+++ pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile    Wed Aug 21 21:22:47 2002
@@ -3,9 +3,10 @@# $Id: Makefile,v 1.1 2002/08/14 02:45:10 ishii Exp
$##-------------------------------------------------------------------------
+subdir = src/backend/utils/mb/conversion_procs/ascii_and_mictop_builddir = ../../../../../..include
$(top_builddir)/src/Makefile.global
NAME        := ascii_and_mic

-include ../proc.mk
+include $(srcdir)/../proc.mk
diff -ru cvs-pgsql/src/backend/utils/mb/conversion_procs/proc.mk pgsql/src/backend/utils/mb/conversion_procs/proc.mk
--- cvs-pgsql/src/backend/utils/mb/conversion_procs/proc.mk    Sat Aug 10 00:53:26 2002
+++ pgsql/src/backend/utils/mb/conversion_procs/proc.mk    Wed Aug 21 21:12:29 2002
@@ -16,6 +16,6 @@clean distclean maintainer-clean: clean-lib    $(RM) $(OBJS)

-include $(top_builddir)/src/Makefile.shlib
+include $(top_srcdir)/src/Makefile.shlib
all: $(shlib)
===end

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Trouble debugging contrib/fulltextindex
Next
From: Peter Eisentraut
Date:
Subject: Re: CREATE CAST WITHOUT FUNCTION should require superuserness?