I extracted the source, opened the terminal, moved to source directory and ran the following command:
Error: command not found! what is wrong with it?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Firstly, don't do
sudo su. You can build as your user.
I assume you are building bluefish from SVN, and thus don't have a
configure script. You can create it by running
./autogen.sh, as described here: http://bluefish.openoffice.nl/development.html
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish cd bluefish ./autogen.sh ./configure make sudo make install
First you should extract the contents of the *.tar.gz file in a directory. Read instructions in the INSTALL file, which gives you detailed instructions how to do it.
For "some" software you want to install the following method works: 1. extract the archive into a directory 2. cd to that directory 3. ./configure (add "--prefix=/usr" if you want to install it in /usr) 4. make 5. sudo make install
That is all to it.
Make sure to first install build-essential:
sudo apt-get install build-essential
Afterward, configure should alert you to any other programs or libraries that are required to compile the software.
to compile a program from source, unpack the archive as follows:
tar -xf fooprog.tar
then go into the unpacked directors (usually same name):
in this folder as first step invoke:
Not all programs come with a configure script but many. Read the README or INSTALL file which is usually in the archive for more information.
After configure succeeded, proceed with:
and if that also succeeded install the software with:
sudo make install
Usually you only need to invoke this last step as superuser (sudo)
If configure fails you should look at the output and install all the packages it requires, especially also build-essential the way, christopher recommended.
Assuming "configure" exists, this message can mean that something referenced by the file was missing.
bash +x ./configure
If it still doesn't work, post (some of) the output (edit your question above).