From: <Ole...@ga...> - 2003-06-24 03:09:42
|
Hi there =20 I am having problems installing VPython on several debian boxes ('woody' as wells as 'testing'). I have successfully installed: =20 gtkglarea5-dev=20 python2.2-numeric python2.2-dev=20 gtk+ 1.2 xlibmesa3 =20 pkg-config =20 =20 and their dependencies. I even succeeded in installing python-gtkglarea, python-opengl and python-gtk so something must be working. =20 However, when running =20 ./configure=20 =20 from the installation directory I get the following error: =20 --------------------------------------------------------- ... (snip) checking for gthread >=3D 1.0... yes checking GTHREAD_CFLAGS... -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include =20 checking GTHREAD_LIBS... -lgthread -lpthread -lglib =20 checking GL... no checking GL with threads... no checking Mesa... no checking Mesa with pthreads... no configure: error: gtkglarea is required on Unix-like systems -------------------------------------------------------- =20 but I have xlibmesa3=3D4.2.0=3D0prev1v3 and gtkglarea5=3D1.2.3-1 = installed. =20 Can anyone help me out here? =20 Cheers Ole =20 =20 ---------------------------------------------------- Dr. Ole Nielsen | Software Engineer =20 Urban Risk Research Group | E: Ole...@ga... Geoscience Australia | P: +61 2 6249 9048 Canberra, Australia | F: +61 2 6249 9986=20 ---------------------------------------------------- =20 |
From: <Ole...@ga...> - 2003-06-25 05:46:53
|
Hello there and thanks to those who helped me get past=20 the first hurdle encountered when installing VPython under debian Linux. The magic bullet was the installation of xlibmesa-dev (in addition to the other mesa stuff already installed) Then ./configure completed. However, make now complains as shown below. It has to do with g++, But I have g++-2.95 installed and functional. Any further ideas, please? Cheers and thanks Ole Nielsen ------------ Output from make ---- ... (snip) Making all in cvisual make[1]: Entering directory `/root/Install/visual-2.0.3/cvisual' /bin/sh ..//libtool --mode=3Dcompile g++ -c -I./CXX/Include -I. -DHAVE_CONFIG_H -I/usr/include/python2.2 -g -O2 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -o arrow.lo arrow.cpp=20 g++ -c -I./CXX/Include -I. -DHAVE_CONFIG_H -I/usr/include/python2.2 -g -O2 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include arrow.cpp -fPIC -DPIC -o arrow.lo In file included from cvisual.h:4, from display.h:4, from prim.h:4, from axial.h:4, from arrow.cpp:1: platform.h:22: istream: No such file or directory platform.h:23: ostream: No such file or directory In file included from CXX/Include/CXX_Objects.h:20, from pvector.h:5, from cvisual.h:5, from display.h:4, from prim.h:4, from axial.h:4, from arrow.cpp:1: CXX/Include/CXX_Exception.h:13: ostream: No such file or directory CXX/Include/CXX_Exception.h:14: istream: No such file or directory In file included from pvector.h:5, from cvisual.h:5, from display.h:4, from prim.h:4, from axial.h:4, from arrow.cpp:1: CXX/Include/CXX_Objects.h:21: ostream: No such file or directory CXX/Include/CXX_Objects.h:22: istream: No such file or directory make[1]: *** [arrow.lo] Error 1 make[1]: Leaving directory `/root/Install/visual-2.0.3/cvisual' make: *** [all-recursive] Error 1 ---------------------------------------------------------------- ---------------------------------------------------- Dr. Ole Nielsen | Software Engineer =20 Urban Risk Research Group | E: Ole...@ga... Geoscience Australia | P: +61 2 6249 9048 Canberra, Australia | F: +61 2 6249 9986=20 ---------------------------------------------------- =20 -----Original Message----- From: vis...@li... [mailto:vis...@li...]=20 Sent: Wednesday, 25 June 2003 1:43 PM To: vis...@li... Subject: Visualpython-users digest, Vol 1 #427 - 2 msgs Send Visualpython-users mailing list submissions to vis...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/visualpython-users or, via email, send a message with subject or body 'help' to vis...@li... You can reach the person managing the list at vis...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Visualpython-users digest..." Today's Topics: 1. Re: Debian installation: gtkglarea is required on Unix-like systems (Arnd Baecker) --__--__-- Message: 1 Date: Tue, 24 Jun 2003 08:49:15 +0200 (CEST) From: Arnd Baecker <arn...@we...> To: Ole...@ga... cc: vis...@li... Subject: Re: [Visualpython-users] Debian installation: gtkglarea is required on Unix-like systems Hi, I am not sure if I am the right person to say something here - first I had basically no problems installing Vpython on a debian testing box. Let's see - For dpkg -l | grep gtkgl I get ii gtkglarea5 1.2.3-2 Gimp Toolkit OpenGL area widget shared libra ii gtkglarea5-dev 1.2.3-2 Gimp Toolkit OpenGL area widget include file But I would be surprised if the difference in version number is the origin of the problem. Hmm, so a closer look at the configure output on my machine, which reads checking GTHREAD_LIBS... -lgthread -lpthread -lglib checking GL... yes checking GtkGLArea... yes suggests in comparison with your output below, that maybe some GL stuff is missing... (For example I have /usr/lib/libGL.a /usr/lib/libGLU.a ) These are from xlibmesa-dev/xlibmesa-glu-dev and on my machine I have dpkg -l | grep xlibmesa ii xlibmesa-dev 4.2.1-6 XFree86 Mesa development libraries pseudopac ii xlibmesa-gl-de 4.2.1-6 Mesa 3D graphics library development files [ ii xlibmesa-glu-d 4.2.1-6 Mesa OpenGL utility library development file ii xlibmesa3 4.2.1-6 XFree86 Mesa libraries pseudopackage ii xlibmesa3-gl 4.2.1-6 Mesa 3D graphics library [XFree86] ii xlibmesa3-glu 4.2.1-6 Mesa OpenGL utility library [XFree86] So maybe you have to install xlibmesa-gl-dev as well ? ((maybe you don't need the xlibmesa-glu-dev)) (hmm, and what the heck is that xlibmesa*3 stuff good for then ?? ;-) Good, luck, Arnd On Tue, 24 Jun 2003 Ole...@ga... wrote: > Hi there > > I am having problems installing VPython on several debian boxes ('woody' > as wells as 'testing'). > I have successfully installed: > > gtkglarea5-dev > python2.2-numeric > python2.2-dev > gtk+ 1.2 > xlibmesa3 > pkg-config > > and their dependencies. > I even succeeded in installing python-gtkglarea, python-opengl and > python-gtk so something must be working. > > However, when running > > ./configure > > from the installation directory I get the following error: > > --------------------------------------------------------- > ... (snip) > checking for gthread >=3D 1.0... yes > checking GTHREAD_CFLAGS... -D_REENTRANT -I/usr/include/glib-1.2 > -I/usr/lib/glib/include > checking GTHREAD_LIBS... -lgthread -lpthread -lglib > checking GL... no > checking GL with threads... no > checking Mesa... no > checking Mesa with pthreads... no > configure: error: gtkglarea is required on Unix-like systems > -------------------------------------------------------- > > but I have xlibmesa3=3D4.2.0=3D0prev1v3 and gtkglarea5=3D1.2.3-1 = installed. > > Can anyone help me out here? > > Cheers > Ole > > > ---------------------------------------------------- > Dr. Ole Nielsen | Software Engineer > Urban Risk Research Group | E: Ole...@ga... > Geoscience Australia | P: +61 2 6249 9048 > Canberra, Australia | F: +61 2 6249 9986 > ---------------------------------------------------- > > --__--__-- _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users End of Visualpython-users Digest |
From: Jonathan B. <jbr...@ea...> - 2003-06-25 13:40:52
|
On Wed, 2003-06-25 at 01:46, Ole...@ga... wrote: > Hello there and thanks to those who helped me get past > the first hurdle encountered when installing VPython under debian Linux. > > The magic bullet was the installation of > > xlibmesa-dev (in addition to the other mesa stuff already installed) > > Then ./configure completed. > However, make now complains as shown below. It has to do with g++, > But I have g++-2.95 installed and functional. > Any further ideas, please? > > Cheers and thanks > Ole Nielsen For the moment, `apt-get install g++-3.0 gcc-3.0` and re-run configure like this: `CC=gcc-3.0 CXX=g++-3.0 ./configure` It seems that I broke gcc-2.95 support in a new way. It will be returned soon. -Jonathan |
From: Arnd B. <arn...@we...> - 2003-06-24 06:49:26
|
Hi, I am not sure if I am the right person to say something here - first I had basically no problems installing Vpython on a debian testing box. Let's see - For dpkg -l | grep gtkgl I get ii gtkglarea5 1.2.3-2 Gimp Toolkit OpenGL area widget shared libra ii gtkglarea5-dev 1.2.3-2 Gimp Toolkit OpenGL area widget include file But I would be surprised if the difference in version number is the origin of the problem. Hmm, so a closer look at the configure output on my machine, which reads checking GTHREAD_LIBS... -lgthread -lpthread -lglib checking GL... yes checking GtkGLArea... yes suggests in comparison with your output below, that maybe some GL stuff is missing... (For example I have /usr/lib/libGL.a /usr/lib/libGLU.a ) These are from xlibmesa-dev/xlibmesa-glu-dev and on my machine I have dpkg -l | grep xlibmesa ii xlibmesa-dev 4.2.1-6 XFree86 Mesa development libraries pseudopac ii xlibmesa-gl-de 4.2.1-6 Mesa 3D graphics library development files [ ii xlibmesa-glu-d 4.2.1-6 Mesa OpenGL utility library development file ii xlibmesa3 4.2.1-6 XFree86 Mesa libraries pseudopackage ii xlibmesa3-gl 4.2.1-6 Mesa 3D graphics library [XFree86] ii xlibmesa3-glu 4.2.1-6 Mesa OpenGL utility library [XFree86] So maybe you have to install xlibmesa-gl-dev as well ? ((maybe you don't need the xlibmesa-glu-dev)) (hmm, and what the heck is that xlibmesa*3 stuff good for then ?? ;-) Good, luck, Arnd On Tue, 24 Jun 2003 Ole...@ga... wrote: > Hi there > > I am having problems installing VPython on several debian boxes ('woody' > as wells as 'testing'). > I have successfully installed: > > gtkglarea5-dev > python2.2-numeric > python2.2-dev > gtk+ 1.2 > xlibmesa3 > pkg-config > > and their dependencies. > I even succeeded in installing python-gtkglarea, python-opengl and > python-gtk so something must be working. > > However, when running > > ./configure > > from the installation directory I get the following error: > > --------------------------------------------------------- > ... (snip) > checking for gthread >= 1.0... yes > checking GTHREAD_CFLAGS... -D_REENTRANT -I/usr/include/glib-1.2 > -I/usr/lib/glib/include > checking GTHREAD_LIBS... -lgthread -lpthread -lglib > checking GL... no > checking GL with threads... no > checking Mesa... no > checking Mesa with pthreads... no > configure: error: gtkglarea is required on Unix-like systems > -------------------------------------------------------- > > but I have xlibmesa3=4.2.0=0prev1v3 and gtkglarea5=1.2.3-1 installed. > > Can anyone help me out here? > > Cheers > Ole > > > ---------------------------------------------------- > Dr. Ole Nielsen | Software Engineer > Urban Risk Research Group | E: Ole...@ga... > Geoscience Australia | P: +61 2 6249 9048 > Canberra, Australia | F: +61 2 6249 9986 > ---------------------------------------------------- > > |
From: Jonathan B. <jbr...@ea...> - 2003-06-25 04:04:40
|
On Mon, 2003-06-23 at 23:09, Ole...@ga... wrote: > > checking GL... no > > checking GL with threads... no > > checking Mesa... no > > checking Mesa with pthreads... no > > configure: error: gtkglarea is required on Unix-like systems You can find the detailed version of the error about half-way down config.log (generated in the directory that you are configuring). But I think that I will cover your problem below. > but I have xlibmesa3=4.2.0=0prev1v3 and gtkglarea5=1.2.3-1 installed. > Can anyone help me out here? The one thing that is probably missing is a GL -dev library. If you are using nvidia-supplied drivers, you will need to install the nvidia-glx-dev package that is provided when you built the kernel drivers (on my system, nvidia-glx-dev_1.0.4349-1_i386.deb). If you are using a Mesa-supported graphics card than you will need the xlibmesa3-dev package from the usual Debian sources. HTH, -Jonathan P.S. Dr. Sherwood, do you think you could summarize that last paragraph for the Debian-specific portion of the installation instructions? This question seems to come up a lot. |