7.1 Build fails with Bash and CDPATH
От | pgsql-bugs@postgresql.org |
---|---|
Тема | 7.1 Build fails with Bash and CDPATH |
Дата | |
Msg-id | 200104241331.f3ODVoP76222@hub.org обсуждение исходный текст |
Ответы |
Re: 7.1 Build fails with Bash and CDPATH
|
Список | pgsql-bugs |
Mark Hollomon (mhh@mindspring.com) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description 7.1 Build fails with Bash and CDPATH Long Description If using Bash with CDPATH set, the build of 7.1 fails with the following messages: gmake[2]: Entering directory `/home/mhh/src/postgresql-7.1/src/backend' prereqdir=`cd parser/ && pwd` && \ cd ../../src/include/parser/ && rm -f parse.h && \ ln -s $prereqdir/parse.h . ln: .//parser exists gmake[2]: *** [../../src/include/parser/parse.h] Error 1 gmake[2]: *** Deleting file `../../src/include/parser/parse.h' gmake[2]: Leaving directory `/home/mhh/src/postgresql-7.1/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/home/mhh/src/postgresql-7.1/src' gmake: *** [all] Error 2 I believe the following patch to backend/Makefile solves the problem: *** Makefile.orig Tue Apr 24 09:27:44 2001 --- Makefile Tue Apr 24 09:29:47 2001 *************** *** 97,103 **** # up to date when we update the base file. $(top_builddir)/src/include/parser/parse.h: $(srcdir)/parser/parse.h ! prereqdir=`cd $(dir $<) && pwd` && \ cd $(dir $@) && rm -f $(notdir $@) && \ $(LN_S) $$prereqdir/$(notdir $<) . --- 97,103 ---- # up to date when we update the base file. $(top_builddir)/src/include/parser/parse.h: $(srcdir)/parser/parse.h ! prereqdir=`cd $(dir $<) > /dev/null && pwd` && \ cd $(dir $@) && rm -f $(notdir $@) && \ $(LN_S) $$prereqdir/$(notdir $<) . Sample Code No file was uploaded with this report
В списке pgsql-bugs по дате отправления: