LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-01-2006, 09:00 AM   #1
clix
LQ Newbie
 
Registered: Jun 2006
Distribution: suse 10.1
Posts: 7

Rep: Reputation: 0
Red face problem installing prog


hi i am trying to install a program on linux and i have read a tutorial in which it tells me to go to the directory type:

./configure
make
make install

but when i type ./configure i get the following error...


Code:
clix@linux-jzeq:~/Desktop/gcc-4.1.1-20060517> ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
could anyone help me? i am
 
Old 07-01-2006, 09:17 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You need to install the gcc compiler package. It would be hard to compile the source without a compiler.
Actually, it would be a good idea to also install the gcc-c++ package as well. If you don't need it this time, you will likely need it later.

Be sure to read the README and INSTALL files inside the directory. They should list the dependencies that you need.

Often, when there is a dependency for a program that you install from a binary package. Let's say for example, the SDL package. If you install from source, you often need to install SDL-devel as well. ( SDL here is an example only). You might as well install the <package name>-devel packages if they are available.

Last edited by jschiwal; 07-02-2006 at 04:14 AM.
 
Old 07-02-2006, 06:55 AM   #3
clix
LQ Newbie
 
Registered: Jun 2006
Distribution: suse 10.1
Posts: 7

Original Poster
Rep: Reputation: 0
hi, i have gone to http://gcc.gnu.org/ and looked for the gcc compiler package and have found GCC.4.1.1 version and downloaded that... i am not sure if this is the gcc compiler package or the gcc-c++ package...

i have downloaded the gcc.4.1.1 version and cannot install it due to the same reason above so therefore i think i have downloaded the gcc-c++ version.. i have tried googling the compiler package and dont know where to find it.

 
Old 07-02-2006, 08:14 AM   #4
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
i have downloaded the gcc.4.1.1 version and cannot install it due to the same reason

Your distribution should have a precompiled package for you to use precisely for this reason.

i have tried googling the compiler package and dont know where to find it.

Don't you know what distribution you're using?
 
Old 07-02-2006, 08:34 AM   #5
clix
LQ Newbie
 
Registered: Jun 2006
Distribution: suse 10.1
Posts: 7

Original Poster
Rep: Reputation: 0
my distro is suse 10.1
 
Old 07-02-2006, 09:15 AM   #6
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
SuSE Linux uses a (GUI) tool called YaST(2) to install packages. Details regarding its configuration should be fairly easy to find on the SuSE homepage, here on LQ, or via any decent internet search-engine. When it is properly configured, and if you use YaST with some decent package repositories, you may never have to compile anything at all to install programs. I hope that helps.

PS
Might be useful to add your distro to your user-profile, since that is very useful information for people here who want to answer your question
 
Old 07-04-2006, 05:10 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
SuSE 10.1 includes these packages:
gcc
gcc-info
gcc-c++-4.1.0-25
libgcc

I would recommend installing all of them using YaST.

While you are at it, check if the program you want to install is available on one of your installation disks. Except for xmms, xine ,mplayer and audacity, you probably will be better of installing the binary package that comes with your system. The xmms and audacity packages are built without propriety support for mp3's for example, and won't play DVDs for legal reasons.

For these, I would recommend optaining the "Packman" packages. ( Go to http://rpm.pbone.net and include SuSE Other in your search. )

Last edited by jschiwal; 07-04-2006 at 05:14 PM.
 
  


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
installing prog clix Linux - Software 4 07-01-2006 08:46 AM
installing tuxkart? How do I run the prog? spondootre Linux - Games 5 05-17-2006 07:12 AM
Dynip on Mandrake 10.1 problem with client prog Neil_Searle Linux - Networking 1 03-12-2006 08:48 AM
fail-safe update prog, how much is the file system a problem? Thinking Programming 4 02-24-2006 05:18 AM
I want to start a prog from another prog but not as child grupoapunte Programming 5 05-23-2005 05:37 PM

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

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