LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing this graphics library (https://www.linuxquestions.org/questions/linux-newbie-8/installing-this-graphics-library-271407/)

knossoss 12-29-2004 12:28 AM

installing this graphics library
 
hi,

im a total newbie to linux when it comes to installing stuff...

i want to know how to install Ygl-3.1 graphics library...

Code:

ftp://ftp.thp.uni-duisburg.de/pub/source/X11/Ygl-3.1.tar.gz
the above is the package that i downloaded....

i extracted it and thre was a file called installation in it, but i dont understand it...

can anyone post clear instructions on how i can install this header...

im using them in programs written using c++...

regards

(P.S. this is a repeat post, because i did not know whether i shud post in newbie section or programming section... sorry)

slakmagik 12-29-2004 12:37 AM

Usually, it's a
Code:

./configure [options]
make
su
make install

But sometimes it varies. What part of the INSTALL file is giving you trouble? And what distro are you using - there may be a pre-compiled package for your distro.

And Newbie would probably do. Don't double post, even if you're not sure - if it's in the wrong place a mod will move it 'to get the exposure it deserves'. :D

knossoss 12-29-2004 01:16 AM

thanx man..

im using redhat linux 9

where should i type those commands u mentioned? (in the directory where i ahve extracted the files to?)

i think i have imake


regards

slakmagik 12-29-2004 01:27 AM

It wants you to use imake? Urgh. Like I say, you could see if there's an rpm for that somewhere. I hardly ever build stuff like that, so I'm not sure. Might need to do 'xmkmf' or whatever the file says. Anyway - there's probably an [i]makefile and/or configure script in the toplevel of what you untarred and you'd probably issue the commands there. Might be a /src subdir and you'd go into that, but probably not. Either way, though, it's usually a case of a few commands at the console or an xterm and it should build.


All times are GMT -5. The time now is 07:41 AM.