From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | mhh(at)mindspring(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: 7.1 Build fails with Bash and CDPATH |
Date: | 2001-04-24 14:34:51 |
Message-ID: | 200104241434.f3OEYps11995@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
I think we just patched this yesterday in CVS.
> Mark Hollomon (mhh(at)mindspring(dot)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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | pgsql-bugs | 2001-04-24 14:36:19 | build of PL/Perl cannot find include files. |
Previous Message | pgsql-bugs | 2001-04-24 14:28:48 | pg_regress hangs on parallel test |