473,224 Members | 1,307 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

failed to install PyOpengl-2.0.1.08 on Mandrake 10.0

Im using Python 2.3.4 and Mandrake linux 10.0. I don't
know whats wrong when Im trying to install the
PyOpengl-2.0.1.08. I got the message:

gcc -pthread -shared
build/temp.linux-i686-2.3/src/interface/GLUT.o
-L/usr/lib -L/usr/local/lib -L/usr/X11/lib
-L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.3 -lGL
-lX11 -lXext -lGLU -lglut -lXi -lXmu -linterface_util
-o build/lib.linux-i686-2.3/OpenGL/GLUT.so
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I suspect it have something to do with the glut. Then
I tried to install glut-3.6 but problem arise again It
require libMesaGLU.so.3. I install the Mesa-6.2
everything ok. But the libMesaGLU still doesnt exist.
In the website it state that the packet doesnt include
the libMesaGLU anymore. but instead they use another
packed oss-openglu-20000925..rpm. But the packet
failed also to install becuse it require
libstdc++-libc6-1-1.so.2. I updated the gcc from 3.3.2
to 3.4.2 but the library required still doenst exist.

What should I do to fix all this problems????

Thanx

danu

__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
Jul 18 '05 #1
1 2855
Well.... you will have to take this with a big grain of salt, because it has
been some while since I did much work with gcc, but it appears to me that
the command line cited...
gcc -pthread -shared
build/temp.linux-i686-2.3/src/interface/GLUT.o
-L/usr/lib -L/usr/local/lib -L/usr/X11/lib
-L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.3 -lGL
-lX11 -lXext -lGLU -lglut -lXi -lXmu -linterface_util
-o build/lib.linux-i686-2.3/OpenGL/GLUT.so
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
is trying to build one of the objects that's probably part of the glut
library itself. The linker complains it can't find -lglut. '-lglut' tells
the linker to link up with the glut library, found in one of directories
specified with the -L flag. But if it's trying to build that library now,
you shouldn't be trying to link with it.

So, here's two things to try:

1) Assuming GLUT.o is actually part of the glut library that's trying to
be built here, find the equivalent line in the makefile and remove '-lglut'.
If it compiles without complaint, things should be OK. If there are lots of
errors about unresolved links, that implies to me GLUT.o is not actually
part of the glut library. Put the -lglut back in and try the next step:

2) Figure out where the glut library actually lives on your system. (It
appears to be /usr/lib/libglut.so.3.7.1 on my SuSE 8.2 system.) If that
location is not one of the directories already specified with your -L flags,
add it. If it is already in that path, then I guess I don't know what the
problem is.

So... there's a couple of things to try. No promises, but I know I hate it
when I am just simply stuck with nothing left to try.

Good luck.
-ej


"danu kusmana" <da********@yahoo.com> wrote in message
news:ma**************************************@pyth on.org... Im using Python 2.3.4 and Mandrake linux 10.0. I don't
know whats wrong when Im trying to install the
PyOpengl-2.0.1.08. I got the message:

gcc -pthread -shared
build/temp.linux-i686-2.3/src/interface/GLUT.o
-L/usr/lib -L/usr/local/lib -L/usr/X11/lib
-L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.3 -lGL
-lX11 -lXext -lGLU -lglut -lXi -lXmu -linterface_util
-o build/lib.linux-i686-2.3/OpenGL/GLUT.so
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I suspect it have something to do with the glut. Then
I tried to install glut-3.6 but problem arise again It
require libMesaGLU.so.3. I install the Mesa-6.2
everything ok. But the libMesaGLU still doesnt exist.
In the website it state that the packet doesnt include
the libMesaGLU anymore. but instead they use another
packed oss-openglu-20000925..rpm. But the packet
failed also to install becuse it require
libstdc++-libc6-1-1.so.2. I updated the gcc from 3.3.2
to 3.4.2 but the library required still doenst exist.

What should I do to fix all this problems????

Thanx

danu

__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jimmy Johns | last post by:
Hi, why hasn't there a version of pyOpenGL for python 2.3.x yet? Currently the binary installers for windows only work with python 2.2, and will give an when installing for python 2.3. I can't...
0
by: Timo Finnilä | last post by:
Hi, I'm having some weird issues with Python 2.4 and PyOpenGL 2.0.2.01 (and also with older versions). When I call glutGetModifiers from event handler functions (set using glutMouseFunc,...
1
by: Kirill Kuvaldin | last post by:
Hello All! My program in python uses PyOpenGL and I need to convert it to a standalone windows executable file. Following to these instructions...
2
by: Erik Max Francis | last post by:
I was interesting in adding selection and hit testing to ZOE, and was looking at the PyOpenGL wrappers' handling of selection and picking. I see glSelectBuffer to specify the size of the buffer,...
5
by: Sébastien Ramage | last post by:
Bonjour à tous, Dans la folie j'ai installé le nouveau python, impatient de voir les nouveautés mais je pense que j'ai été un peu rapide car j'ai voulu utiliser pyOpenGL et là problème il...
1
by: joroy | last post by:
Hi all, I think this is ctypes related but how can I call the glShaderSourceARB function? The function have this header: glShaderSourceARB( GLhandleARB(shaderObj), GLsizei(count),...
0
by: sweetmelon | last post by:
(I'm a newbie in Python and pyOpenGL.) Environment: WinXP SP2 Python ver. 2.5 WingIDE easy_install is installed PIL, pyNum is installed Download PyOpenGL-3.0.0a5-py2.5.egg run: easy_install...
5
by: Extremist | last post by:
I am currently sitting with a problem concering pyOpenGL. PyOpenGL is the combination of OpenGL and Python. Is there a new version of PyOpenGL to go with wxPython 2.6 other than that of which is...
0
by: shirish | last post by:
Hi all, Is it possible to have Python+Pygame+PyOpenGL in one compact package so people can play the games released at pyweek.org . I have been having a hard time getting the whole thing on windows...
1
by: Clay Hobbs | last post by:
I need a tutorial for PyOpenGL (specifically, to be used with wxPython). I searched with Google and didn't find one. Does anybody know where one is? -- Ratfink
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.