X-BeenThere: r-help at stat.math.ethz.ch X-Mailman-Version: 2.1.5 Precedence: list Reply-To: korponai.janos at nyuduvizig.hu List-Id: "Main R Mailing List: Primary help" <r-help.stat.math.ethz.ch> List-Unsubscribe: <https://www.stat.math.ethz.ch/mailman/listinfo/r-help>, <mailto:r-help-request at stat.math.ethz.ch?subject=unsubscribe> List-Archive: <https://www.stat.math.ethz.ch/pipermail/r-help> List-Post: <mailto:r-help at stat.math.ethz.ch> List-Help: <mailto:r-help-request at stat.math.ethz.ch?subject=help> List-Subscribe: <https://www.stat.math.ethz.ch/mailman/listinfo/r-help>, <mailto:r-help-request at stat.math.ethz.ch?subject=subscribe> X-List-Received-Date: Wed, 04 Aug 2004 19:33:56 -0000 Dear All, I could not install rgl package. What is missing? daphnia:~# R CMDR INSTALL rgl_0.64-13.tar.gz * Installing *source* package 'rgl' ... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for libpng-config... yes configure: creating ./config.status config.status: creating src/Makevars ** libs g++ -I/usr/lib/R/include -I/usr/X11R6/include -DHAVE_PNG_H -mieee-fp -Wall -pedantic -fno-exceptions -fno-rtti -fPIC -g -O2 -c x11lib.cpp -o x11lib.o In file included from glgui.h:9, from gui.h:10, from x11gui.h:10, from x11lib.cpp:13: opengl.h:19:19: GL/gl.h: No such file or directory opengl.h:20:20: GL/glu.h: No such file or directory In file included from gui.h:10, from x11gui.h:10, from x11lib.cpp:13: glgui.h:27: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h:28: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h:29: error: 'GLuint' is used as a type, but is not defined as a type. glgui.h: In member function `void GLBitmapFont::enable()': glgui.h:22: error: `listBase' undeclared (first use this function) glgui.h:22: error: (Each undeclared identifier is reported only once for each function it appears in.) glgui.h:22: error: `glListBase' undeclared (first use this function) In file included from x11lib.cpp:13: x11gui.h:13:20: GL/glx.h: No such file or directory In file included from x11lib.cpp:13: x11gui.h: At global scope: x11gui.h:45: error: syntax error before `*' token x11gui.h:52: error: 'GLXContext' is used as a type, but is not defined as a type. make: *** [x11lib.o] Error 1 ERROR: compilation failed for package 'rgl' ** Removing '/usr/local/lib/R/site-library/rgl' daphnia:~# version _ platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 1 minor 9.0 year 2004 month 04 day 12 language R -- Dr. Janos Korponai West-Transdanubian District Environmental and Water Authority, Dept. Kis-Balaton H-8360 Keszthely, Csik F. str. 1, Hungary e-mail: korponai.janos at nyuduvizig.hu
OpenGL or MESA librares. Korponai J??nos <korponai at georgikon.hu> writes:> X-BeenThere: r-help at stat.math.ethz.ch > X-Mailman-Version: 2.1.5 > Precedence: list > Reply-To: korponai.janos at nyuduvizig.hu > List-Id: "Main R Mailing List: Primary help" <r-help.stat.math.ethz.ch> > List-Unsubscribe: <https://www.stat.math.ethz.ch/mailman/listinfo/r-help>, > <mailto:r-help-request at stat.math.ethz.ch?subject=unsubscribe> > List-Archive: <https://www.stat.math.ethz.ch/pipermail/r-help> > List-Post: <mailto:r-help at stat.math.ethz.ch> > List-Help: <mailto:r-help-request at stat.math.ethz.ch?subject=help> > List-Subscribe: <https://www.stat.math.ethz.ch/mailman/listinfo/r-help>, > <mailto:r-help-request at stat.math.ethz.ch?subject=subscribe> > Sender: r-help-bounces at stat.math.ethz.ch > Errors-To: r-help-bounces at stat.math.ethz.ch > > Dear All, > > I could not install rgl package. What is missing? > > daphnia:~# R CMDR INSTALL rgl_0.64-13.tar.gz > * Installing *source* package 'rgl' ... > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking how to run the C preprocessor... gcc -E > checking for X... libraries /usr/X11R6/lib, > headers /usr/X11R6/include > > checking for libpng-config... yes > configure: creating ./config.status > config.status: creating src/Makevars > ** libs > g++ -I/usr/lib/R/include -I/usr/X11R6/include -DHAVE_PNG_H > -mieee-fp -Wall -pedantic -fno-exceptions -fno-rtti -fPIC -g > -O2 -c x11lib.cpp -o x11lib.o > In file included from glgui.h:9, > from gui.h:10, > from x11gui.h:10, > from x11lib.cpp:13: > opengl.h:19:19: GL/gl.h: No such file or directory > opengl.h:20:20: GL/glu.h: No such file or directory > In file included from gui.h:10, > from x11gui.h:10, > from x11lib.cpp:13: > glgui.h:27: error: 'GLuint' is used as a type, but is not defined > as a type. > glgui.h:28: error: 'GLuint' is used as a type, but is not defined > as a type. > glgui.h:29: error: 'GLuint' is used as a type, but is not defined > as a type. > glgui.h: In member function `void GLBitmapFont::enable()': > glgui.h:22: error: `listBase' undeclared (first use this > function) > glgui.h:22: error: (Each undeclared identifier is reported only > once for each > function it appears in.) > glgui.h:22: error: `glListBase' undeclared (first use this > function) > In file included from x11lib.cpp:13: > x11gui.h:13:20: GL/glx.h: No such file or directory > In file included from x11lib.cpp:13: > x11gui.h: At global scope: > x11gui.h:45: error: syntax error before `*' token > x11gui.h:52: error: 'GLXContext' is used as a type, but is not > defined as a > type. > make: *** [x11lib.o] Error 1 > ERROR: compilation failed for package 'rgl' > ** Removing '/usr/local/lib/R/site-library/rgl' > daphnia:~# version > _ > platform i386-pc-linux-gnu > arch i386 > os linux-gnu > system i386, linux-gnu > status > major 1 > minor 9.0 > year 2004 > month 04 > day 12 > language R > > -- > Dr. Janos Korponai > West-Transdanubian District Environmental and Water Authority, > Dept. Kis-Balaton > H-8360 Keszthely, Csik F. str. 1, Hungary > e-mail: korponai.janos at nyuduvizig.hu > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Anthony Rossini Research Associate Professor rossini at u.washington.edu http://www.analytics.washington.edu/ Biomedical and Health Informatics University of Washington Biostatistics, SCHARP/HVTN Fred Hutchinson Cancer Research Center UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable FHCRC (M/W): 206-667-7025 FAX=206-667-4812 | use Email CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}
On Wed, Aug 04, 2004 at 09:35:32PM +0200, Korponai J?nos wrote:> I could not install rgl package. What is missing?[...]> config.status: creating src/Makevars > ** libs > g++ -I/usr/lib/R/include -I/usr/X11R6/include -DHAVE_PNG_H > -mieee-fp -Wall -pedantic -fno-exceptions -fno-rtti -fPIC -g > -O2 -c x11lib.cpp -o x11lib.o > In file included from glgui.h:9, > from gui.h:10, > from x11gui.h:10, > from x11lib.cpp:13: > opengl.h:19:19: GL/gl.h: No such file or directory > opengl.h:20:20: GL/glu.h: No such file or directoryThese files are mssing. You need the headers for GL, probably from a -dev package for your Linux distribution. I use xlibmesa-gl-dev and xlibmesa-glu-dev under Debian; other distros probably use similar but different names. The important part is the -dev, otherwise you have libraries (to run binaries) but no headers (to compile against). Debian users can get a binary RGl package via $ apt-get install r-cran-rgl Hope this helps, Dirk -- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx
On Wed, 4 Aug 2004, Korponai [iso-8859-2] J??nos wrote:> I could not install rgl package. What is missing?OpenGL, or at least its header files. For Fedora Core 2, the GL headers seems to be in xorg-x11-devel-6.7.0-5, for RH8.0 XFree86-devel-4.2.1-21. In both cases, the same place as the X11 headers, which may be why the configure script does not check for them (but it should).> daphnia:~# R CMDR INSTALL rgl_0.64-13.tar.gz > * Installing *source* package 'rgl' ... > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking how to run the C preprocessor... gcc -E > checking for X... libraries /usr/X11R6/lib, > headers /usr/X11R6/include > > checking for libpng-config... yes > configure: creating ./config.status > config.status: creating src/Makevars > ** libs > g++ -I/usr/lib/R/include -I/usr/X11R6/include -DHAVE_PNG_H > -mieee-fp -Wall -pedantic -fno-exceptions -fno-rtti -fPIC -g > -O2 -c x11lib.cpp -o x11lib.o > In file included from glgui.h:9, > from gui.h:10, > from x11gui.h:10, > from x11lib.cpp:13: > opengl.h:19:19: GL/gl.h: No such file or directory > opengl.h:20:20: GL/glu.h: No such file or directory... -- 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
Korponai J??nos <korponai at georgikon.hu> writes:> X-BeenThere: r-help at stat.math.ethz.ch > X-Mailman-Version: 2.1.5...> Sender: r-help-bounces at stat.math.ethz.ch > Errors-To: r-help-bounces at stat.math.ethz.ch[What happened with the mail headers? Confused my mail filtering.]> I could not install rgl package. What is missing? > > daphnia:~# R CMDR INSTALL rgl_0.64-13.tar.gz^ Here's an R too many, but the things that you're missing are include files for GL code:> opengl.h:19:19: GL/gl.h: No such file or directory > opengl.h:20:20: GL/glu.h: No such file or directory > x11gui.h:13:20: GL/glx.h: No such file or directoryYou don't actually say what your platform is and the version info is insufficient to distinguish between SuSE and RedHat for instance. What you need to do exactly depends on distribution. In RedHat you seem to need to install XFree86-devel whereas SuSE wants XFree86-Mesa-devel. You probably also need the actual libraries: XFree86-Mesa-libGL and XFree86-Mesa-libGLU (RH), respectively XFree86-Mesa (SuSE). -- 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