LinuxQuestions.org
Review your favorite Linux distribution.
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 01-19-2004, 08:46 PM   #1
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Rep: Reputation: 15
Installing things on linux


hi ,

I just downloaded some linux drivers for my sound card and i'm using red hat 9...the readme file is a little to vauge for me.. the instructions are as follows:

Step 1. unzip source code

tar xfvj alcsound.tar.bz2



Step 2. Turn on sound support (soundcore module, default turn on)



Step 3. Complied source code

a. ./configure

b. make

c. make install

d. ./snddevices



Step 4. Edit your /etc/modules.conf or conf.modules depending on the distribution

(Please refer to the attached modules.conf)



Step 5. reboot your machine

I dont know how to do step 2 ..where can I do this? and after I do the ./configure comamnd I dont know what it measn by "make" ..make what?

thanx in advance,
Boomba
 
Old 01-19-2004, 08:51 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
looks like alsa ur trying to compile, ok the first step is that u must have a kernel that had sound suprt enabled under sound (u dont have to have anyhihtng thats under that enabled tho), next u compile like any other program
./configure
make
make install

the last script sets up teh /dev directory to use teh new modules
 
Old 01-19-2004, 09:04 PM   #3
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
Afrer I type "./configure" a lis of messages come up ( dont know what its doing) and then I type in "make" and I get this:

make dep
make[1]: Entering directory `/home/kareem/alsa-driver-0.9.4'
make[2]: Entering directory `/home/kareem/alsa-driver-0.9.4/support'
Makefile:27: /usr/src/linux-2.4.18-27_1tle/alsa-driver-0.9.4/Rules.make: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.4.18-27_1tle/alsa-driver-0.9.4/Rules.make'. Stop.
make[2]: Leaving directory `/home/kareem/alsa-driver-0.9.4/support'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/kareem/alsa-driver-0.9.4'
make: *** [include/sndversions.h] Error 2
 
Old 01-19-2004, 10:44 PM   #4
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Rep: Reputation: 15
Log in as root and do it. That fixed a similiar problem I had when I got that error message.
 
Old 01-22-2004, 02:24 AM   #5
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
I tried what you told me with the root password and I get this:

[kareem@rn146-16 alsa-driver-0.9.4]$ make
make dep
make[1]: Entering directory `/home/kareem/alsa-driver-0.9.4'
make[2]: Entering directory `/home/kareem/alsa-driver-0.9.4/support'
Makefile:27: /usr/src/linux-2.4.18-27_1tle/alsa-driver-0.9.4/Rules.make: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.4.18-27_1tle/alsa-driver-0.9.4/Rules.make'. Stop.
make[2]: Leaving directory `/home/kareem/alsa-driver-0.9.4/support'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/kareem/alsa-driver-0.9.4'
make: *** [include/sndversions.h] Error 2

any other suggestions on what i'm doing wrong?..its probably something simple cus this is my first time manually isntalling anything on linux

thanx in advance

Boomba
 
Old 01-22-2004, 03:04 PM   #6
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
I still can't figure this one out:

what i did is I extraceted the tar.gz file to my home directory and then I followed the instructions by going to my console and typing in exactly what is said:

"./configure"
(compiling info)
then I type in "make"

I get the above error..shoudl i be typing in somthing oher than just "make"?

thanx,

bomba
 
Old 01-22-2004, 06:19 PM   #7
DevlshOne
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 9
Posts: 14

Rep: Reputation: 0
Even more basic question

I'm trying to install FreeTDS onto a RedHat 9.0 system. I download and run the RPMs and the packages show up in my "installed packages" list through WebMin. However, I don't think they really are. I read everywhere about the "./configure" and "make" commands, but I am too much of a newbie to know where in the fie system to even type these commands! I have 3 Linux books and NONE of them cover installing new programs.. is some kind of Linux secret handshake required for this info?
 
Old 01-31-2004, 05:42 AM   #8
andy44
LQ Newbie
 
Registered: Nov 2003
Location: UK
Distribution: Ubuntu 5.04
Posts: 12

Rep: Reputation: 0
./configure and make are commands you have to type in the terminal (RedHat -> System tools -> Terminal. It looks a bit like a dos prompt). You only need to do this if you are compiling from source. Usually, you extract the source code files to a directory and then in the terminal type cd <directory where you extracted the source code to> and then type ./configure then when that's finished type make, then when that's finished type make install.

If you have installed the program from an rpm, however, you don't have to do this.

Andy
 
  


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
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 05:35 AM
I need help please installing these things Bijan Mandriva 4 10-13-2005 10:02 PM
Installing things in linux Enfer Singe Linux - Newbie 4 08-01-2004 02:28 PM
Installing programs in linux? which progs? can linux do the things windows can? James-jmpm Linux - Newbie 6 07-02-2004 08:01 PM
Installing Things thebear Linux - Newbie 4 08-12-2003 11:42 PM

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

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