LinuxQuestions.org
Visit Jeremy's Blog.
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 10-08-2006, 05:25 AM   #1
Neko_D
Member
 
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, 06:12 AM   #2
crazyjimbo
Member
 
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
Code:
 ls
in that directory.
 
Old 10-08-2006, 07:01 AM   #3
IBall
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.

--Ian
 
Old 10-08-2006, 01:22 PM   #4
Neko_D
Member
 
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

Quote:
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 `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You only need
`configure.ac' 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
documentation.

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.
Quote:
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 parted.info

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 http://www.luv.asn.au/overheads/parted
* the GNU Parted home page is http://www.gnu.org/software/parted
* the GNU Parted FAQ can be found at
http://www.gnu.org/software/parted/faq.html
* send bug reports, requests for help, feature requests, comments, etc. to
bug-parted@gnu.org. The authors can be contacted directly (see the AUTHORS
file).
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
Quote:
Originally Posted by ls
ABOUT-NLS config.h.in debug libtool NEWS README
aclocal.m4 config.log depcomp ltmain.sh parted scripts
AUTHORS config.rpath doc m4 parted.m4 THANKS
BUGS config.sub include Makefile.am parted.spec TODO
ChangeLog configure INSTALL Makefile.in parted.spec.in
compile configure.ac install-sh missing partprobe
config.guess COPYING libparted mkinstalldirs po
Thanks for any help.
 
Old 10-08-2006, 08:03 PM   #5
MasterC
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:
./configure

Cool
 
Old 10-09-2006, 11:05 AM   #6
Neko_D
Member
 
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
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:
./configure

Cool
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.
 
  


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


All times are GMT -5. The time now is 03:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration