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 10-06-2006, 02:27 AM   #1
_GOGO_
Member
 
Registered: Oct 2006
Location: Egypt
Distribution: aLinux 12.8 (peanut)
Posts: 33

Rep: Reputation: 15
Problem with GCC plz help


Hi all ..

until now i cant install a (.tar.gz) or a (.tar.bz2)

i know the steps i've read them thousands times

# tar zxvf ****.tar.gz OR tar jxvf ****.tar.bz2

# cd ****

# ./configure

# make

# make install

only the first 2 steps work with me .. when i write ( ./configure )

it says :

bash: ./configure: No such file or directory

or some times

bash: ./configure: /bin/sh: bad interpreter: Permission denied

................

some peaple said to me .. you need to install GCC

and i did install it .. and the problem is still unsolved

what should i do to successfully install tar.gz(bz2) ?

thanks
 
Old 10-06-2006, 03:55 AM   #2
slack_prad
Member
 
Registered: Nov 2005
Location: Chennai, India
Distribution: Ubuntu, Slackware 10.2
Posts: 31

Rep: Reputation: 15
Not all *.tar.gz / bz2 are sources. Some might be binaries. Even if they are sources, they need not follow the normal ./configure - make - make install process.

Anycase, the author would know best. Read the README/INSTALL file in the directory after you tar -xvzf.
 
Old 10-06-2006, 11:46 AM   #3
_GOGO_
Member
 
Registered: Oct 2006
Location: Egypt
Distribution: aLinux 12.8 (peanut)
Posts: 33

Original Poster
Rep: Reputation: 15
but the install.txt says ./configure

okay can you give me a (any program).tar.gz

that works with ./configure to test my computer if it can install tar.gz or .bz2

thanks
 
Old 10-06-2006, 12:20 PM   #4
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Rep: Reputation: 15
You need other things besides gcc I don't know what alinux installs by default (assuming that's the distro you're using) but you also need binutils. What does your distro's docs say about getting a complier working?
 
Old 10-06-2006, 12:32 PM   #5
_GOGO_
Member
 
Registered: Oct 2006
Location: Egypt
Distribution: aLinux 12.8 (peanut)
Posts: 33

Original Poster
Rep: Reputation: 15
what is ( binutils ) ...

and where is my distro's docs ...

sorry but i'm new to linux ,,

thanks
 
Old 10-06-2006, 12:39 PM   #6
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Rep: Reputation: 15
http://www.alinux.org/linux-os-howto.html
The above is the link from alinux's site.

At that site I find this reference to getting your complier working:
Quote:
GCC - Compiler Suite
I want to compile source code and I need GCC. Here's how to install the complete aLinux Compiler Suite:
1. Click [System]+[Package Manager (Synaptic Package Manager)].
2. Click to highlight "Development".
3. Click to highlight the first empty icon square inside "Development" then hit the "ctrl+a" keyboard keys.
4. Right-Click inside the newly highlighted package section and choose 'Mark for installation'.
5. Click "Apply" icon. It will take a while to download and install so please be patient.
 
Old 10-06-2006, 01:01 PM   #7
_GOGO_
Member
 
Registered: Oct 2006
Location: Egypt
Distribution: aLinux 12.8 (peanut)
Posts: 33

Original Poster
Rep: Reputation: 15
yeah thanx slacard for your help ...

but i've read this and the "Development" section in the Synaptic Package Manager

have only one package ( gcc devel 4.1.1-2 ) which i did install it from rpm

and its marked ... there is no other packages to press (Ctrl + A) for ...

i still dont know what to do

i greatly appreciate your help .. i hope you can help me figure it out

Thank You
 
Old 10-06-2006, 01:33 PM   #8
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Rep: Reputation: 15
I have no experiance with alinux. So I don't know what else to advise, but if I understand you then you installed the gcc package using rpm. Is that correct? Why don't you try to go through the exact method in the 5 step guide I quoted? I recommend that because synaptic often includes other packages as dependency resolution.
 
Old 10-06-2006, 02:59 PM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Give us a specific example of what you're trying to build and install and it'll be easier to help you.
 
Old 10-06-2006, 04:01 PM   #10
_GOGO_
Member
 
Registered: Oct 2006
Location: Egypt
Distribution: aLinux 12.8 (peanut)
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
but if I understand you then you installed the gcc package using rpm. Is that correct? Why don't you try to go through the exact method in the 5 step guide I quoted? I recommend that because synaptic often includes other packages as dependency resolution.
GCC is installed to make the ( ./configure ) work

how can i install GCC with no ./configure command working


Quote:
Give us a specific example of what you're trying to build and install and it'll be easier to help you.
Okay ..

firefox-1.5.0.7.tar.gz

go into terminal

cd into the place of firefox-1.5.0.7.tar.gz

write

# tar xzvf firefox-1.5.0.7.tar.gz
firefox/
firefox/.autoreg
firefox/chrome/
firefox/chrome/en-US.jar
firefox/chrome/en-US.manifest
firefox/chrome/browser.jar
firefox/chrome/browser.manifest
firefox/chrome/classic.jar
firefox/chrome/classic.manifest
firefox/chrome/comm.jar
firefox/chrome/comm.manifest
firefox/chrome/toolkit.jar
firefox/chrome/toolkit.manifest
firefox/chrome/icons/
firefox/chrome/icons/default/
ETC ...


(root@aLinux)-(10:57 PM Sat Oct 07)-(linux)
# cd firefox

(root@aLinux)-(10:57 PM Sat Oct 07)-(firefox)
# ./configure
bash: ./configure: No such file or directory

Last edited by _GOGO_; 10-06-2006 at 04:02 PM.
 
Old 10-06-2006, 10:27 PM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
As you can see, Firefox doesn't have a configure file. You've already been told earlier on in this thread (by slack_prad) that not all tarballs contain source. The tarball for Firefox that you downloaded contains a binary, so you can just run that (provided you have the required libraries installed). The Firefox source code is also available, though.

Quote:
Originally Posted by _GOGO_
how can i install GCC with no ./configure command working
The GCC packages only depend on configure if they're source code, i.e. need to be built (obviously, they'll also require a compiler). You can just install a pre-built package for your distro (e.g. RPM, .deb, or whatever it is that yours uses).

Edit: I hope you're not using the root account all the time :/.

Last edited by Nylex; 10-06-2006 at 10:36 PM.
 
  


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
PLZ help with Partition problem gr00ve Linux - General 0 10-12-2004 03:09 PM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
plz.... i have problem.. Redhat8 ksdsya Linux - Hardware 1 07-31-2003 09:18 AM
wx-config problem strange problem plz help glacier1985 Linux - Software 4 07-26-2003 05:20 PM
wolfenstein problem plz help a golf pro Linux - Software 1 04-19-2003 06:21 PM

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

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