configure, make and make install commands don't work for me
FedoraThis 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.
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.
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.
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...
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.