| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-18-2004, 05:38 AM
|
#1
|
|
Member
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70
Rep: 
|
configure, make and make install commands don't work for me
This is something that has been bugging me for a while. To the best of my googling I gather that I'm missing some sort of development library...but I've no idea which one or how to aquire it.
Anyways, the three commands give my newbie self the following outputs when I try to compile a program:
[root@localhost autofw-0.3.1]# ./configure
bash: ./configure: No such file or directory
[root@localhost autofw-0.3.1]# make
make: *** No targets specified and no makefile found. Stop.
[root@localhost autofw-0.3.1]# make install
make: *** No rule to make target `install'. Stop.
I'm running Fedora Core, the 2.6.7-1.494.2.2 kernel. If anyone can shed light on this, it'd be much appreciated as this is driving me insane. 
|
|
|
|
08-18-2004, 05:41 AM
|
#2
|
|
Member
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 511
Rep:
|
whats the ls in that directory you are trying to compile?
|
|
|
|
08-18-2004, 05:59 AM
|
#3
|
|
Member
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70
Original Poster
Rep: 
|
Its a firewall proggy. That was just an example that I used. I've tried several programs who's instructions can be summed up as ./configure, make and make install. In each case I recieve the same outputs from those commands.
|
|
|
|
08-18-2004, 08:04 AM
|
#4
|
|
Member
Registered: Jun 2001
Posts: 128
Rep:
|
Re: configure, make and make install commands don't work for me
Quote:
Originally posted by Fenster
[root@localhost autofw-0.3.1]# ./configure
bash: ./configure: No such file or directory
|
make sure their is a file called "configure" in the directory you are in.
./configure just means, execute the file named "configure" that is located in my current directory. The error message you are receiving is saying.. "Umm.. WHAT file named 'configure', I don't see any file named 'configure' here.. ???" If configure doesn't work, make and make install won't either. Maybe you are in the wrong directory, or you didn't get the right source tarball?
That's why he wanted to see the response of "ls" for that autofw-0.3.1 directory...
|
|
|
|
08-18-2004, 08:10 AM
|
#5
|
|
Member
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 511
Rep:
|
yeah, i should have enclosed the `ls' with punctuation, it may have looked more like a typo than anything else.
|
|
|
|
08-18-2004, 09:00 AM
|
#6
|
|
Member
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70
Original Poster
Rep: 
|
Aye, I read your message as "what program are you trying to compile?"
[root@localhost autofw-0.3.1]# ls
AUTHOR autofw.8 daemon.py ifconfig.py NEWS PKG-INFO setup.py
autofw COPYING fw.py netstat.py os README TODO
Quote:
You already opened the tar.gz so you are on your way to install this program.
The simple way is just to run from the directory of this document:
su - -c './autofw -d'
This will ask for root password and run the daemon.
If you want to use it permanently, you should run:
make install
to get the program installed in /usr/local/bin and add a command to start the
daemon from the cron service at reboot. For this you run the command:
crontab -e
as root and add the line:
@reboot /usr/local/bin/autofw -d
to the file in the editor which will be open.
|
And beyond this program in specific, I do run into this problem a lot for any program I try to compile
|
|
|
|
08-18-2004, 09:24 AM
|
#7
|
|
Member
Registered: Jun 2001
Posts: 128
Rep:
|
Quote:
Originally posted by Fenster
[root@localhost autofw-0.3.1]# ls
AUTHOR autofw.8 daemon.py ifconfig.py NEWS PKG-INFO setup.py
autofw COPYING fw.py netstat.py os README TODO
|
Those look like python scripts.. if so, there is nothing to compile. If you have python installed on your computer, you are probably good to go.. just enter the line:
su - -c './autofw -d'
and it should be running. (note: I'm not familiar with this specific package.. so I might be wrong)
As for the line that says "make install", I don't really know what to think about that. Perhaps the documentation isn't up-to-date? Do you understand what cron/crontab is, and why it's suggesting you add an entry to it?
As to your general issue of having trouble with other programs compiling, when I first installed FC2, it didn't install gcc. If you don't have gcc, you can't compile.
|
|
|
|
08-18-2004, 10:38 AM
|
#8
|
|
Member
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70
Original Poster
Rep: 
|
I'm still a linux newb and I'm doing my best to learn it one step at a time, which explains this.
I understand far better now, in that you need a configure script to run. Once again I find that people asking me questions helps me more than giving me an answer. Thank you. 
|
|
|
|
08-18-2004, 10:58 AM
|
#9
|
|
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074
Rep:
|
Well, with Python programs, you can do a lot with the setup.py script, like "python setup.py build" and "python setup.py install".
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:20 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|