Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th December 2008, 02:34 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
What to do after extracting .tar.bz2 files

Hi all, I'm trying to find some understanding on installing and compiling programs. I know this is a fairly frequently asked question so I do apologize, but I can't seem to find an answer anywhere.

I recently downloaded some software 'gvocab-0.2' but am at a loss of what needs to be done next. I've extracted the files to a new folder and read the install file but all it says is 'make help, make install and make uninstall'. I've typed these at a terminal after changing to the right directory but it comes up with *** No rule to make target 'install'. stop.

Can anybody help me? Most of the information I've found elsewhere is program specific and usually has no explanation as to why it works or what it is that you are doing. I was kind of hoping to be cheeky and to ask for some description of what I'm doing and not just the code that will get it to work. Thank you.

I'm running Fedora 9 64-bit, not sure what other information you'd need so if I've left anything out please let me know so I can let you know, what it is that you need to know.
Thank you
Kind regards
Oakems
Reply With Quote
  #2  
Old 4th December 2008, 02:39 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929
You usually start with the command ./configure, assuming that there is a configure file present. Once configure is done you type make and then make install. Then you should be able to run the program. That's how it should work in theory but there are often missing libraries that cause compile errors.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 4th December 2008, 03:06 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
Hi glennzo, thanks for the help. I typed ./configure as root in the directory where the files are and it came up with '-bash: ./configure: No such file or directory'

There are 6 files in the folder named as follows: ChangeLog, gvocab, INSTALL, Makefile, sat-words.xml and ui.glade.

As you can probably tell I'm knew to Linux so I'm not too sure what I'm doing, so any explanation would be great to give me a better understanding so that I can progress from being a know nothing newbie.
Thank you
Reply With Quote
  #4  
Old 4th December 2008, 03:09 PM
Jake's Avatar
Jake Offline
Registered User
 
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576
Open install (in a text editor). it may tell you how to install.

or use cd to go to the directory in terminal, and try running Make.
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
Reply With Quote
  #5  
Old 4th December 2008, 03:17 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
Hi Jake S, thanks for the info. I've tried going to the right directory and typing 'Make' and I get '-bash: Make: command not found'
and inside the INSTALL file it says: make help, make install and make uninstall but none of these help when typed as a command, I get the same error message.
Reply With Quote
  #6  
Old 4th December 2008, 03:20 PM
Jake's Avatar
Jake Offline
Registered User
 
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576
Do you have gcc installed? and other verious things for compiling? if not. then there is your problem.

try these first:

Code:
$ su
password: ...
$ yum install gcc gcc-c++
...
Are you sure (Y/n)? y
...
$ cd /path/to/directory
$ Make
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
Reply With Quote
  #7  
Old 4th December 2008, 03:38 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
Tried that and apparently I have them already installed and the latest version.

Inside the Makefile there's is a lot of code but nothing telling me what to do, and nothing of any help inside the install file except the instructions make install which doesn't work.
Reply With Quote
  #8  
Old 4th December 2008, 03:41 PM
Jake's Avatar
Jake Offline
Registered User
 
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576
does typing /sbin/make work?

The make file is, supposed to be code, it is a file which is used to find the files to compile, which it then executes the make process.
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
Reply With Quote
  #9  
Old 4th December 2008, 03:43 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,124
Code:
gvocab-0.2/> cat INSTALL
Actions:
        make help
        make install
        make uninstall
Options:
        DESTDIR - destition directory.
I don't see how the INSTALL instructions could be any clearer, exept to tell you that you will need root privilege to run the "make install" command. The "make help" command just prints the contents of the INSTALL file, as above.

There is no file, or command, called "Make". There is a file called "Makefile". You don't run "Makefile" directly, it is just a text file, not an executable. Do just what the INSTALL instructions is telling you to do. Become root using "su", then type "make install" (without the quotes) while in the gvocab-0.2 directory . Notice that is "make", not "Make", lower case "m". Yes, you will need gcc (the C compiler) and perhaps a few other support libraries.
Reply With Quote
  #10  
Old 4th December 2008, 03:50 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
Okay, well I think I've managed to install it I was inputting 'Make' instead of 'make' but now that I have installed it, it still won't work.

Is it all right if I post the outcome of what the terminal is telling me? And how can I do this for you.
Many thanks
Reply With Quote
  #11  
Old 4th December 2008, 03:51 PM
Jake's Avatar
Jake Offline
Registered User
 
Join Date: Oct 2008
Location: England, Lincolnshire
Posts: 1,576
If it failed, can you post the last few lines, just the errors? thanks
__________________
Fedora user since FC6.
Linux user since 2003.
Registered Linux ID: #456478
OS: Fedora 16 x86_64
Reply With Quote
  #12  
Old 4th December 2008, 03:54 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
[root@localhost gvocab-0.2]# make
# Actions:
# make help
# make install
# make uninstall
# Options:
# DESTDIR - destition directory. [/root]
[root@localhost gvocab-0.2]# make install
cp -f gvocab gvocab.sed
sed -i "s!ui.glade!/root/share/gvocab/ui.glade!" gvocab.sed
sed -i "s!sat-words.xml!/root/share/gvocab/sat-words.xml!" gvocab.sed
mkdir -p /root/bin
cp -f gvocab.sed /root/bin/gvocab
mkdir -p /root/share/gvocab
cp -f ui.glade /root/share/gvocab/ui.glade
cp -f sat-words.xml /root/share/gvocab/sat-words.xml

This is what it came up with, and it created another file named gvocab.sed which does nothing when i click on it.

I really appreciate the help guys. Thank you
Reply With Quote
  #13  
Old 4th December 2008, 04:12 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,124
I just installed this program to check it out.

There were no "errors" with your install.
Because the default install location is within the home directory of user issuing the "make install" command, unless you use the DESTDIR option to put it outside of your home directory, there is no need to be root.
It creates, or uses, a directory /home/user/bin and creates a directory /home/user/share for its files.
The executable is /home/user/bin/gvocab.
To run it, you just type gvocab. If /home/user/bin is not in your $PATH environment variable, nothing happens except bash will tell you gvocab: command not found.
Type "~/bin/gvocab" to run it.

Okems, you should extract the downloaded gvocab-0.2.tar.bz2 file in your regular user home folder and run the "make install" command in the gvcab-0.2 folder as your regular user, not root, in this case.

Last edited by PabloTwo; 4th December 2008 at 04:15 PM.
Reply With Quote
  #14  
Old 4th December 2008, 04:17 PM
Oakems Offline
Registered User
 
Join Date: Nov 2008
Location: London
Age: 29
Posts: 151
Quote:
Originally Posted by PabloTwo View Post
Code:
gvocab-0.2/> cat INSTALL
Actions:
        make help
        make install
        make uninstall
Options:
        DESTDIR - destition directory.
I don't see how the INSTALL instructions could be any clearer, exept to tell you that you will need root privilege to run the "make install" command. The "make help" command just prints the contents of the INSTALL file, as above.

There is no file, or command, called "Make". There is a file called "Makefile". You don't run "Makefile" directly, it is just a text file, not an executable. Do just what the INSTALL instructions is telling you to do. Become root using "su", then type "make install" (without the quotes) while in the gvocab-0.2 directory . Notice that is "make", not "Make", lower case "m". Yes, you will need gcc (the C compiler) and perhaps a few other support libraries.

Sorry Pabblo, Should of said that ''There is no file, or command, called "Make".'' was the error message I got not a file name. If you look further up the thread you will see a list of the file names I have provided. I'm guessing the error message was because I was silly enough to make the 'Capital letter' mistake.

As for the instructions, for a compete Linux beginner 'make install' is not clear at all, make what exactly? There is no mention at all for how to use this command or where to type it. So you must pardon my ignorance for I know not what I do.
kind regards
Reply With Quote
  #15  
Old 4th December 2008, 04:27 PM
nick.stumpos's Avatar
nick.stumpos Offline
Registered User
 
Join Date: Feb 2005
Location: Lansing, Mi
Age: 28
Posts: 2,222
i downloaded it. its just a python script while you in the gvocab folder just type
./gvocab
__________________
As always
Love, Life, Loyalty, Wisdom, Knowledge, And Understanding
FC6: Common Questions answered
Reply With Quote
Reply

Tags
extracting, files, tarbz2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting Files to a CD rayber Using Fedora 3 21st October 2008 02:25 AM
extracting rar files mrpervie Using Fedora 15 27th December 2006 02:26 AM
Extracting specific files from an rpm BiOPSY Using Fedora 5 4th November 2004 12:06 AM
Extracting MySQL Files Magic Speller Using Fedora 4 30th April 2004 08:09 AM


Current GMT-time: 17:28 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat