LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-01-2003, 07:53 PM   #1
New 2 The Game
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Rep: Reputation: 15
Some linux newbie questions?


Ok i wanted to play half-life (CS) on my linux system (Lindows 4.0). And i installed it with wine all well and good. Then I installed updates, and CS mod. I went to start the game and first it told me to go to 16Bit. I did this on display properties, thne i rebooted the system and when i ran HL it froze and the screen was just a bunch of lines (All messed up!).
So then i was told I have to install the NVIDIA update for my vid card. I went to NVIDIA and got the file: NVIDIA-Linux-x86-1.0-4496-pkg2.run
I went to install this file using: sh NVIDIA-Linux-x86-1.0-4496-pkg2.run
Then it told me to i had to reboot the system to exit X mode or whatever. I First tried to press Ctrl, Alt, F2 then type the command init 1 and it doestn like that it leaves xmode or whatever and then i still can do the .run file, so i reboot the system and start without xmode I get the install working and then it says I need a Kernal to continue? what exacly should i look for when serching for this kernal and how should i install it I just want my damn vid card updated so I can play :-)
Thanks I am a nebwie who knows nothing!!!!
 
Old 09-01-2003, 08:09 PM   #2
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
It's probably looking for the kernel headers. Do you have the kernel source installed?

You need to be sure to install the source that matches your running kernel. Sorry, I'm not familiar with Lindows so, I'm not sure of the exact procedure for installing the kernel source in Lindows.

You can determine your kernel version by running "uname -a"

Mike
 
Old 09-01-2003, 08:29 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.
 
  


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
Newbie Linux Questions... Matt2020 Linux - Newbie 7 10-04-2005 08:48 PM
Linux Newbie Questions misterjingo Mandriva 4 08-31-2005 03:24 PM
4 newbie questions about linux Peleus Linux - Newbie 15 02-19-2005 04:59 AM
Linux Newbie w/ Questions... rye_yan_matthew Linux - Software 3 11-23-2004 12:25 PM
Linux newbie questions Jasers Linux - Newbie 4 05-30-2003 03:54 PM


All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration