Hi, I got a problem when installing R in Fedora core 4. When I ran .configure, it gave the following error message: configure: error: --with-x=yes (default) and X11 headers/libs are not available Could anyone tell me what's wrong? Am I missing some package in Fedora? Thanks a lot for your help. Peter
problems when installing R in Fedora core 4
6 messages · Peter Yang, Roger D. Peng, Jonathan Baron +3 more
You are probably missing the 'devel' package for x11 which includes header files. -roger
Peter Yang wrote:
Hi, I got a problem when installing R in Fedora core 4. When I ran .configure, it gave the following error message: configure: error: --with-x=yes (default) and X11 headers/libs are not available Could anyone tell me what's wrong? Am I missing some package in Fedora? Thanks a lot for your help. Peter
______________________________________________ R-help at 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
Roger D. Peng http://www.biostat.jhsph.edu/~rpeng/
On 08/18/05 09:31, Peter Yang wrote:
Hi, I got a problem when installing R in Fedora core 4. When I ran .configure, it gave the following error message: configure: error: --with-x=yes (default) and X11 headers/libs are not available Could anyone tell me what's wrong? Am I missing some package in Fedora?
Yes, probably xorg-x11-devel, so do yum install xorg-x11-devel and you will probably get rid of THAT error message. I'm treading into deeper water in what follows, but installation depends on several other packages as well. I discovered most of these by looking at the error messages and then finding what rpm provided the files needed. I did this either with rpm -q --whatprovides [the missing file] on some other installation that happened to work, or by searching http://rpm.pbone.net. Whether you have the needed files already depends on what kind of installation you did. Some of the packages are "devel" and others are "compat". Here is my list of "compat" rpms that I have installed, and I think I installed all of these just to get R to build: compat-libf2c-32-3.2.3-47.fc4 compat-libstdc++-296-2.96-132.fc4 compat-readline43-4.3-2 compat-gcc-32-3.2.3-47.fc4 My hunch is that I still do not have the optimal installation, but it is possible that the newest versions of gcc have solved some of the problems with the ones that originally came with FC4. I've seen some discussion suggesting that the way to go is to use an older version of gcc, but I did not search for it just now. Jon
Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron
On Thu, 2005-08-18 at 09:31 -0400, Peter Yang wrote:
Hi, I got a problem when installing R in Fedora core 4. When I ran .configure, it gave the following error message: configure: error: --with-x=yes (default) and X11 headers/libs are not available Could anyone tell me what's wrong? Am I missing some package in Fedora? Thanks a lot for your help. Peter
Yes, the development headers for X11. If you use YUM, do the following in a shell: su -c "yum install xorg-x11-devel" Enter your root password and it will download and install the relevant headers. As an aside, are you aware of Martyn Plummer's R rpm binary? You can get it from here: http://www.stats.bris.ac.uk/R/bin/linux/redhat/fc4/ HTH Gav
______________________________________________ R-help at 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
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [T] +44 (0)20 7679 5522 ENSIS Research Fellow [F] +44 (0)20 7679 7565 ENSIS Ltd. & ECRC [E] gavin.simpsonATNOSPAMucl.ac.uk UCL Department of Geography [W] http://www.ucl.ac.uk/~ucfagls/cv/ 26 Bedford Way [W] http://www.ucl.ac.uk/~ucfagls/ London. WC1H 0AP. %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
On Thu, 18 Aug 2005, Jonathan Baron wrote:
...
Whether you have the needed files already depends on what kind of installation you did. Some of the packages are "devel" and others are "compat". Here is my list of "compat" rpms that I have installed, and I think I installed all of these just to get R to build: compat-libf2c-32-3.2.3-47.fc4 compat-libstdc++-296-2.96-132.fc4 compat-readline43-4.3-2 compat-gcc-32-3.2.3-47.fc4 My hunch is that I still do not have the optimal installation, but it is possible that the newest versions of gcc have solved some of the problems with the ones that originally came with FC4. I've seen some discussion suggesting that the way to go is to use an older version of gcc, but I did not search for it just now.
See https://stat.ethz.ch/pipermail/r-devel/2005-August/034171.html for updates on that advice. It may still be the way to go.
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
2 days later
Peter Yang wrote:
Hi, I got a problem when installing R in Fedora core 4. When I ran .configure, it gave the following error message: configure: error: --with-x=yes (default) and X11 headers/libs are not available Could anyone tell me what's wrong? Am I missing some package in Fedora?
Assuming that you have network access on that computer, installing R should be as easy as: # yum install R This works since R is now in extras. If you have any problems with this please say. I intend to package also some other packages from contrib, they should appear on extras soon.
Thanks a lot for your help. Peter
JosÂé AbÂÃÂÂlio