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_mic top_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 [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html