LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-18-2004, 05:38 AM   #1
Fenster
Member
 
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70

Rep: Reputation: Disabled
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.
 
Old 08-18-2004, 05:41 AM   #2
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
whats the ls in that directory you are trying to compile?
 
Old 08-18-2004, 05:59 AM   #3
Fenster
Member
 
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-18-2004, 08:04 AM   #4
clausawits
Member
 
Registered: Jun 2001
Posts: 128

Rep: Reputation: 16
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...
 
Old 08-18-2004, 08:10 AM   #5
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
yeah, i should have enclosed the `ls' with punctuation, it may have looked more like a typo than anything else.
 
Old 08-18-2004, 09:00 AM   #6
Fenster
Member
 
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-18-2004, 09:24 AM   #7
clausawits
Member
 
Registered: Jun 2001
Posts: 128

Rep: Reputation: 16
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.
 
Old 08-18-2004, 10:38 AM   #8
Fenster
Member
 
Registered: Jul 2004
Location: Ireland
Distribution: Fedora Core 2
Posts: 70

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-18-2004, 10:58 AM   #9
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Well, with Python programs, you can do a lot with the setup.py script, like "python setup.py build" and "python setup.py install".
 
  


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
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
./configure , make and make install does not work mobassir Linux - Software 7 07-30-2003 09:20 AM
./configure - make - make install can't work ?!? JZL240I-U Linux - General 14 05-05-2003 03:21 AM


All times are GMT -5. The time now is 09:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration