On Thu, 13 Apr 2006, Paul Gilbert wrote:
> I am having the xmkmf problem below with todays beta, but I also am
> trying to use an new (PGI 6.1), so lots of other things in my setup may
> be wrong, and the warning may also be important. Any hints would be
> appreciated.
My guess is that this is from
cc=`${srcdir}/tools/GETMAKEVAL CC`
cc=`echo ${cc} | sed "s/ .*//"`
if test "`which ${cc}`" = "`which ${CC}`"; then
shlib_ldflags=`${srcdir}/tools/GETMAKEVAL SHLIBLDFLAGS`
cpicflags=`${srcdir}/tools/GETMAKEVAL PICFLAGS`
fi
cxx=`${srcdir}/tools/GETMAKEVAL CXX`
cxx=`echo ${cxx} | sed "s/ .*//"`
if test "`which ${cxx}`" = "`which ${CXX}`"; then
cxxpicflags=`${srcdir}/tools/GETMAKEVAL CXXPICFLAGS`
fi
in configure and so either your compilers are not set correctly or your
OS's X11 does not find the compilers used to compile it.
I'd start by inserting debugging code in configure at that point to find
out what ${cc} and ${CC} are, with the expectation that one is empty.
>
> Paul
> _____
>
> Red Hat Enterprise Linux AS release 3 (Taroon Update 7)
> ....
> checking whether C runtime needs -D__NO_MATH_INLINES... no
> checking for xmkmf... /usr/X11R6/bin/xmkmf
> Usage: which [options] [--] programname [...]
> Options: --version, -[vV] Print version and exit successfully.
> --help, Print this help and exit successfully.
> --skip-dot Skip directories in PATH that start with a dot.
> --skip-tilde Skip directories in PATH that start with a tilde.
> --show-dot Don't expand a dot to current directory in
output.
> --show-tilde Output a tilde for HOME directory for non-root.
> --tty-only Stop processing options on the right if not on
> tty.
> --all, -a Print all matches in PATH, not just the first
> --read-alias, -i Read list of aliases from stdin.
> --skip-alias Ignore option --read-alias; don't read stdin.
> --read-functions Read shell functions from stdin.
> --skip-functions Ignore option --read-functions; don't read
stdin.
> Usage: which [options] [--] programname [...]
> Options: --version, -[vV] Print version and exit successfully.
> --help, Print this help and exit successfully.
> --skip-dot Skip directories in PATH that start with a dot.
> --skip-tilde Skip directories in PATH that start with a tilde.
> --show-dot Don't expand a dot to current directory in
output.
> --show-tilde Output a tilde for HOME directory for non-root.
> --tty-only Stop processing options on the right if not on
> tty.
> --all, -a Print all matches in PATH, not just the first
> --read-alias, -i Read list of aliases from stdin.
> --skip-alias Ignore option --read-alias; don't read stdin.
> --read-functions Read shell functions from stdin.
> --skip-functions Ignore option --read-functions; don't read
stdin.
> configure: WARNING: I could not determine SHLIB_LDFLAGS.
> configure: error: See the file doc/html/R-admin.html for more information.
> ~/toolchain/R/mfa04559/R-beta:
>
===================================================================================>
> La version fran?aise suit le texte anglais.
>
>
------------------------------------------------------------------------------------
>
> This email may contain privileged and/or confidential inform...{{dropped}}
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595