LinuxQuestions.org
Help answer threads with 0 replies.
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 05-26-2008, 05:52 PM   #16
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58

I think it would be alot easier if you used your distro package manager instead of compiling stuff
 
Old 05-26-2008, 06:05 PM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,364

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I agree with the previous pts:

1. use your pkg mgr if possible, it'll save you a lot of grief
2. bzip2/bunzip2 is an alternative compression/decompression algorithm to gzip/gunzip. Neither are part of the tar cmd/util.
However you can compress/decompress files (inc tar files) with the appropriate flags (z for gzip, j for bzip2).
Note that its not unknown for files to be mislabelled (wrongly named), so when in doubt, try the 'file' cmd to see what they really consist of.

HTH
 
Old 05-26-2008, 06:23 PM   #18
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
It looks like you need to install some packages before you can compile a tarball. binutils & gawk for starters. Maybe glibc-dev as well.

If the package is available from your distro, that would be a lot easier than compiling from source.
What is the name of the package you downloaded? What you downloaded sounds like an archive file of a source package. Posting the name could have told us that the file ended with .tar.bz2. Then we would know right away that it is a tar archive with bzip2 compression and guess that it probably is a source package.

One other thing that can cause the error you saw when running "./configure" is if you downloaded and extracted the tarball in a directory where you don't have execution permissions. It is best to download the package to your home directory where you have full permissions. I created a ~/downloads directory where I do this. Also, run the "./configure" and "make" steps as a regular user. You need to use sudo to run "make install" as root.

One last thing. Inside the directory you extract are most likely two files, README and INSTALL. Be sure to read them. Some source packages are prepared differently.

Last edited by jschiwal; 05-26-2008 at 06:27 PM.
 
Old 02-24-2009, 05:06 AM   #19
saurabh nigam
Member
 
Registered: Feb 2009
Location: @ /home & @ my blog at http://saurabh-nigam.blogspot.com/
Distribution: Slackware , Fedora , Ubuntu
Posts: 35

Rep: Reputation: 15
Unhappy problem compiling

While installing wireshark I got following output
I ran
[root@localhost wireshark-1.0.6]#./configure


checking if profile builds must be generated... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: GTK+ isn't available, so Wireshark can't be compiled


I think I do not have GTK+
Please guide me.
 
Old 02-24-2009, 06:12 AM   #20
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by saurabh nigam View Post
While installing wireshark I got following output
I ran
[root@localhost wireshark-1.0.6]#./configure


checking if profile builds must be generated... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: GTK+ isn't available, so Wireshark can't be compiled


I think I do not have GTK+
Please guide me.
Install GTK+ using your distribution's package manager. There might also be a package available for Wireshark, so check before trying to install from source (as has been advised earlier on in this thread).
 
Old 08-09-2011, 02:58 AM   #21
Mike Pony
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Rep: Reputation: Disabled
I know it's been a while since this post, but HELP

Quote:
Originally Posted by Nylex View Post
No, it shouldn't make a difference.



What is the exact name of the file you're using? Also, where did you get it?
I'm having the same problem... my file is called "mono-2.10.2.tar.bz2"
I don't know if this will help but perhaps you can look at the instructions I'm following and tell me why my computer thinks this isn't a bzip2 file, or if I'm misunderstanding something... you can tell me what
Is there a mistake in these instructions? --

apt-get update
apt-get install gcc libtool bison pkg-config libglib2.0-dev gettext make bzip2 g++

wget (URL HERE)/mono-2.10.2.tar.bz2
tar xvjf mono-2.10.2.tar.bz2 --

Thanks in advance.
 
Old 08-09-2011, 03:00 AM   #22
Mike Pony
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by Mike Pony View Post
I'm having the same problem... my file is called "mono-2.10.2.tar.bz2"
I don't know if this will help but perhaps you can look at the instructions I'm following and tell me why my computer thinks this isn't a bzip2 file, or if I'm misunderstanding something... you can tell me what
Is there a mistake in these instructions? --

apt-get update
apt-get install gcc libtool bison pkg-config libglib2.0-dev gettext make bzip2 g++

wget (URL HERE)/mono-2.10.2.tar.bz2
tar xvjf mono-2.10.2.tar.bz2 --

Thanks in advance.
I wasn't allowed to post URLs until I made at least one post but here's where I got the file -- http://ftp.novell.com/pub/mono/sources/mono/
 
Old 08-09-2011, 03:17 AM   #23
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by Mike Pony View Post
I'm having the same problem... my file is called "mono-2.10.2.tar.bz2"
I don't know if this will help but perhaps you can look at the instructions I'm following and tell me why my computer thinks this isn't a bzip2 file, or if I'm misunderstanding something... you can tell me what
Is there a mistake in these instructions? --

apt-get update
apt-get install gcc libtool bison pkg-config libglib2.0-dev gettext make bzip2 g++

wget (URL HERE)/mono-2.10.2.tar.bz2
tar xvjf mono-2.10.2.tar.bz2 --

Thanks in advance.
Hi,

please do not resurrect old threads. Start a new one instead and if you think that it helps then link to this thread.

I downloaded the above package and had no problem extracting it with the above command. Maybe your download was corrupted?
What does
Code:
file mono-2.10.2.tar.bz2
say about the file-type?
 
Old 08-09-2011, 03:18 AM   #24
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
SuSE has wireshark in its repository. You could simply run "sudo zypper install wireshark" to install it.

I you want to install the source, try "sudo zypper si wireshark". I have the gcc and C library packages needed to compile packages, but there were still 23 devel packages that needed to be installed on my system. Doing a source install using zypper or yast will install the dependencies.
 
Old 08-09-2011, 03:41 AM   #25
Mike Pony
LQ Newbie
 
Registered: Aug 2011
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by crts View Post
Hi,

please do not resurrect old threads. Start a new one instead and if you think that it helps then link to this thread.

I downloaded the above package and had no problem extracting it with the above command. Maybe your download was corrupted?
What does
Code:
file mono-2.10.2.tar.bz2
say about the file-type?
I cannot convey my appreciation of your timely response as I am INCREDIBLY new to Linux, however I was able to find the file elsewhere and (through a ridiculous process of trial and error that was quite telling of my "newb-ness") edited the before-mentioned instructions to match the exact file directory and name (thank the gods I am at least competent enough with computers in general to do so)...
It's "make-ing" now (whatever that means [I assume it some form of compilation]) and I only have a few steps left before I'm hopefully hosting a C++ based server on my new Linux machine.
Seriously, thanks a million for your response... I'm sure I'll have plenty more questions for you, soon
 
Old 02-20-2012, 12:51 PM   #26
rd8006
LQ Newbie
 
Registered: Aug 2009
Posts: 24

Rep: Reputation: 2
tar bz2

look im not new but run to same thing all time . i can down load pkg. than find it dow loads . than untar it with tar xvjf pkg.this is where make mistakes. i goto the new file name and do ./configure com no such file, than go down hill, what did i wrong here
 
Old 02-20-2012, 03:35 PM   #27
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,300
Blog Entries: 61

Rep: Reputation: Disabled
There's usually a README file in the resulting directory that tells you what to do.
 
Old 08-30-2012, 11:14 PM   #28
anthony2012
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
I need help

I made it all the way through to the end before getting an error. Here is what im getting. Im using Backtrack 5r3 as well. Your probably asking who is a newb using Backtrack? Well I'm really good at Windows and been in the industry for 10 years on the Windows side. I like Linux more and more every time i use it. Any help you can give with this error would be great.

Thanks,

Anthony

anthony@bt:~/Downloads/firefox$ su -c make install
Unknown id: install
anthony@bt:~/Downloads/firefox$ -c make install
-c: command not found
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
su: Authentication failure
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
su: Authentication failure
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
su: Authentication failure
anthony@bt:~/Downloads/firefox$ sudo -c "make install"
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-p prompt]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U username] [-u
username|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
username|#uid] file ...
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
su: Authentication failure
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
su: Authentication failure
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
su: Authentication failure
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
make: *** No rule to make target `install'. Stop.
anthony@bt:~/Downloads/firefox$
anthony@bt:~/Downloads/firefox$ su -c "make install"
Password:
make: *** No rule to make target `install'. Stop.
anthony@bt:~/Downloads/firefox$ ^[[2;3~
 
Old 12-25-2012, 06:18 PM   #29
LuckyMeVegas
LQ Newbie
 
Registered: Nov 2012
Location: Vegas
Distribution: Back Track 5
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by sleekmason View Post
ok heres the simple route:

1 open a terminal

2.cd to your downloaded file. e.g. sleek@0[~]$ cd desktop/ (i'm assuming you downloaded to your desktop. not the ideal place to do this, but for now . . .)

3 unpack your downloded file by typing tar xvfj fluxbox-1.0rc2.tar.bz2 all that will change for you is the name of the package. To make matters easier, if you will type the first 2-3 letters of the name of your download, and then press "tab", your file should fill into place for you. In other words, I would type: tar xvfj flu . . . ."tab" and would get the end result above.

after you unpack, go to your "unpacked" package. Just type: cd name_of_package. (hint: remember the tab button!)

inside that package type: ./configure




after thats done type: make

and finally type: su -c "make install" This will ask you for your root password. Just enter it to continue.


Hope this works for you. It is much easier to use a package manager when at all possible to avoid dependencies. I believe Suse uses Yast.

have tried over and over.. none of these codes work for me now, any of them on this thread. Is it different if you care booting from an external drive? My Hard Drive is not working....
 
  


Reply

Tags
install



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
how do i install .tar.bz2 files on ubuntu? kriogenic Linux - Newbie 11 02-14-2006 10:26 AM
.bz2 files Mr. Hill Linux - Newbie 4 03-13-2005 04:19 AM
how do you install tar.bz2 files? Pbguru Linux - Newbie 1 07-25-2004 04:45 PM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 08:36 AM
unzipping files using bz2 bruce64 Linux - Software 6 07-17-2003 02:51 PM

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

All times are GMT -5. The time now is 02:43 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