Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

POGL on Ubuntu problem

by morgon (Deacon)
on Nov 27, 2008 at 04:49 UTC ( #726294=perlquestion: print w/ replies, xml ) Need Help??
morgon has asked for the wisdom of the Perl Monks concerning the following question:

Please help me with OpenGL.pm...
It compiled and installed ok but watch this:

mh@x30:~$ perl -MOpenGL -e 1 Can't load '/home/mh/perl510/lib/site_perl/5.10.0/i686-linux-thread-mu +lti/auto/OpenGL/OpenGL.so' for module OpenGL: /usr/lib/xorg/modules/e +xtensions/libglx.so: undefined symbol: xf86Screens at /home/mh/perl51 +0/lib/5.10.0/i686-linux-thread-multi/DynaLoader.pm line 203.

I don't understand this messages about "undefined symbol: xf86Screens" - it does not seem to be a linker symbol, when I do an ldd on the libs all symbols are resolved so I don't know how to attack this...

As I am absolutely new to OpenGL and don't know that much about X11 I am at a loss... can someone please help me here?

I run Ubuntu 8.04 on a very old Thinkpad X30 (yeah - probably not the right machine for OpenGL but I just want to play around with it a bit) and Perl 5.10.

I can compile and run OpenGL demos in C++, so the OpenGL installation as such should be ok - I assume it's just some config stuff that I am missing ... unfortunately Google does not help much here...

Here some lcpci output that may be relevant:

00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge ( +rev 04) 00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipse +t Graphics Controller] (rev 04) 00:02.1 Display controller: Intel Corporation 82830 CGC [Chipset Graph +ics Controller]
Many thanks!

Comment on POGL on Ubuntu problem
Select or Download Code
Re: POGL on Ubuntu problem
by ForgotPasswordAgain (Deacon) on Nov 27, 2008 at 12:40 UTC
    How have you installed OpenGL.pm - Ubuntu package or through CPAN? It looks like you've compiled perl 5.10 locally to your home directory... does OpenGL.pm require that version of perl? Maybe you'll want to try upgrading Ubuntu to Intrepid, if so.
      I have installed Perl 5.10 from source to my home-dir and also have installed OpenGL from source (downloaded from CPAN).

      OpenGL is more or less just a wrapper around the OpenGL-calls (basically just some XS-code generated from the OpenGL-header files) - it should be irrelevant where Perl is installed or how it was installed...

        Same problem on amilo 2550 lap top, ubuntu 8.04, ati hd 2400 ... I have tried to install open source drivers given at https://help.ubuntu.com/community/RadeonDriver but still no success...... Please let me know if there is something new on veljko@888.rs

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://726294]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-12-26 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls