Skip to content

problems when installing R in Fedora core 4

6 messages · Peter Yang, Roger D. Peng, Jonathan Baron +3 more

#
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:

  
    
#
On 08/18/05 09:31, Peter Yang wrote:
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
#
On Thu, 2005-08-18 at 09:31 -0400, Peter Yang wrote:
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
#
On Thu, 18 Aug 2005, Jonathan Baron wrote:
...
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.
2 days later
#
Peter Yang wrote:

            
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.