LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-29-2005, 01:56 AM   #1
Frank Leone
LQ Newbie
 
Registered: Oct 2005
Distribution: Kubuntu Gutsy Gibbon
Posts: 17

Rep: Reputation: 0
compiling programs from source


Hello,
Tried to follow the info: ( apparantly, I can't post a URL because I haven't posted enough yet to ID that I am not a spammer) but it was an article on the linuxquestions website about how to compile programs from source. It would be much easier to follow my rambling if one could follow the article I was reading : linuxquestions.org/questions/answers.php?action=viewarticle&artid=15
but I was not even close to success. First, I'm running Mandrake 10.2. Ok, I couldn't even download the program to the directory: /usr/local/src as the owner and group is root. So I ended the session and logged in as root, changed that src folder in properties, permissions so the owner was myself and the group was users with all the boxes checked under owner, group and others except for write in others. (clearly you can see that I do not know what I am doing...). Anyway, logged back on as myself again and was able to then download the program (firefox 1.0.7 installer.tar.gz) into the folder. Well, next I tried to type the code (which I assume that I do in the "run command" under menu. Nothing happened, so I tried it in the "Konsole" program and got this :

[frank@localhost ~]$ tar zxf firefox-1.0.7.installer.tar.gz
tar: firefox-1.0.7.installer.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

Please try not to laugh...I'm clueless. But I want to learn. !st, did I screw up something in the scr folder by changing the permission owner/group thing? Please help...I thought that would be an easy thing to start with installing before I tackled installing a program to change my synaptics mousepad settings so the tapping would stop which is driving me crazy. Maybe I shouldn't do this so late at night. Should I back up and read something much more basic about using Linux before trying this level? Any help would be greatly appreciated. Thanks
 
Old 10-29-2005, 02:00 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Several things...

The file you DOWNLOADED isn't a source-tarball, it's a
binary installer in a tar archive, so the how-to you're
trying to follow is inappropriate ...

And you obviously downloaded it to some other location
than your home ... it's probably on your desktop?


Cheers,
Tink

Last edited by Tinkster; 10-29-2005 at 02:01 AM.
 
Old 10-29-2005, 07:37 AM   #3
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
Hello,

First you must be root to install anything:

$su
Password: ********
#
Then first gunzip the file:

#gunzip firefox-1.0.7.installer.tar.gz

What remains is the tarball to extract:

#tar -xvf firefox-1.0.7.installer.tar

The result is a new directory that contains your firefox installer data:

#cd firefox-installer/
#ls -al
total 1316
drw-r--r-- 3 root root 4096 Sep 21 01:46 ./
drwxrwxrwx 3 root root 4096 Oct 29 14:26 ../
-rw-r--r-- 1 root root 41433 Sep 21 01:46 config.ini
-rwxr-xr-x 1 root root 1699 Sep 21 01:46 firefox-installer*
-rwxr-xr-x 1 root root 1192940 Sep 21 01:46 firefox-installer-bin*
-rw-r--r-- 1 root root 8976 Sep 21 01:46 header.png
-rw-r--r-- 1 root root 3289 Sep 21 01:46 install.ini
-rw-r--r-- 1 root root 6423 Sep 21 01:46 license.txt
-rw-r--r-- 1 root root 55809 Sep 21 01:46 watermark.png
drwxr-xr-x 2 root root 4096 Sep 21 01:46 xpi/

The next step:

#./firefox-installer

If you do this right a new gui appears to install firefox.

Good luck,

Sjonnie

Last edited by Sjonnie48; 10-29-2005 at 07:49 AM.
 
Old 10-30-2005, 01:47 AM   #4
Frank Leone
LQ Newbie
 
Registered: Oct 2005
Distribution: Kubuntu Gutsy Gibbon
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you both!
 
  


Reply



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
DISCUSSION: Compiling Programs from Source jeremy LinuxAnswers Discussion 52 03-02-2024 12:26 PM
why is compiling source programs under linux such a headache? guy24x Linux - Software 21 07-28-2005 06:04 AM
Compiling Programs from Source-help orisma Linux - Newbie 6 03-03-2005 07:57 AM
Compiling programs from source rpms coolfrog Linux - General 1 09-10-2004 03:17 PM
Compiling programs from source in Mandrake 10 AMD64 RC1 hydroxy Linux - Software 7 05-12-2004 03:55 PM

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

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