From ripley@stats.ox.ac.uk  Sat Jun 15 11:13:51 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Sat, 15 Jun 2002 12:13:51 +0200 (MET DST)
Subject: Late Make Problem with Readline (PR#1673)
Message-ID: <200206151013.MAA06104@pubhealth.ku.dk>

1) Was readline compiled under those same flags?  Was it compiled
under 64-bit mode at all?  (The manual does warn about that.)

2) You should be able to get ctest built by

(cd src/library/ctest; make)

but that should have happened anyway.

3) The actual error seems to be in interpreting the methods code.
That has nothing to do with readline (it is run in batch mode) so
there must be another difference.  It all points to problems with your
readline library.

Are you sure that there are not earlier error messages you have
overlooked/ignored?

On Sat, 15 Jun 2002 jerfox@stanford.edu wrote:

> Full_Name: Jeremy Fox
> Version: 1.5.0
> OS: Solaris 8, 64 bit
> Submission from: (NULL) (171.64.232.63)
>
>
>
> I am compiling R under Solaris and the compilation stops at this point. The
> problem only happens when I link in readline. The R binary is actually compiled
> and readlne works.
> The main problem with the compiled  binary (other than that all the supporting
> files were not
> correctly installed) is that it prints out the error
>
> Warning message:
> There is no package called `ctest' in: library(package, char = TRUE, logical =
> TRUE, warn.conflicts = warn.conflicts,
>
> the first time I try to do something. It generally prints out only once, but may
> be the
> cause of the problem with the break in the make process I am worried about.
>
> I am using 64 bit Solaris, with the 64 bit with Sun Forte flags as advocated in
> Appendix
> B. 7.2 of the Installation Guide. I compiled readline with the same flags. For
> definiteness, they are
>
> CC="cc -xarch=v9"
> CFLAGS="-xO5 -xlibmil -dalign"
> F77="f95 -xarch=v9"
> FFLAGS="-xO5 -xlibmil -dalign"
> CXX=CC
> CXXFLAGS="-xO5 -xlibmil -dalign -xarch=v9"
>
> Without readline, the make command exectutes fine.  Here is the actual bug
>
> mkdir -p -- ../../../../library/methods/libs
> make[5]: Leaving directory
> `/afs/ir.stanford.edu/users/w/o/wolak/jerfox/RProj/R-1.5.0/src/library/methods/src'
> make[4]: Leaving directory
> `/afs/ir.stanford.edu/users/w/o/wolak/jerfox/RProj/R-1.5.0/src/library/methods/src'
> make[4]: Entering directory
> `/afs/ir.stanford.edu/users/w/o/wolak/jerfox/RProj/R-1.5.0/src/library/methods'
> dumping R code in package 'methods'
> Warning message:
> There is no package called `ctest' in: library(package, char = TRUE, logical =
> TRUE, warn.conflicts = warn.conflicts,
> Error in file == "" : comparison (1) is possible only for atomic types
> Execution halted
> make[4]: *** [../../../library/methods/R/all.rda] Error 1
>
>
> The file all.rda is not created. This may be because of this unimportant error
> message
> about ctest that somehow involves the readline package. I am using Readline
> 4.2a.


-- 
Brian D. Ripley,                  ripley@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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Late Make Problem with Readline (PR#1673)
ripley@stats.ox.ac.uk