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 01-05-2004, 03:11 PM   #1
rivers21
LQ Newbie
 
Registered: Jan 2004
Location: Park City, Utah
Posts: 6

Rep: Reputation: 0
Question After 'make' and 'make install' how do you open?


I unTared the file, then I went to cd_the_programs_dir and did ./configure,
make, and make install. They did their things when I did that, and when I go into the files folder I can't open any of the executables.

Any ideas???
 
Old 01-05-2004, 03:35 PM   #2
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
what program did you compile/install?

normally you should now be able to run it by typing the name of the program on the commandline
 
Old 01-05-2004, 03:40 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
./configure => figures out the target (i.e, your) machine and its environment and checks whether you have the "stuff" needed to have the program installed.

make => goes and compiles, links and created the executables needed for the program. but this is still in the directory where you typed ./configure and make.

make install => goes and moves the executables into the relevant directories like /usr/bin/, /usr/local/bin/ .... or wherever.

you do the first 2 as ordinary user, and the last as root as you need root password to write those executables into those directories, while the first 2 are done in your own directory.

so, after make install, the executables have been moved. if the place it has moved is in your $PATH env variable, then all you have to do to run the program is type the name of the program in a terminal.

usually, the dir its been moved to is in $PATH, so ... JUST TYPE IN THE NAME OF THE PROGRAM TO RUN IT FROM A TERMINAL.
 
Old 01-05-2004, 03:43 PM   #4
mrde50garfield
Member
 
Registered: Dec 2003
Distribution: Mandrake, Red Hat, Gentoo, Fedora, ClusterKnoppix, Scyld Beowulf
Posts: 52

Rep: Reputation: 15
This always works for me:

$ ./configure
$ make
$ su -c "make install"
$ chmod 777 (filename)
$ ./(filename)

I hope this works for you!

r.
 
Old 01-05-2004, 04:07 PM   #5
rivers21
LQ Newbie
 
Registered: Jan 2004
Location: Park City, Utah
Posts: 6

Original Poster
Rep: Reputation: 0
The program is freeradius 0.9.3
 
Old 01-05-2004, 05:48 PM   #6
rivers21
LQ Newbie
 
Registered: Jan 2004
Location: Park City, Utah
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the suggestions, I was able to get it to work.

Thanks:
mrde50garfield, h/w, delta9
 
  


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
make; make install commands in SuSE Linux 9.1 Personal johnerskine Linux - Newbie 6 06-23-2004 10:18 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 03:35 AM

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

All times are GMT -5. The time now is 04:15 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
Open Source Consulting | Domain Registration