LinuxQuestions.org
Help answer threads with 0 replies.
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 06-15-2003, 03:29 PM   #1
thandorias
LQ Newbie
 
Registered: Jun 2003
Location: Irving
Distribution: Mandrake Linux 9.0
Posts: 27

Rep: Reputation: 15
How to use make commands


Im getting freaking irritated by linux, all these freaking commands and the sort and all this patching and downloading im having to do, its about to make me wanna just throw my computer through the wall.

Im trying to figure out how to use the make clean, make file, .configure, make, just pretty much anything that has to do with it and i cant figure a darn thing out. Im usually capable of figuring things out, but not even the books i have explain how to do it. They just say go here and do this, well that place they tell me to go and do this, how do i do that, i can get there but how do i use the make commands and stuff. Its really getting on my nerves that everywhere i go they dont even give a step by step instruction. Its like they expect u to know what to do or something.

i read the readme file in a tar.gz file and it says this:

This will make an executable called "mudix". You can place this file anywhere
you like, it's the only file you need. How I do it is this, I have a link to
mudix with "ln -s <path>/src/mudix /usr/bin/mudix" then to run I can do
"mudix <userfile>" or "mudix <site> <port>". The reason I don't execute from
the src/ directory is because MUDix creates userfiles and logfiles in the
_current_ directory. And it makes things look messy.

Of course I should have added a configure script, I know... but it isn't
really needed for this small program ( I hope :P ). I did fiddle with the
autoconf tools a little, but it didn't work right away so I kept it like this.

At 4.0 I added a configure script. To compile now just type:
./configure
make

Good luck
Enigma

Yup i need the luck... so can anyone help me out better than he can. tell me where to go, what program, if theres one, to use, and tell me how to initiate the commands or whatever. Im about to go back to windows but i dont want to because linux "was" pretty easy until i had to start doing all this stuff.

Gotta love being a TOTAL newb to this system jeez kinda reminds me of dos except dos was fun and easy.... well to me.

to the max :P
 
Old 06-15-2003, 03:30 PM   #2
thandorias
LQ Newbie
 
Registered: Jun 2003
Location: Irving
Distribution: Mandrake Linux 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
oh and i ment to add this before the "this will make an executable file...."

To compile just go into the src/ directory and type:
make clean
make
 
Old 06-15-2003, 03:45 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by thandorias
oh and i ment to add this before the "this will make an executable file...."

To compile just go into the src/ directory and type:
make clean
make
Did you do it? If so - did it fail? If so - what was the output. If not - what do you want?
 
Old 06-15-2003, 04:27 PM   #4
thandorias
LQ Newbie
 
Registered: Jun 2003
Location: Irving
Distribution: Mandrake Linux 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
i dont know how t, ive looked up helps on many websites andnone of them really help me out. All they do is give the same thing and i dont understand how to. Ive tried from the command line but it doesnt work. Im just needing help on step by step instructions on where to go and how to do it. From what i explained above, i dont understand how to do it, and the books ive got say what to type but i dont know where to go or if theres a program to use what that program is. Im just a total .
 
Old 06-15-2003, 04:35 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://www.linuxquestions.org/questi...threadid=45094
 
Old 06-15-2003, 04:37 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by thandorias
i dont know how t, ive looked up helps on many websites andnone of them really help me out. All they do is give the same thing and i dont understand how to.
Just "cd" to the src directory then run the commands.
Quote:
Originally posted by thandorias
Ive tried from the command line but it doesnt work.
Does it give an error message?
Quote:
Originally posted by thandorias
Im just needing help on step by step instructions on where to go and how to do it. From what i explained above, i dont understand how to do it, and the books ive got say what to type but i dont know where to go or if theres a program to use what that program is. Im just a total .
Don't worry - it aint that difficult, you'll get there - once youve done it once you'll be laughing!
 
Old 06-15-2003, 04:53 PM   #7
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
Confused, I know how you feel.
Step by Step instructions would be a god send for us newbies
 
Old 06-15-2003, 05:37 PM   #8
thandorias
LQ Newbie
 
Registered: Jun 2003
Location: Irving
Distribution: Mandrake Linux 9.0
Posts: 27

Original Poster
Rep: Reputation: 15
when it says to go to the src/ place where is that??
ive figured out with cd .. that something happens

this is the normal look before i tyupe cd ..

[chris@x1-6-00-02-8a-32-b1-3f chris]$

then i type cd .. in the command window and this comes up

[chris@x1-6-00-02-8a-32-b1-3f home]$

then i type it again

[chris@x1-6-00-02-8a-32-b1-3f /]$

and from there im lost hehe, i typed stuff like cd home and it goes to home and cd usr and it goes there. But lol thats all ive learned so far. so how do i get to all this stuff and use the make command?

I agree with whoever says if only installing could be as easy as click click
 
  


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
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
make; make install commands in SuSE Linux 9.1 Personal johnerskine Linux - Newbie 6 06-23-2004 10:18 AM
'make' & 'make install commands not recognised by shell gilbertt Linux - Software 4 05-04-2004 08:04 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM

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

All times are GMT -5. The time now is 12:24 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