LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-22-2012, 10:05 AM   #1
badgee601
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Installing tarball


I use Linux Mint 12. When installing tarball packages everything goes fine until I try to configure. When I enter "./configure" I get this message: "bash: ./configure: No such file or directory" What am I doing wrong? This has happened with two different packages.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-22-2012, 10:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you're either in the wrong place - you didn't cd into the directory after you untarred it, or you've got the wrong software. How a tarball installs is not necessarily standard in any way, there are no guarentees at all about how you'd get it on your system, unlike rpms / debs etc. it MIGHT would that way, it might not. Is there a genuine reason to use a tarball? If you can avoid it, you probably should.
 
1 members found this post helpful.
Old 02-22-2012, 10:09 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
1. When you type ./configure, are you in the same directory as configure?
2. Do the packages actually have a configure file? Some software comes with a ready-made make file.
 
1 members found this post helpful.
Old 02-22-2012, 10:16 AM   #4
devUnix
Member
 
Registered: Oct 2010
Posts: 606

Rep: Reputation: 59
The error "bash: ./configure: No such file or directory" means the script/file "configure" is not present in the current directory from where you are trying to execute it.

Have you downloaded a zipped/compressed package and unzipped it or extracted its files?

cd /path/to/your/directory/

Usually this should help:

Code:
cd /path/to/your/directory/
Check whether the configure file is present or not:

Code:
ls -l config*
If yes then run it as you did. Then you can run this command:

Code:
./Make install
If the configure script is not present then read the "read me" type of file or some "guide or installation guide" that should be shipped with the package you have downloaded. Check what it says.
 
1 members found this post helpful.
Old 02-22-2012, 11:14 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
When installing tarball packages ..
Which tarballs ?

There are about 10 different ways to build software,
many with no configure script.

Also : There is no configure script in a binary package.

.
 
1 members found this post helpful.
Old 02-22-2012, 07:50 PM   #6
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
use tarball

Also : There is no configure script in a binary package.

Does this mean that a "binary package" is not a 'tar' package? You see 'packages' as individual things and you follow the standard procedure to install that but it fails. If it includes a README is that a binary file or not?

Fred
 
1 members found this post helpful.
Old 02-22-2012, 08:04 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
with out more information other that Mint 12 and some UNKNOWN tarbal archive
and that the OP ran "./configure" SOMEPLACE UNKNOWN TO US

there is NO way we can even offer much help other than wild guesses
so badgee601
1) what is this unknown program?
2) Did you untar it ?
3) If you did then ,how and where did you extract it ?
4) is gcc and autotools installed on mint 12 ?
 
1 members found this post helpful.
Old 02-22-2012, 09:06 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
There is normally a "readme" or "install" text file containing installation instructions in the directory that appears when you decompress a tarball.

It would help if you could link to the link from which you downloaded the file; then we could look at it.
 
1 members found this post helpful.
Old 02-22-2012, 09:45 PM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Maybe it would help to clarify WHAT a tarball is...

Essentially, a tarball is just like a zip file in Windows. It's just an archive that contains multiple files, it could contain ANYTHING. From data, to pictures, to songs, to binary files, to compilable source code.

Assuming you're talking about a tarball that contains code, once you extract the tarball, you need to look for a README or an INSTALL file that will give you instructions on how to compile and install the code contained within. Some of them use a configure script, some of them don't. There is no "standard" for building code contained within a tarball.
 
2 members found this post helpful.
Old 02-24-2012, 07:29 PM   #10
badgee601
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Reply to DevUnix

Quote:
Originally Posted by devUnix View Post
The error "bash: ./configure: No such file or directory" means the script/file "configure" is not present in the current directory from where you are trying to execute it.

Have you downloaded a zipped/compressed package and unzipped it or extracted its files?

cd /path/to/your/directory/

Usually this should help:

Code:
cd /path/to/your/directory/
Check whether the configure file is present or not:

Code:
ls -l config*
If yes then run it as you did. Then you can run this command:

Code:
./Make install
If the configure script is not present then read the "read me" type of file or some "guide or installation guide" that should be shipped with the package you have downloaded. Check what it says.
First of all, thanks for taking the time to try and help me.

The program I've been trying to install is MusE, an open source MIDI/Audio sequencer. I followed the READ ME file's directions, creating a sub directory for the program, which I named "dls," where I extracted the files. Then I followed the directions under the "Configuration" heading:

Configuration:
--------------
There are a few different ways to configure (notice the two dots):

Type "cmake -i .." to run in step-by-step 'Wizard' mode.

Or type "cmake -L .." to see options, then compose "cmake <options>" yourself.
Some <options> are:

-DCMAKE_BUILD_TYPE=<type>
<type> can be blank (to reset a previous cached type to 'empty'),
debug, release, RelWithDebInfo and MinSizeRel.
Release is recommended, to get optimizations.
If no CMAKE_BUILD_TYPE is given at all, cmake uses either the previous
cached value, or else 'empty' (plain or default system optimizations).

-DCMAKE_INSTALL_PREFIX=<prefix>
The installation <prefix> where the program is installed.
The default is to install in /usr/local.

Or type "ccmake .." (if you have it - text-mode GUI). It may be blank so hit
'C' to first-time configure. Fiddle with yer options if ye so desire, then hit
'C' to configure then 'G' to generate and exit, or 'Q' to quit without
generating.

Or there is also a desktop GUI for cmake called cmake-gui.


After which I tried compiling the program:

Compiling:
----------
After configuration, while still in the build directory,type:
make


Then I tried to install:

Installing:
----------
After compiling, type:
make install (as root)
or
sudo make install

This is where I had to stop because I got a message:

make: *** No rule to make target 'install'. Stop.

What am I doing wrong?

Last edited by badgee601; 02-24-2012 at 07:33 PM. Reason: Typing errors
 
Old 02-24-2012, 08:34 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i am guessing this
http://muse-sequencer.org/

now the plot thickens
" cmake "
Is it installed ?
cmake is a different tool than the standard autotools
but WHY not use the prebuilt binaries for debian/ubuntu


http://muse-sequencer.org/index.php/Download#DEB
Code:
sudo apt-get install muse
but if you really want to build from source ....
i am guessing that you downloaded "muse-2.0rc2.tar.gz"
from http://sourceforge.net/projects/lmuse/files/muse-2.0/
minde you rc2 means RELEASE CANDIDATE 2 as in a TESTING version to work out bugs

this zip has a "CMakeLists.txt"
so it is a cmake project
you need to first make sure cmake is installed
if it is then enter the text based gui with ccmake

a word about cmake
IT HATES building in the source file
it dose NOT LIKE IT
in one folder up make a muse-build folder
cd into that in the terminal
then
Code:
ccmake ../muse-2.0rc2
BUT BEFORE you do ANY of that make 00% sure that EVERY dependency IS INSTALLED
-- building the source can be a pain in the "bleep" --
form the readme
install EVERYTHING
Quote:

=============================
Requirements:
=============================


- CMake >= 2.4
http:/www.cmake.org/HTML/Download.html

- QT: Qt >= 4.2.0
http://qt.nokia.com/products/
MusE does _not_ compile with older versions

- gcc >= 4.x.x

- libsndfile >= 1.0.1
http://www.mega-nerd.com/libsndfile/

- libsamplerate
http://www.mega-nerd.com/SRC/

- JACK >= 0.103
http://jackit.sourceforge.net/download/

- libuuid
e2fsprogs package http://e2fsprogs.sourceforge.net/
Some distros may include it in another package, offering a choice.

Optional:

- fluidsynth >= 1.0.3 (formerly known as iiwusynth) from
http://savannah.nongnu.org/download/fluid

- liblo Lightweight OSC (Open Sound Control) http://liblo.sourceforge.net/
- DSSI Disposable Soft Synth Interface. http://dssi.sourceforge.net/
(Both recommended - DSSI alone will have no native GUIs, OSC alone does nothing, for now.)

- dssi-vst Support for DSSI vst plugins http://www.breakfastquay.com/dssi-vst/

- LASH Audio Session Handler http://lash.nongnu.org/
Recently LADISH has been emulating it instead. http://ladish.org/

- ConTeXt (for building documentation, by default the build
script tries to build documentation, can be
disabled by setting ENABLE_DOCUMENTATION to OFF)
 
2 members found this post helpful.
Old 02-24-2012, 11:36 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The Ubuntu prerequisites for muse (2.0~rc2-1) are listed here
http://packages.ubuntu.com/source/precise/muse

Or you can do 1) sudo apt-get build-dep muse
2) sudo apt-get install libqt4-dev liblash-compat-dev


cd muse-2.0rc2/ && mkdir build && cd build/ && cmake ../ && make
→ → No errors.


Installing muse-1.1 : sudo apt-get install muse
... as said by John VV.

.

Last edited by knudfl; 02-25-2012 at 01:31 AM.
 
1 members found this post helpful.
  


Reply



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
Installing tarball files linux12 Linux - Newbie 14 12-19-2011 01:53 AM
Installing Tarball? gael33 Linux - Newbie 5 04-24-2009 03:08 AM
Installing squid with tarball winxandlinx Linux - Networking 1 11-24-2006 02:49 AM
newbie installing tarball jbcolmena Linux - Software 5 02-28-2006 09:52 AM
Need help Installing a Tarball little_penguin Linux - Software 6 02-12-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 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
Open Source Consulting | Domain Registration