Linux - NewbieThis 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
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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:
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.