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
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. > > PeterYes, 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. %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
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