LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2009, 10:09 PM   #1
vex390
LQ Newbie
 
Registered: Oct 2009
Posts: 24

Rep: Reputation: 15
Firefox source code install troubles


i'm installing linux from source code for the sake of doing it that way so i'll know how to in the future instead of being solely dependant on synaptic. so when i decompile the tar.bz2 file it makes a new directory like it should and then i changed the directory to the output file but then the directions i'm following tell me to punch in "./configure" and i get this error message: bash: ./configure: No such file or directory


what am i supposed to do now? neither make nor make install work. they have the error message of no make file found, no target, and no rule found (something like that).


this is what's in the directory: application.ini libfreebl3.so modules
blocklist.xml libmozjs.so mozilla-xremote-client
browserconfig.properties libnspr4.so old-homepage-default.properties
chrome libnss3.so platform.ini
components libnssckbi.so plugins
crashreporter libnssdbm3.so README.txt
crashreporter.ini libnssutil3.so removed-files
crashreporter-override.ini libplc4.so res
defaults libplds4.so run-mozilla.sh
dictionaries libsmime3.so searchplugins
extensions libsoftokn3.chk Throbber-small.gif
firefox libsoftokn3.so update.locale
firefox-bin libsqlite3.so updater
greprefs libssl3.so updater.ini
icons libxpcom.so
libfreebl3.chk libxul.so


oh and the only thing that the READ ME.txt says is this: For information about installing, running and configuring Firefox
including a list of known issues and troubleshooting information,
refer to: http://getfirefox.com/releases/

so what am i supposed to do next???

Last edited by vex390; 10-13-2009 at 12:06 AM.
 
Old 10-12-2009, 10:50 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
There is not configure file, thats true and it is normal. Just type "make menuconfig" instead. Then you will have to do make, make modules install and make install. After that, you will have to take a look at your grub config to point to the new kernel, setup yout initramfs if you want to build one and test everything.
 
Old 10-12-2009, 10:54 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,521

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
this IS NOT A configure OR makefile program
i take YOU DID NOT read the README file !!!

this is the firefox binary install
read the README file for the instructions

there is NO compiling for this file .
 
Old 10-12-2009, 10:56 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
It appears that what you have there, based on the file names of the stuff you listed from the unpacked archive, is an already-built firefox installation. It is not source code.

If you actually enter that unpacked directory, and type "./run-mozilla.sh" or just "./firefox" then chances are good, a firefox will start up. If you wanted to, you could re-package that archive as a package for your system (an .RPM or a .DEB) to be installed properly.

If you really want to build Firefox from source, you'll need to download the source code, and you'll need a bunch of non-standard stuff installed in your Linux system, such as the Java ANT build system, in order to compile the firefox executable for Linux.

I suspect the title of this thread should be "Building Firefox from Source on Linux", and if so, perhaps fixing that title will get you more readers who know what they're talking about and can actually help you build Firefox if you wish.

Note: from what I've read, there's not usually any reason for most users to build Firefox from scratch (from source), as it is already compiled optimally for most users.

Sasha
 
Old 10-12-2009, 11:00 PM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Looks like you've downloaded something that is already compiled. You can try to run firefox (or firefox-bin (if that's not a directory).

It's a bit messy as the so files usually reside in one of the system directories.

Unfortunately we can not see what are directories and what are files. Can you post the output of ls -l on that directory?

Some corrections on your title/text:
your not installing linux but you're installing firefox (by the looks of it)
you did not decompile but you did extract the tar.bz2
 
Old 10-13-2009, 09:19 AM   #6
vex390
LQ Newbie
 
Registered: Oct 2009
Posts: 24

Original Poster
Rep: Reputation: 15
thanks guys that would explain why i'm can't get it installed.
 
Old 10-13-2009, 01:36 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
What I do is get source code from here:
http://releases.mozilla.org/pub/mozi...st-3.5/source/

Make a file called '.mozconfig' in your home directory. And put something like this in it:

Code:
ac_add_options --enable-application=browser
ac_add_options --disable-tests 
ac_add_options --disable-debug
ac_add_options --enable-strip
ac_add_options --enable-libxul
ac_add_options --with-pthreads
ac_add_options --enable-safe-browsing
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --disable-xprint
ac_add_options --disable-gnomeui
ac_add_options --disable-gnomevfs
ac_add_options --disable-mailnews
ac_add_options --disable-crashreporter
ac_add_options --enable-places
ac_add_options --enable-jemalloc
ac_add_options --prefix=/home/demonslayer/lib/firefox
Fixing things for your own liking of course:
https://developer.mozilla.org/en/Con..._Build_Options

Then just './configure' 'make' 'make install'.
 
  


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
how to install source code in the linux kernel somashekar.bhogaiah Linux - Newbie 3 07-09-2009 06:58 AM
source code install problems PorPorMe Linux - Software 3 02-16-2008 10:58 AM
How do I install the Linux kernel source code?? thearchitect Linux - Newbie 3 08-13-2005 12:07 AM
How to install wine ? from the source code. my-unix-dream Linux - Newbie 1 07-06-2004 11:04 PM
Where do you install source code arkamir Linux - Software 3 12-01-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:17 PM.

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