473,654 Members | 3,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2873
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********@yah oo.com> wrote in message
news:ma******** *************** *************** @python.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
2049
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 build it either unless I build python 2.3 from source as well. Is there a work around available?? Thanks in advance. -s
0
1303
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, glutMotionFunc etc...), it just says: "GLUT: Warning in foo: glutCurrentModifiers: do not call outside core input callback."
1
2308
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 (http://pyopengl.sourceforge.net/documentation/py2exe.html) I've put PyOpenGL package to a directory where my program was placed. and run the script: setup.py py2exe --excludes=OpenGL
2
4053
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, and glRenderMode properly returns the number of hits when put back into GL_RENDER mode, but I don't see any way within PyOpenGL itself to access the select buffer to actually process the hits. Is there any way to do this without using...
5
1763
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 n'existe pas pour python 2.5 ?!!! de plus il semble que pyopengl est été abandonné depuis 2005 ? plus rien ne bouge sur le site... je suis sous windows et je ne dispose pas des outils pour faire moi
1
1969
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), POINTER(arrays.GLcharARBArray)(string), GLintArray(length) ) -None
0
1446
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 PyOpenGL-3.0.0a5-py2.5.egg pyOpenGL is installed in
5
1225
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 going with wxPython 2.4?
0
1354
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 as well as linux (Ubuntu 7.04) . Strangely, my pleas for the same on pyopengl have gone unanswered. http://sourceforge.net/mailarchive/forum.php?thread_name=511f47f50704260036y2888db21p5cf650a7e472559b%40mail.gmail.com&forum_name=pyopengl-users...
1
6718
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
8379
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8494
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8596
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7309
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5627
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1597
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.