From pgilbert at bank-banque-canada.ca  Thu Apr 13 20:57:43 2006
From: pgilbert at bank-banque-canada.ca (Paul Gilbert)
Date: Thu, 13 Apr 2006 14:57:43 -0400
Subject: [Rd] xmkmf?  problem
In-Reply-To: <Pine.LNX.4.64.0604131801300.28609@gannet.stats.ox.ac.uk>
References: <443E7CE0.9020100@bank-banque-canada.ca>
	<Pine.LNX.4.64.0604131801300.28609@gannet.stats.ox.ac.uk>
Message-ID: <443E9F27.30302@bank-banque-canada.ca>


Brian

Yes cc is empty. Perhaps I should have mentioned that I have set 
CC=pgcc, to find the new compiler. Should I be setting cc too? Is there 
a problem if the compiler used for X11 was different?

Thanks,
Paul

Prof Brian Ripley wrote:
> 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
>>
>>
> 
====================================================================================

La version fran?aise suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential inform...{{dropped}}



[Rd] xmkmf? problem
Paul Gilbert