Re: [R] configure error: --with-readline

2006-11-07 Thread Peter Dalgaard
Anthony Liu [EMAIL PROTECTED] writes:

 Thanks.
 
 I do have readline.so.  I just did not paste that part.  Look.
 
 [EMAIL PROTECTED] myuserid]$ slocate readline.so
 /home/scratch/myuserid/usr/local/lib/python2.4/lib-dynload/readline.so
 /home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4
 /home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4.1
 /home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4.2
 /home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4.3
 /usr/lib/python2.3/lib-dynload/readline.so
 /lib/libreadline.so.4
 /lib/libreadline.so.4.1
 /lib/libreadline.so.4.2
 /lib/libreadline.so.4.3

No, you don't. Look.

[EMAIL PROTECTED] ~]$ locate readline.so
/usr/lib/libreadline.so
/usr/lib/libreadline.so.5
/usr/lib/libreadline.so.5.1
/usr/lib/python2.4/lib-dynload/readline.so

(R's build process is not looking in python's library directory.
Forcing it to do so is not the solution.) Besides, you likely do not
have the header files in /usr/include/readline (or so).

You need to install the readline-devel RPM as Brian told you.

 
 So, I did
 
 export 
 LD_LIBRARY_PATH=/home/scratch/myuserid/usr/local/lib/python2.4/lib-dynload/readline.so
 
 It still does not work.
 
 Didn't you suggest that we do CFLAGS at the following forum?
 
 http://tolstoy.newcastle.edu.au/R/devel/06/02/4026.html
 
 Thanks.
 
 
 
 Prof Brian Ripley [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006, Anthony Liu 
 wrote:
 
  I am trying to install R2.4 in a non-standard folder on a mandrake 10 
  system.
 
  I did this:
 
  ./configure --prefix=/the/dir/where/I/want/r/to/go
 
  and I got the following error:
 
  configure: error: --with-readline=yes (default) and headers/libs are not 
  available
 
  I know that I can do
 
  --with-readline=no
 
  But, I do want this readline feature.  I have a whole bunch of readline 
  libraries:
 
  /lib/libreadline.so.4
  /lib/libreadline.so.4.1
  /lib/libreadline.so.4.2
  /lib/libreadline.so.4.3
 
 But apparently not readline.so, which is what it is looking for.  You are 
 missing the readline-devel (or some such name) RPM: see the R-admin manual 
 for further details.
 
 [...]


-- 
   O__   Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] configure error: --with-readline

2006-11-06 Thread Anthony Liu
Thanks.

I do have readline.so.  I just did not paste that part.  Look.

[EMAIL PROTECTED] myuserid]$ slocate readline.so
/home/scratch/myuserid/usr/local/lib/python2.4/lib-dynload/readline.so
/home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4
/home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4.1
/home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4.2
/home/scratch/myuserid/usr/local/lib/python2.4/libreadline.so.4.3
/usr/lib/python2.3/lib-dynload/readline.so
/lib/libreadline.so.4
/lib/libreadline.so.4.1
/lib/libreadline.so.4.2
/lib/libreadline.so.4.3

So, I did

export 
LD_LIBRARY_PATH=/home/scratch/myuserid/usr/local/lib/python2.4/lib-dynload/readline.so

It still does not work.

Didn't you suggest that we do CFLAGS at the following forum?

http://tolstoy.newcastle.edu.au/R/devel/06/02/4026.html

Thanks.



Prof Brian Ripley [EMAIL PROTECTED] wrote: On Sun, 5 Nov 2006, Anthony Liu 
wrote:

 I am trying to install R2.4 in a non-standard folder on a mandrake 10 system.

 I did this:

 ./configure --prefix=/the/dir/where/I/want/r/to/go

 and I got the following error:

 configure: error: --with-readline=yes (default) and headers/libs are not 
 available

 I know that I can do

 --with-readline=no

 But, I do want this readline feature.  I have a whole bunch of readline 
 libraries:

 /lib/libreadline.so.4
 /lib/libreadline.so.4.1
 /lib/libreadline.so.4.2
 /lib/libreadline.so.4.3

But apparently not readline.so, which is what it is looking for.  You are 
missing the readline-devel (or some such name) RPM: see the R-admin manual 
for further details.

[...]

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595


 
-

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] configure error: --with-readline

2006-11-05 Thread Anthony Liu
I am trying to install R2.4 in a non-standard folder on a mandrake 10 system.

I did this:

./configure --prefix=/the/dir/where/I/want/r/to/go

and I got the following error:

configure: error: --with-readline=yes (default) and headers/libs are not 
available

I know that I can do 

--with-readline=no

But, I do want this readline feature.  I have a whole bunch of readline 
libraries:

/lib/libreadline.so.4
/lib/libreadline.so.4.1
/lib/libreadline.so.4.2
/lib/libreadline.so.4.3

So, I did this:

export LD_LIBRARY_PATH=/lib/libreadline.so.4.3

or 

export LD_LIBRARY_PATH=/lib/libreadline.so.4.3/

or

export LD_LIBRARY_PATH=/lib/

or 

export LD_LIBRARY_PATH=/lib

The problem remains.

I even have readline5.2 installed for this purpose, but it does not help.

Not sure how to resolve this problem.

Any idea?

Thanks.






 
-

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] configure error: --with-readline

2006-11-05 Thread Prof Brian Ripley
On Sun, 5 Nov 2006, Anthony Liu wrote:

 I am trying to install R2.4 in a non-standard folder on a mandrake 10 system.

 I did this:

 ./configure --prefix=/the/dir/where/I/want/r/to/go

 and I got the following error:

 configure: error: --with-readline=yes (default) and headers/libs are not 
 available

 I know that I can do

 --with-readline=no

 But, I do want this readline feature.  I have a whole bunch of readline 
 libraries:

 /lib/libreadline.so.4
 /lib/libreadline.so.4.1
 /lib/libreadline.so.4.2
 /lib/libreadline.so.4.3

But apparently not readline.so, which is what it is looking for.  You are 
missing the readline-devel (or some such name) RPM: see the R-admin manual 
for further details.

[...]

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.