Dr Mike Waters
2004-Aug-08 19:11 UTC
FW: [R] R packages install problems linux - X not found (WhiteBoxEL 3)
-----Original Message----- From: Dr Mike Waters [mailto:michael.waters at dtn.ntl.com] Sent: 08 August 2004 20:11 To: 'MSchwartz at MedAnalytics.com' Subject: RE: [R] R packages install problems linux - X not found (WhiteBoxEL 3) -----Original Message-----> Correction on the above URL. I pasted the wrong one here. It should be:> https://www.stat.math.ethz.ch/pipermail/r-help/2004-August/053994.html > > Marc >Thanks for the responses guys. I used to have RH9 installed on this machine and I found out about the separate developer packages then. I thought that I had got the relevant XFree devel package installed, but although it showed up in the rpm database as being present, the required files were not present. I did a forced rpm upgrade from the WhiteBox updates directory and that problem is now fixed, at least for car. Marc, thanks for the pointer on the rgl problem. However, I have a slightly different problem with the install of this package. It gets through to the point where it tries to make the rgl.so from the various .o files and fails then, as follows: -------------------------------------------------------------------- g++ -I/usr/lib/R/include -I/usr/X11R6/include -DHAVE_PNG_H -I/usr/include -I/usr/local/include -Wall -pedantic -fno-exceptions -fno-rtti -fPIC -O2 -g -march=i386 -mcpu=i686 -c glgui.cpp -o glgui.o g++ -L/usr/local/lib -o rgl.so x11lib.o x11gui.o types.o math.o fps.o pixmap.o gui.o api.o device.o devicemanager.o rglview.o scene.o glgui.o -L/usr/X11R6/lib -L/usr/lib -lstdc++ -lX11 -lXext -lGL -lGLU -lpng /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0x18): In function `_start': : undefined reference to `main' x11lib.o(.text+0x84): In function `set_R_handler': /tmp/R.INSTALL.13414/rgl/src/x11gui.h:33: undefined reference to `R_InputHandlers' x11lib.o(.text+0x92):/tmp/R.INSTALL.13414/rgl/src/x11gui.h:33: undefined reference to `addInputHandler' x11lib.o(.text+0xfb): In function `unset_R_handler': /tmp/R.INSTALL.13414/rgl/src/x11lib.cpp:52: undefined reference to `R_InputHandlers' x11lib.o(.text+0x103):/tmp/R.INSTALL.13414/rgl/src/x11lib.cpp:52: undefined reference to `removeInputHandler' collect2: ld returned 1 exit status make: *** [rgl.so] Error 1 ERROR: compilation failed for package 'rgl' ** Removing '/usr/lib/R/library/rgl' --------------------------------------------------------------------- No doubt another failed dependency........... DOH! Regards M