LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2004, 03:02 PM   #1
showcasefloyd
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Unable to compile SVGALib 1.4.3


Does anyone know what the requirements (meaning what exactly is needed) so
that someone can successfully compile SVGALib?

Anyhelp would be greatly appreciated.
 
Old 10-18-2004, 07:10 AM   #2
Darklegion
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Compile the latest development version as the 1.4.3 version is way out of date.Get the latest development version here .I also add in the svgalib patches from Advancemame although I don't know how much they apply to non-advancemame users.Also be aware that not all cards will work properly,even from the same manufacturer.In my case my geforce ti 4200 would not work proerly no matter what I tried but my TNT2 16meg PCI looks perfect and runs brilliantly It runs a lot faster then it did in X too.What would be even better though would be if NVIDIA were to code SVGALIB drivers with full 3D support...then we would see what linux is really capable of
 
Old 10-19-2004, 04:15 AM   #3
actioin
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Smile

i had compile svgalib-1.4.3 on ibm t40, the source code can pass the compile and my program can make success, but it can not work.
i not remember the phenomenon on screen.
 
Old 10-20-2004, 10:33 AM   #4
actioin
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Unhappy

i have downloaded the svgalib-1.9.19 to my computer and compile it this morning.
when i want to ran the demos, it seems need to load the svgalib_lhelper module.
how to do this?
because the same question, my program also cann't run also.

need we to patch the kernel of linux?

if it's true, it too sad for me, because my program is runing on a embed system and my system is spread around.
 
Old 10-21-2004, 09:02 AM   #5
Darklegion
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
get into your svgalib source directory and then :
Code:
cd kernel/svgalib_helper
make
make install 
depmod -ae
If you have problems compiling try using the makefile.alt makefile instead(although from my experience the normal one works better) :
Code:
make -f makefile.alt
If the module still doesn't modprobe then maybe it didn't install itself properly in which case you can copy the module in manually :
Code:
cp svgalib_helper.ko /lib/modules/'uname -r'/kernel/drivers/video
Or you could just insmod it as a test:
Code:
insmod -f ./svgalib_helper.ko
Oh yeah and lastly make sure that you are running as root user or have set the suid bit on the executable,you can't run svgalib programs as a normal user.

Last edited by Darklegion; 10-21-2004 at 09:04 AM.
 
Old 10-23-2004, 07:47 AM   #6
actioin
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
thanks for your reply

i am now in the process.

my linux is redhat 9.0. its kerne is 2.4.20-8. whether the svgalib-1.9.19 need the kernel 2.6 and upper?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to compile vte-0.11.10 powerloony Linux - Software 2 01-25-2005 04:56 AM
unable to compile new modules in the kernel Menestrel Slackware 1 01-09-2005 05:41 AM
Svgalib and Svgalib-devel on FC1 Michele Spinolo Fedora 1 11-11-2004 09:56 AM
Unable to compile modem driver mst700 Linux - Newbie 1 06-30-2004 03:18 PM
Unable to compile in RH9! jhawk_one Red Hat 1 09-03-2003 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 PM.

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