From: <ima...@gm...> - 2003-05-12 15:32:29
|
Hi everyone, as a search on this list indicated, there are some people who have installed VPython under Debian Woody which I also use. But opposite to some previous posters who found it to be quite easy I am a bit stuck, since ./configure complains about missing gtkglarea which I am sure is installed. (At least everything dselect shows about gtkglarea) In fact I installed every package listed in a previous post on this topic. I cannot append the output of ./configure ... right now since I'm not at home, but should it be necessary I can send it later. Bye -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |
From: Martin G. <ge...@la...> - 2003-05-12 16:15:32
|
At http://www.physics.colostate.edu/users/gelfand/VPcompiled.tgz you'll find Visual Python compiled for Woody/i386. Move it into /usr/lib/python2.2/site-packages and then tar xzf it. (Maybe it should/could go into /usr/local/lib/python2.2/site-packages.) If you get errors on importing visual then you'll know you're missing some libraries. Regards, Martin Gelfand Dept of Physics, Colorado State University On Mon, 12 May 2003 ima...@gm... wrote: > Hi everyone,=20 >=20 > as a search on this list indicated, there are some people=20 > who have installed VPython under Debian Woody=20 > which I also use.=20 > But opposite to some previous posters who found it=20 > to be quite easy I am a bit stuck, since ./configure=20 > complains about missing gtkglarea which=20 > I am sure is installed.=20 > (At least everything dselect shows about gtkglarea) > In fact I installed every package listed in a=20 > previous post on this topic.=20 >=20 > I cannot append the output of ./configure ...=20 > right now since I'm not at home, but=20 > should it be necessary I can send it later.=20 >=20 > Bye >=20 > --=20 > +++ GMX - Mail, Messaging & more http://www.gmx.net +++ > Bitte l=E4cheln! Fotogalerie online mit GMX ohne eigene Homepage! >=20 >=20 >=20 > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com >=20 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users >=20 |
From: <ima...@gm...> - 2003-05-12 19:37:58
|
> > as a search on this list indicated, there are some people > > who have installed VPython under Debian Woody > > which I also use. > > But opposite to some previous posters who found it > > to be quite easy I am a bit stuck, since ./configure > > complains about missing gtkglarea which > > I am sure is installed. > > (At least everything dselect shows about gtkglarea) > > In fact I installed every package listed in a > > previous post on this topic. > > > > I cannot append the output of ./configure ... > > right now since I'm not at home, but > > should it be necessary I can send it later. > > At http://www.physics.colostate.edu/users/gelfand/VPcompiled.tgz > you'll find Visual Python compiled for Woody/i386. Move it > into /usr/lib/python2.2/site-packages and then tar xzf it. > (Maybe it should/could go into /usr/local/lib/python2.2/site-packages.) > If you get errors on importing visual then you'll know you're > missing some libraries. Thanks for your fast help, I think I got an idea now: Some of the libraries got installed into /usr/lib/python2.1/site-packages ^^ which is the woody default python version. (That solves a few of my other problems :-) ) Is there anything special I have to do when installing some of the required graphics libraries on woody? from visual import * works, but running a program I get: Visual-2002-07-22 Xlib: extension "GLX" missing on display ":0.0". Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' OpenGL initialization failed. Unable to create OpenGL display widget Xlib: unexpected async reply (sequence 0x2b)! Also ./configure ... gives [snip] 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 Seems that indeed some graphics library is missing or in the wrong directory. But gtkglarea5-dev 1.2.3-1 python-gtkglarea 0.6.9-3 gtkglarea5 1.2.3-1 are installed. Maybe my OpenGl support is broken? xlibmesa-dev xlibmesa3 are installed, and I'm a bit fixed here, since the NVidia kernel drivers require these special packages. Thanks for your help, Nikolai -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |
From: Jonathan B. <jbr...@ea...> - 2003-05-12 22:27:14
|
On Mon, 2003-05-12 at 15:37, ima...@gm... wrote: > Thanks for your fast help, I think I got an idea now: > Some of the libraries got installed into > /usr/lib/python2.1/site-packages Python 2.2 is required for the current release of Visual. You will need to install that version and its development libraries. apt-get install python2.2-dev Then, run configure like this: PYTHON=/usr/bin/python2.2 ./configure [options] > Visual-2002-07-22 This is an older version of visual. Try the current one from the website, it should print a date of 2003-04-16 > Xlib: extension "GLX" missing on display ":0.0". > > Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' > OpenGL initialization failed. > Unable to create OpenGL display widget > Xlib: unexpected async reply (sequence 0x2b)! Just to be sure, check the 'Module' section of your XF86Config-4. Make sure that 'dri' and 'GLcore' are NOT listed, and 'glx' IS. This could be an artifact of building against one set of GL libraries, and running on another, but I'm not sure. > Also ./configure ... gives > [snip] > 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 Half-way down config.log, you should see a much more verbose echo of this output with detailed information regarding the failure. Please send me that information, and we can see exactly what failed. > Seems that indeed some graphics library is missing or > in the wrong directory. > But > gtkglarea5-dev 1.2.3-1 > python-gtkglarea 0.6.9-3 > gtkglarea5 1.2.3-1 > are installed. python-gtkglarea isn't needed for this package. > Maybe my OpenGl support is broken? > xlibmesa-dev > xlibmesa3 > are installed, and I'm a bit fixed here, since > the NVidia kernel drivers require these special > packages. Shouldn't be an issue. I use those on my box here, with the nvidia driver, too. (Debian sid.) Did it on Woody before that. -Jonathan Brandmeyer |
From: <ima...@gm...> - 2003-05-12 23:06:54
|
> Just to be sure, check the 'Module' section of your XF86Config-4. Make > sure that 'dri' and 'GLcore' are NOT listed, and 'glx' IS. This could > be an artifact of building against one set of GL libraries, and running > on another, but I'm not sure. Part from XF86Config-4 Section "Module" # Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" # Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "pex5" Load "record" Load "speedo" Load "type1" Load "vbe" Load "xie" EndSection > > Also ./configure ... gives > > [snip] > > 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 > > Half-way down config.log, you should see a much more verbose echo of > this output with detailed information regarding the failure. Please > send me that information, and we can see exactly what failed. configure:8434: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lgtk -lg dk -lXi -lXext -lX11 -lm -lglib -lGLU -lGL >&5 /usr/lib/libGLcore.so.1: undefined reference to `__nvsym13208' /usr/lib/libGL.so: undefined reference to `__nvsym04850' /usr/lib/libGLcore.so.1: undefined reference to `__nvsym13192' /usr/lib/libGL.so: undefined reference to `__nvsym04843' /usr/lib/libGLcore.so.1: undefined reference to `__nvsym02925' /usr/lib/libGL.so: undefined reference to `__nvsym03706' /usr/lib/libGL.so: undefined reference to `__nvsym03650' /usr/lib/libGL.so: undefined reference to `__nvsym03657' collect2: ld returned 1 exit status configure:8437: $? = 1 configure: failed program was: #line 8415 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { char glBegin(); glBegin(); ; return 0; } configure:8452: result: no configure:8461: checking GL with threads configure:8483: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lgtk -lg dk -lXi -lXext -lX11 -lm -lglib -lGLU -lGL -lpthread >&5 /usr/lib/libGLcore.so.1: undefined reference to `__nvsym13208' /usr/lib/libGL.so: undefined reference to `__nvsym04850' /usr/lib/libGLcore.so.1: undefined reference to `__nvsym13192' /usr/lib/libGL.so: undefined reference to `__nvsym04843' /usr/lib/libGLcore.so.1: undefined reference to `__nvsym02925' /usr/lib/libGL.so: undefined reference to `__nvsym03706' /usr/lib/libGL.so: undefined reference to `__nvsym03650' /usr/lib/libGL.so: undefined reference to `__nvsym03657' collect2: ld returned 1 exit status configure:8486: $? = 1 configure: failed program was: #line 8464 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { char glBegin(); glBegin(); ; return 0; } All a bit strange to me. But I'm glad for any help. Nikolai -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |
From: Jonathan B. <jbr...@ea...> - 2003-05-12 23:52:32
|
On Mon, 2003-05-12 at 19:06, ima...@gm... wrote: > > Half-way down config.log, you should see a much more verbose echo of > > this output with detailed information regarding the failure. Please > > send me that information, and we can see exactly what failed. > > configure:8434: gcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lgtk > -lg > dk -lXi -lXext -lX11 -lm -lglib -lGLU -lGL >&5 > /usr/lib/libGLcore.so.1: undefined reference to `__nvsym13208' > /usr/lib/libGL.so: undefined reference to `__nvsym04850' > /usr/lib/libGLcore.so.1: undefined reference to `__nvsym13192' > /usr/lib/libGL.so: undefined reference to `__nvsym04843' > /usr/lib/libGLcore.so.1: undefined reference to `__nvsym02925' > /usr/lib/libGL.so: undefined reference to `__nvsym03706' > /usr/lib/libGL.so: undefined reference to `__nvsym03650' > /usr/lib/libGL.so: undefined reference to `__nvsym03657' These symbols are defined in the NVIDIA-glx package. Exactly which version of the driver did you install, and how did you do it? If you followed either of the Debian methods, you should have generated both a nvidia-glx....deb and and nvidia-glx-dev....deb. Did you install them both? I suspect that your libGL and/or libGLcore symlinks got mixed up somehow. >From /usr/lib, typing `ls -l libGL.so* libGLcore.so*` should produce symlinks like this when it is right, such that libGL.so and libGLcore.so.1 ultimately point to version-matching libs: /usr/lib/libGL.so -> libGL.so.1 /usr/lib/libGL.so.1 -> libGL.so.1.0.2880 /usr/lib/libGL.so.1.0.2880 /usr/lib/libGLcore.so.1 -> libGL.so.1.0.2880 /usr/lib/libGLcore.so.1.0.2880 If there is some kind of version mismatch, you will need to fix your links. HTH, Jonathan Brandmeyer |
From: <ima...@gm...> - 2003-05-13 00:05:44
|
Seems I indeed forgot to install one of the archives. Now even other 3D applications work for me. GREAT! :-) "make install" quitted with g++ -DHAVE_CONFIG_H -I. -I. -I. -I./CXX/Include -I/usr/include/python2.2 -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 -g -O2 -c arrow.cpp -Wp,-MD,.deps/arrow.TPlo -fPIC -DPIC -o arrow.lo 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:968: no class template named `iterator' in `std' CXX/Include/CXX_Objects.h:1079: no class template named `iterator' in `std' make[1]: *** [arrow.lo] Fehler 1 make[1]: Leaving directory `/usr/src/visual-2.0.1/cvisual' make: *** [install-recursive] Fehler 1 but it seems to have installed anyway, since importing visual and displaying an arrow work. Thank you very much. Nikolai -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |
From: Jonathan B. <jbr...@ea...> - 2003-05-13 01:30:31
|
On Mon, 2003-05-12 at 20:05, ima...@gm... wrote: > CXX/Include/CXX_Objects.h:968: no class template named `iterator' in `std' > CXX/Include/CXX_Objects.h:1079: no class template named `iterator' in `std' > make[1]: *** [arrow.lo] Fehler 1 > make[1]: Leaving directory `/usr/src/visual-2.0.1/cvisual' > make: *** [install-recursive] Fehler 1 I assume that "Fehler" translates to "Error"? If so, the build did not succeed. You are most likely using a different build from this one. A new teeney_version release will be forthcoming very soon to correct this regression. In the meantime, you can go into CXX/Include/Config.h and change #define HAVE_STL_ITERATOR_TRAITS 1 to #define HAVE_STL_ITERATOR_TRAITS 0 It should have been covered by autoconf. > Thank you very much. > Nikolai You're welcome, Jonathan Brandmeyer |
From: Jonathan B. <jbr...@ea...> - 2003-05-13 03:25:26
|
On Mon, 2003-05-12 at 19:52, Jonathan Brandmeyer wrote: > On Mon, 2003-05-12 at 19:06, ima...@gm... wrote: > /usr/lib/libGL.so -> libGL.so.1 > /usr/lib/libGL.so.1 -> libGL.so.1.0.2880 > /usr/lib/libGL.so.1.0.2880 > /usr/lib/libGLcore.so.1 -> libGL.so.1.0.2880 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.2880 ^^^^ > /usr/lib/libGLcore.so.1.0.2880 I see that you made it work, but, for the archives, that should have been as I have corrected above. -Jonathan Brandmeyer |