openSUSE Forums > Archives > Novell Archives » Compiling Errors

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-May-2006, 20:11
bluenotesou@hotmail.com
Guest
 
Posts: n/a
Default Compiling Errors

I'm new to Linux and I just installed a version SUSE 10 that came with the
"SUSE Linux 10 for Dummies" book. Everything is fine so far, except
whenever I try to compile a new app using ./configure, I get this error
message:

Timothy@106-205:~/apps/tse3-0.3.1> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

This happens with every program I try to install. Any advice would be
greatly appreciated.

-Timothy
  #2 (permalink)  
Old 07-May-2006, 20:33
Justin Grote [SysOp]
Guest
 
Posts: n/a
Default Re: Compiling Errors

bluenotesou@hotmail.com wrote:
> I'm new to Linux and I just installed a version SUSE 10 that came with the
> "SUSE Linux 10 for Dummies" book. Everything is fine so far, except
> whenever I try to compile a new app using ./configure, I get this error
> message:
>
> Timothy@106-205:~/apps/tse3-0.3.1> ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... no
> checking for cc... no
> checking for cc... no
> checking for cl... no
> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
>
> This happens with every program I try to install. Any advice would be
> greatly appreciated.
>
> -Timothy


yast -i gcc, or install gcc using the YaST Software Management tool.

that should fix it. You dont have the GNU C compiler installed. You may
also have to install automake and autoconf.

--
Justin Grote
Novell Support Connection Sysop
Network Architect
JWG Networks
  #3 (permalink)  
Old 07-May-2006, 20:53
bluenotesoul@hotmail.com
Guest
 
Posts: n/a
Default Re: Compiling Errors

> yast -i gcc, or install gcc using the YaST Software Management tool.
>
> that should fix it. You dont have the GNU C compiler installed. You may
> also have to install automake and autoconf.
>
> --
> Justin Grote
> Novell Support Connection Sysop
> Network Architect
> JWG Networks


I opened the YaST software management tool and typed in GCC in the search
bar and these packages came up:

cpp
libgcc
libgcj

Now what?
  #4 (permalink)  
Old 07-May-2006, 21:32
Justin Grote [SysOp]
Guest
 
Posts: n/a
Default Re: Compiling Errors

bluenotesoul@hotmail.com wrote:
>> yast -i gcc, or install gcc using the YaST Software Management tool.
>>
>> that should fix it. You dont have the GNU C compiler installed. You may
>> also have to install automake and autoconf.
>>
>> --
>> Justin Grote
>> Novell Support Connection Sysop
>> Network Architect
>> JWG Networks

>
> I opened the YaST software management tool and typed in GCC in the search
> bar and these packages came up:
>
> cpp
> libgcc
> libgcj
>
> Now what?


GCC should have come up in the list. Did you type it in lowercase? Also,
just try yast -i gcc from a command line terminal as root, it should
install gcc and any packages it depends on.

--
Justin Grote
Novell Support Connection Sysop
Network Architect
JWG Networks
  #5 (permalink)  
Old 07-May-2006, 22:31
bluenotesoul@hotmail.com
Guest
 
Posts: n/a
Default Re: Compiling Errors


> GCC should have come up in the list. Did you type it in lowercase? Also,
> just try yast -i gcc from a command line terminal as root, it should
> install gcc and any packages it depends on.
>
> --
> Justin Grote
> Novell Support Connection Sysop
> Network Architect
> JWG Networks


I ran yast -i gcc from the command line as root and I got this message:

Error:

Following packages could not be found on the medium:
gcc
  #6 (permalink)  
Old 07-May-2006, 23:18
Justin Grote [SysOp]
Guest
 
Posts: n/a
Default Re: Compiling Errors

bluenotesoul@hotmail.com wrote:
> Following packages could not be found on the medium:
> gcc


Your CD's may be incomplete. Try going to yast "add installation source"
and add this as an HTTP source:

http://mirrors.kernel.org/opensuse/d...S/inst-source/

You should be able to get the GCC packages. In fact, if you remove the
CD installation source, you should be able to get all packages directly
from this mirror without having to swap CDs every time you want to
install something.

Here's info on how to do it:
http://susewiki.org/index.php?title=Add_YaST_Source


--
Justin Grote
Novell Support Connection Sysop
Network Architect
JWG Networks
  #7 (permalink)  
Old 07-May-2006, 23:19
Justin Grote [SysOp]
Guest
 
Posts: n/a
Default Re: Compiling Errors

Here's another source of info about changing your install source too:
http://www.novell.com/coolsolutions/feature/16592.html

--
Justin Grote
Novell Support Connection Sysop
Network Architect
JWG Networks
  #8 (permalink)  
Old 08-May-2006, 00:04
Bluenotesoul@hotmail.com
Guest
 
Posts: n/a
Default Re: Compiling Errors

> Here's another source of info about changing your install source too:
> http://www.novell.com/coolsolutions/feature/16592.html
>
> --
> Justin Grote
> Novell Support Connection Sysop
> Network Architect
> JWG Networks


That solved my problems. Thank you!

-Tim
 

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2