Please do as the file INSTALL asks and read the R-admin.html file.
It says
Remember that some package management systems (such as RPM and deb) make a
distinction between the user version of a package and the development
version. The latter usually has the same name but with the extension
`-devel' or `-dev': you need both versions installed.
Unless you do not want to view graphs on-screen you need `X11' installed,
including its headers and client libraries. (On Fedora Core Linux this
means the `xorg-x11-devel' and `xorg-x11-libs' RPMs, for example. Older
Linuxen used `XFree86-'. Some Debian derivatives apparently also require
`libxt-dev'.) If you really do not want these you will need to explicitly
configure R without X11, using --with-x=no.
On Tue, 14 Nov 2006, thomas phillipson wrote:
> Can someone who uses SuSe Linux (I currently use 9.3) please tell me what I
> need toto to avoid the
> message
>
> configure: error: --with-x=yes (default) and X11 headers/libs are not
> available
>
> without setting --with-x=no
>
> currently my /usr/lib/X11 directory looks like this
>
> ls /usr/lib/X11
> app-defaults fvwm2 nls twm XErrorDB Xmodmap
> Cards getconfig Options wmmount xinit Xmodmap.remote
> etc icons proxymngr x11perfcomp xkb Xresources
> fonts lbxproxy rgb.txt xdm XKeysymDB xserver
> fs locale rstart xedit xman.help xsm
>
>
> thanks
> tom
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>
--
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