I noticed on the mailing list archives and through Google searches that a couple of months ago there was discussion of maintaining rpms for suse 9.1 on the x86_64 architecture. Are these rpms still planning on being released? It would help me a great deal. I've tried compiling from source using the R-base spec files provided on CRAN. Using that, I am able to produce a running version of R, but readline doesn't seem to be working, nor does x11(). Moreover, I'm not sure that the compiled version is actually running in 64-bit mode. I've double-checked all the required libraries, and I seem to have them all to the correct version number (including readline and xfree). The 32-bit rpms run on a 32-bit install of suse 9.1 on a different machine, but not on the 64-bit install of suse 9.1 on a x86_64 machine. I suspect some of my problems have to do with libraries being in different places in the 64-bit version of suse 9.1. I could spend more time trying to compile it on my machine--and probably will, but I thought I would ask about any possible official distribution of rpms for suse 9.1 x86_64 first. Thanks.
On Sat, 2005-01-08 at 12:28 -0600, Kristian Eric Markon wrote:> I noticed on the mailing list archives and through Google searches that > a couple of months ago there was discussion of maintaining rpms for suse > 9.1 on the x86_64 architecture. > > Are these rpms still planning on being released? It would help me a > great deal. > > I've tried compiling from source using the R-base spec files provided on > CRAN.You do not need the spec files if you are compiling from source, only if you want to build an RPM. In the latter case, from a search of the archives, there are comments regarding some fine tuning of the default spec files needed for 64-bit.> Using that, I am able to produce a running version of R, but > readline doesn't seem to be working, nor does x11(). Moreover, I'm not > sure that the compiled version is actually running in 64-bit mode. I've > double-checked all the required libraries, and I seem to have them all > to the correct version number (including readline and xfree).More than likely, depending upon what you have actually done with respect to compiling, you are missing the 'devel' versions of readline and XFree86. You might want to check to see if you have readline-devel and XFree86- devel installed. These will be required to compile from source: rpm -q readline-devel rpm -q XFree86-devel If nothing is returned from the above in a console, you need to install them.> The 32-bit rpms run on a 32-bit install of suse 9.1 on a different > machine, but not on the 64-bit install of suse 9.1 on a x86_64 machine. > I suspect some of my problems have to do with libraries being in > different places in the 64-bit version of suse 9.1.Possible, but not likely, as I suspect others running 64 bit SuSE would have reported issues and posts in the archive suggest that the normal ./configure, make, make install sequence works. The key is to make sure that the devel versions of the required libraries are installed and that the full tool chain is 64 bit.> I could spend more time trying to compile it on my machine--and probably > will, but I thought I would ask about any possible official distribution > of rpms for suse 9.1 x86_64 first. > > Thanks.Try the above first. When you run ./configure, pay attention to the output, which should look something like the following: R is now configured for <x86_64 version of linux> Source directory: . Installation directory: /usr/local C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 Fortran compiler: g77 -g -O2 Interfaces supported: X11, tcltk External libraries: readline, BLAS(generic) Additional capabilities: PNG, JPEG Options enabled: R profiling Recommended packages: yes Note the lines labeled "Interfaces supported" and "External libraries" indicating that both X11 and readline are present. If these are missing, it reinforces the lack of the devel packages. BTW, greetings from Eden Prairie... :-) HTH, Marc Schwartz
Kristian Eric Markon <mark0060 at tc.umn.edu> writes:> I noticed on the mailing list archives and through Google searches > that a couple of months ago there was discussion of maintaining rpms > for suse 9.1 on the x86_64 architecture. > > Are these rpms still planning on being released? It would help me a > great deal.Detlef Steuer is the only one to know...> I've tried compiling from source using the R-base spec files provided > on CRAN. Using that, I am able to produce a running version of R, but > readline doesn't seem to be working, nor does x11(). Moreover, I'm not > sure that the compiled version is actually running in 64-bit mode. > I've double-checked all the required libraries, and I seem to have > them all to the correct version number (including readline and xfree).It'll be 64-bit alright unless you take explicit steps to the contrary. If you want to make d*mn sure, calculate the size of an Ncell from the gc() output (56 bytes on 64bit 28 bytes otherwise). Compiling on SuSE 9.1 *does* work, but you seem to be missing a couple of RPMs in your installation. Usual suspects are the ones that end with -devel, such as alsa-devel-1.0.3-36 db1-devel-1.85-78 esound-devel-0.2.33-30 fontconfig-devel-2.2.92.20040221-24 freetype2-devel-2.1.7-46 glibc-devel-2.3.3-63 glib-devel-1.2.10-337 gnome-libs-devel-1.4.1.7-614 gtk-devel-1.2.10-488 ImageMagick-devel-5.5.7-225.9 imlib-devel-1.9.14-180.11 libglade2-devel-2.0.1-437 libglade-devel-0.17-190 libpng-devel-1.2.5-182.10 libstdc++-devel-3.3.3-33 libxml2-devel-2.6.7-28.7 libxml-devel-1.8.17-366.4 mozilla-devel-1.6-53 ncurses-devel-5.4-61.3 orbit-devel-0.5.17-330 pstoedit-devel-3.33-161 readline-devel-4.3-301 tcl-devel-8.4.6-23 tk-devel-8.4.6-28 xforms-devel-1.0-259 XFree86-devel-32bit-9.1-200404070910 XFree86-devel-4.3.99.902-30 XFree86-Mesa-devel-4.3.99.902-30 zlib-devel-1.2.1-70.6 Those are what I have, some are irrelevant, but at least the readline, ncurses, XFree86, and tcl/tk are crucial for compiling a "normal" R, and several of the others are needed for Gnome support, the Mesa stuff for RGL, etc. (Hmm... looks like I'm actually missing the bzip2 headers myself). -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
I just compiled R from source on SLES9-amd64. I had to install the following, which are not installed by default: `devel' part of readline and xfree86 libpng (I also installed Goto's BLAS, which, obviously, has no rpm.) After that, you just need to make sure of adding -m64 (and maybe -march=k8) to CFLAGS/FFLAGS/CXXFLAGS. Then R will compile as 64-bit with all the things you want. I believe an RPM would only help installing R itself. You still need most of those rpm's if you are going to install add-on packages from source (which you almost certainly need to, as pre-built binary packages are available only for Windows/Mac/Debian). Andy> From: Kristian Eric Markon > > I noticed on the mailing list archives and through Google > searches that > a couple of months ago there was discussion of maintaining > rpms for suse > 9.1 on the x86_64 architecture. > > Are these rpms still planning on being released? It would help me a > great deal. > > I've tried compiling from source using the R-base spec files > provided on > CRAN. Using that, I am able to produce a running version of R, but > readline doesn't seem to be working, nor does x11(). > Moreover, I'm not > sure that the compiled version is actually running in 64-bit > mode. I've > double-checked all the required libraries, and I seem to have > them all > to the correct version number (including readline and xfree). > > The 32-bit rpms run on a 32-bit install of suse 9.1 on a different > machine, but not on the 64-bit install of suse 9.1 on a > x86_64 machine. > I suspect some of my problems have to do with libraries being in > different places in the 64-bit version of suse 9.1. > > I could spend more time trying to compile it on my > machine--and probably > will, but I thought I would ask about any possible official > distribution > of rpms for suse 9.1 x86_64 first. > > Thanks. > > ______________________________________________ > 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 > >
> From: Peter Dalgaard > > Kristian Eric Markon <mark0060 at tc.umn.edu> writes:[snip]> Moreover, I'm not > > sure that the compiled version is actually running in 64-bit mode. > > I've double-checked all the required libraries, and I seem to have > > them all to the correct version number (including readline > and xfree). > > It'll be 64-bit alright unless you take explicit steps to the > contrary. > If you want to make d*mn sure, calculate the size of an Ncell from the > gc() output (56 bytes on 64bit 28 bytes otherwise).This might be a bit more straightforward? ~/R-2.0.1> file bin/exec/R bin/exec/R: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped Andy