LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2003, 06:14 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
plib cannot see my OpenGL but its there !


PLLEEEAASE HELP, this is driving me insane !
i need to install plib.

all it has labeled as dependencies is
"openGL"

well, that could mean anything..... driver ? MESA ? GLUT ??

i have installed the nvidia drivers, open gl is working.

but if i install from rpm, it fails dependencies, OpenGL is not installed.

and if i install from tar ./configure cannot find a working GL.

every damn game needs this plib, how do i get it on my system ?

ive been very patient with this linux.
but it just soo hard to resists beeting it with its own keyboard !
 
Old 08-06-2003, 12:41 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
You sure you have open gl installed and working correctly? I dont know if it helps but you may check out this page if you havent already:
http://plib.sourceforge.net/requirements.html
 
Old 08-06-2003, 06:42 AM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
i have definatly installed the correct nvidia drivers.

(tuxracer worked at 5 frames per second on a fresh install, not runs 500 - 1000 (with quality qweakeed up!)

and unreal tournament runs fine (which it wouldnt if openGL was not working)

but this 1 damn library says openGL is not installed.

and i wanna try out this game.. flighgear.. looks INSANE from the screen shots anyway, not even gonna start downloading it till i got all its dependencies.
 
Old 08-06-2003, 08:08 AM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
ok, so its requrement is OpenGL.

so is there some OpenGL package out there ????

how do i check that OpenGL is installed on my ststem ?

Tuxracer and UT2003 work... they are opengl games.

Ok, to have OpenGL on my system, step by step, what do i have to do.... so far...

DOwnload NVIDIA drivers
change to init 3
run the binary .run file
{it completes, no errors what so ever}
edit the XF86COnfig,
remove "load dri"
remove "load GLCore"
add "Load glx" // this already in my xf86config to start with
remove driver "nv"
add driver "nvidia"

change to init 5

The NVIDIA logo screen apears, and X loads normally.

tux racers frames are 10x faster.

Now what do i have to do ?
cos this clearly is not enough !

what did every1 else have to do ?

(ohh, and i coppied some header files from my nvidia directors to the usr/include/GL as the help file said i should if i want to use nvidia headers to compile gl stuff (there were no gl headers in /usr/include/GL so i have to use the NVIDIA headers.

now what ????
 
Old 08-06-2003, 08:15 AM   #5
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Hmm, your card seems to be configured properly..there are OpenGL packages at the link I posted in my previous post. Try installing those and then running the plib installation. Install Mesa and then continue with installation.
http://plib.sourceforge.net/download.html
 
Old 08-06-2003, 08:21 AM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
so ur saying i should install Mesa then my NVIDIA drivers ?

i hear mesa is a replacement for openGL.

but i isnt the nvidia binary putting openGL on my system ?

Ive installed mesa, still nothing.

why is it so damn hard to install OpenGL.

in fact, it must already be installed right ???????
tux racer and ut2003 work.... and they are opengl...
so does that mean opengl must be installed ????

and my opengl screen savers work also...

but i cant get plib.

could it be a bug in plib, not being able to detect opengl.

and is it safe installing mesa and opengl ?
 
Old 08-06-2003, 08:24 AM   #7
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
I think you should install nvidia or mesa..either one of those two
____________________________________________________
in fact, it must already be installed right ???????
tux racer and ut2003 work.... and they are opengl...
so does that mean opengl must be installed ????
____________________________________________________
yes, it should be installed but I just wanted you to try something different. You can always email plib people and I am sure they will reply within a couple of days...
 
Old 08-06-2003, 08:25 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
[root@localhost plib-1.6.0]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking host system type... i686-pc-linux
checking for X... no
checking for glNewList in -lGL... no
checking for glNewList in -lMesaGL... no
configure: error: could not find working GL library

it says checking for X.. no

now i KNOW i have X installed or i wouldnt be able to use KDE, Mozila Firebird or anything.. surely plib is buggy !!!!
 
Old 08-06-2003, 07:12 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Having quite a bit of frustration on the plib deal eh?

Anytime you get things that are blatently obviously there reported as 'missing' such as X, it usually means you don't have the devel version installed. On a normal install, most of these won't get installed. You have to cruise through your RPM's and find things like xfree86-devel-4.3.0.rpm and install them. Then the configure script will likely pick it up.

If you compiled everything or use a distro that does, then most of the time these kinds of errors don't exist, at least not for good reason.

Cool
 
Old 07-20-2008, 01:21 AM   #10
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Rep: Reputation: 15
Sorry to post to an older thread, but I just ran into this and thought I'd post the solution that worked for me.

Bottom line is that the plib autoconf is too aggressive (bug?). It seems like most everyone is hit by this install problem, and they shouldn't be.

If you check the config.log file, you'll see why the configure command failed. For me, it was because the library -lXi could not be found.

Does plib use Xi? Not so far as I can tell. So the linker is choking on a library that isn't needed.

The solution was to go into the configure script, and remove -lXi from the offending LIBS= line.

After that, I was able to run configure, make, and make install just fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
plib openGL SUCESS thanx + 1 more question qwijibow Linux - Newbie 2 08-06-2003 03:23 PM
install opengl or plib even possible ? any1 done it ? qwijibow Linux - Newbie 1 08-06-2003 07:45 AM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 07:12 AM
plib chrismiceli Linux - General 1 05-15-2003 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration