Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-08-2006, 06:25 AM   #1
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Rep: Reputation: 15
why can't I "make" anything?

I am playing with this whole compling your own software business on Fedora.

So here is what I am doing.
  1. Unzip the file
  2. Change into the new dir
  3. run ./configure
  4. Finally run make
And at the last point they system tries to make. Then stops and displays "No Targets Specified and no Makefile found". Did I miss a step?
Old 10-08-2006, 07:12 AM   #2
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90

Rep: Reputation: 16
Does the program you are trying to compile actually have a Makefile to install it with? There should be a readme or installation guide included with so have a look at that for specific instructions for that program. Failing that, post the out put of
in that directory.
Old 10-08-2006, 08:01 AM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
That looks right. What software are you trying to install? The problem is that there is no makefile in the directory that you are in, so it is possible that you are not supposed to make. Look in that directory, and see if there is a README or INSTALL.TXT (or similar) and read that.

On a side not, I tend to think that it is better to install programs using your distros package manager rather than compiling. On Fedora, Yum is quite good, as is its graphical frontend Pirut.

Old 10-08-2006, 02:22 PM   #4
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Ok the program I am trying to make is a GNU program called Parted. I will post the installation instructions I followed from reading INSTALL and README

Originally Posted by INSTALL
asic Installation

These are generic installation instructions.

The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').

It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. (Caching is
disabled by default to prevent problems with accidental use of stale
cache files.)

If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.

The file `' (or `') is used to create
`configure' by a program called `autoconf'. You only need
`' if you want to change it or regenerate `configure' using
a newer version of `autoconf'.

The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with
the package.

4. Type `make install' to install the programs and any data files and

5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Originally Posted by README
NU Parted

GNU Parted is a program for creating, destroying, resizing, checking and
copying partitions, and the filesystems on them. This is useful for creating
space for new operating systems, reorganising disk usage, copying data between
hard disks, and disk imaging.

* documentation is in the doc/ directory. The User's documentation is in
texinfo format, and is built into a format viewable by info/pinfo when
you run make. i.e.

$ ./configure
$ cd doc
$ make
$ info -f

Yes, it sucks that you need to run ./configure before you can read the manual.
If you have problems with it, doc/parted.texi should be fairly easy to read,
just a bit less userfriendly.
If you prefer html format, you can run:

$ cd doc
$ makeinfo --html parted.texi

* an online tutorial is available at
* the GNU Parted home page is
* the GNU Parted FAQ can be found at
* send bug reports, requests for help, feature requests, comments, etc. to The authors can be contacted directly (see the AUTHORS
Not I went to the FAQ pages and was unable to find any help especially since I could not get to the very first one

And here are the results of the ls command in the folder
Originally Posted by ls
aclocal.m4 config.log depcomp parted scripts
AUTHORS config.rpath doc m4 parted.m4 THANKS
BUGS config.sub include parted.spec TODO
ChangeLog configure INSTALL
compile install-sh missing partprobe
config.guess COPYING libparted mkinstalldirs po
Thanks for any help.
Old 10-08-2006, 09:03 PM   #5
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
yum install parted

Otherwise, it looks like maybe configure isn't completing successfully. Can you post up the last 10 or so lines from the results of running:

Old 10-09-2006, 12:05 PM   #6
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Originally Posted by MasterC
yum install parted

Otherwise, it looks like maybe configure isn't completing successfully. Can you post up the last 10 or so lines from the results of running:

I will do that when I get home, Also I killed that partition and am going to try again with a fresh partition. I will let you know how things go.


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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
window maker "make" / "make install" problem xiekke Fedora 2 08-08-2007 11:55 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 04:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration