Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 00:59:00 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Whence CC="LD_LIBRARY_PATH=/usr/X11R6/lib cc"?
Message-ID:  <bcr1sk$1dpn$1@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help
games/xbl fails to build on _some_ 4.x-STABLE machines (e.g. on
bento, but not on ref4) for a rather curious reason.  xbl uses a
quite idiosyncratic configure script that does something like this

cat <<EOF >Imakefile
all:
	@echo CC=\"$(CC)\"
EOF
xmkmf
eval `make all`

to get various values from imake.  One of these values is CC, and
on the affected machines CC is set to "LD_LIBRARY_PATH=/usr/X11R6/lib cc",
which causes subsequent problems.

I wonder where this prefixed LD_LIBRARY_PATH comes from and why it
appears only on some machines.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bcr1sk$1dpn$1>