LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-21-2006, 12:28 PM   #1
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Rep: Reputation: 0
Installing from source -- "no such file or directory"


want to install Firefox and Thunderbird (both are tar.gz archives downloaded from mozilla website).
did the RTFM'ing (tuxfiles - chapter on installing software from source), where the instructions said (this applies to both Firefox and Thunderbird):

# tar xvzf filename.tar.gz
# cd filename
# ./configure
# make
# make install

Easy right? Yeah, right :-)
here's what I get:

# tar xvzf filename.tar.gz - OK
# cd filename - OK
# ./configure - bash: ./configure: No such file or directory

Here's the content of the readme.txt in Firefox directory (when unpacked):

For information about installing, running and configuring Firefox
including a list of known issues and troubleshooting information,
refer to: http://getfirefox.com/releases/

On the website, I haven't been able to find any pointer or explanation.

Any thoughts? What is causing the problem, some kind of a dependency conflict, or maybe a missing package? I am confused so any help will be appreciated.
 
Old 04-21-2006, 12:36 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I believe the new Firefox and Thunderbird (versions 1.5 and above) don't actually require building from source. I think you just downlaod it and untar it. Then type ./firefox (or ./mozilla-firefox, I don't remember which) from the directory to run it. Same for thunderbird. Also, in general, by convention you install a package like this into /opt or /usr/opt.

What distro are you using? Someone might have already created a package for your distro.
 
Old 04-21-2006, 12:38 PM   #3
celejar
Member
 
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185

Rep: Reputation: 30
Is there a file named 'configure' in the 'filename' directory? Is the file chmod'd executable? Does the partition it is on allow execution of files?
 
Old 04-21-2006, 12:44 PM   #4
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
pljvaldez:
thanks a lot for such a quick response - it's pretty incredible how fast I can get responses!
fyi, SuSe 10.0 is my distro.
when I did like you suggested (Thunderbird), I did not get an "installation" dialogue (in the form you'd be expecting this process to look like in Windows XP) - instead, it looked like Thunderbird was simply going through a setup procedure, asking my POP and SMTP servers etc.
is that alright? I checked in the "About Thunderbird" section and it says "version 1.5" so I presume the newer version has installed.
otherwise, I will concur with what you said - the fact it works is good enough for me - many thanks indeed

celejar:
no there isn't such a file in the directory.

Last edited by seafish_69; 04-21-2006 at 12:46 PM.
 
Old 04-21-2006, 12:47 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Sounds like it's working right. Like I said, it doesn't require you install or build from source. You downloaded the binary file in the tar.gz and you just untar it and it should work (and sounds like it does). Same for Firefox. Now there may be some tricks later on that you'll want to do to make firefox your default web browser and make thunderbird your default mail agent. But those will probably be suse specific and I don't know much about Suse.

Anyway, if you ever want to uninstall Firefox or Thunderbird, all you have to do is delete the folder you untarred and it will go away.
 
Old 04-21-2006, 01:05 PM   #6
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
pljvaldez:
nope, it does not work-well it works but not quite the way I would like it to. I'll explain:
# tar xzvf firefox.tar.gz
# cd firefox
# ./firefox
After this, Firefox starts up and you can see it's a newer version (1.5). BUT. Executing ./firefox, it seems, starts a firefox instance from WITHIN the Firefox directory, which directory is located in my home directory. Which I don't like. I'd much prefer having Firefox installed in a directory where it's supposed to reside (be it /opt/MozillaFirefox or elsewhere). I simply can't get used to having program directories sitting in my /home directory :-) And I somehow get the feeling it is not a good place for them to be.
Once I delete the Firefox directory, everything rolls back, i.e. I get the old 1.0.6 version which came pre-installed with SuSe.
Any thoughts?
 
Old 04-21-2006, 01:14 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You untarred the archive in your home directory, so of course it's going to be in there. Move it to wherever you like and then untar it there, e.g.

$ mv firefox-1.5.tar.gz /opt
$ cd /opt
$ tar zxvf firefox-1.5.tar.gz

tar probably has an option to untar to another directory, without having to move the file there but I'm not sure. You'll need write access to the directory you want to move to (and untar the file in), so you may need to become root.
 
Old 04-21-2006, 01:15 PM   #8
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
Move that directory anywhere that you want and then run the binary. If you would like you can create an entry for it in your menu or elsewhere and just point it to the binary.
 
Old 04-21-2006, 01:16 PM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
mv the folder to the /opt directory. You'll probably then have to uninstall the version that came with suse and recreate some symlinks to point it to the firefox you installed.

Or here's a thread with a link to the rpm for suse.
 
Old 04-22-2006, 06:33 AM   #10
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
many thanks guys for keeping with me. I suspected I should have moved the program's directory to /opt but was not sure. I still sometimes think in a Windows logic. And sure enough, I have a long way to read!

cheers.
 
Old 04-22-2006, 11:46 AM   #11
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
Quote:
tar probably has an option to untar to another directory, without having to move the file there but I'm not sure.
It does, -C, e.g.

Code:
tar zxf ~/firefox-1.5.tar.gz -C /opt
P.S. The -v option to tar lists every file as it unpacks it. This slows down the process by 2 or 3 times since writing to the terminal is hugely slower than writing to disk. Thus, I personally never use the -v option since I've got better things to do. If I want to see what's in a tarball I just look at it with less before untarring it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
SimpleScalar: sslittle-na-sstrix/bin/ld: crt0.o: "no such file or directory" lydia.plath Linux - Software 0 03-18-2006 12:55 PM
Useful article: "Linux File & Directory Permission Mistakes" sundialsvcs Linux - Security 1 08-15-2005 11:50 AM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM
Debian kernels: "warning: can't open /etc/mtab: No such file or directory" brurien Debian 1 10-22-2003 06:09 PM


All times are GMT -5. The time now is 06:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration