pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Make fails if env var U set
2+ messages / 2 participants
[nested] [flat]

* Make fails if env var U set
@ 2011-04-13 14:26  Tim Wallace <twallace@ll.mit.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Tim Wallace @ 2011-04-13 14:26 UTC (permalink / raw)
  To: pgsql-bugs

Version: 9.0.3

after successful configure, make fails if you have the env var "U" set. 
  It fails almost immediately in the src/port directory with a 
nonsensical error message involving the contents of the "U" var.  Unset 
U and everything built fine.

--Tim Wallace



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Make fails if env var U set
@ 2011-04-13 17:20  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Tim Wallace <twallace@ll.mit.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-04-13 17:20 UTC (permalink / raw)
  To: Tim Wallace <twallace@ll.mit.edu>; +Cc: pgsql-bugs

Tim Wallace <twallace@ll.mit.edu> writes:
> Version: 9.0.3
> after successful configure, make fails if you have the env var "U" set. 
>   It fails almost immediately in the src/port directory with a 
> nonsensical error message involving the contents of the "U" var.  Unset 
> U and everything built fine.

So far as I can find, there is no reference to a symbol "U" in any of our
makefiles.  However, there is this bit in the configure script:

ac_libobjs=
ac_ltlibobjs=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  # 1. Remove the extension, and $U if already installed.
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs

I have no idea what that's trying to do, but maybe it gets confused
if U has an existing definition.  Suggest you file a bug against
autoconf.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-04-13 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13 14:26 Make fails if env var U set Tim Wallace <twallace@ll.mit.edu>
2011-04-13 17:20 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox