Fedora Linux Support Community & Resources Center
Old 27th March 2008, 09:56 AM
leorex Offline
Registered User
Join Date: Sep 2007
Posts: 87
build-essential package

i had the same problem as the post
and i could not find the build-essential package in yumex. i have only livna and adobe as my extra repos.
i went to google but could not find any source for build-essential, instead, i find many posts about debians.
it is kind of really stupid that it does not compile the basic hello.c properly.
please help.
Old 27th March 2008, 10:01 AM
markkuk Offline
Registered User
Join Date: Apr 2005
Location: Finland
Posts: 5,072
"build-essential" is a Debian/Ubuntu package, it doesn't exist in Fedora/Red Hat/CentOS etc.
Install the "Development Tools" package group.
Old 27th March 2008, 10:08 AM
Posts: n/a

yum groupinstall "Development Tools"

There is no build-essential package in redhat distros !!

Old 28th March 2008, 08:36 AM
leorex Offline
Registered User
Join Date: Sep 2007
Posts: 87
still does not quite work.
Thanks for your help anyway.
the screenshot is what i have after installed Develop Tools.
Same output as I compile through GCC in terminal.
in English, it simply take it as warning and the program runs all right.
But under Chinese, as in the second screenshot, where i as to work under at, they take it as error and refuse to comply, as in the second screenshot.
Kind of very slippery, but please help.
Thank you very much for you guys anyway.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-4.png
Views:	1733
Size:	182.3 KB
ID:	15532   Click image for larger version

Name:	Screenshot-5.png
Views:	1131
Size:	172.3 KB
ID:	15533  

Last edited by leorex; 28th March 2008 at 08:51 AM.
Old 28th March 2008, 08:59 AM
leorex Offline
Registered User
Join Date: Sep 2007
Posts: 87
Very Very Sorry.. please ignore my question

it happens simply because i did not include stdio.h as i evoked printf and scanf.(haven't done it for ages!!)
it is a very very stupid mistake.
i am very sorry for all the time you wasted on this post.
Old 28th March 2008, 09:01 AM
Posts: n/a
Right, stdio.h. Also note the whitespace and newlines in your code aren't expensive.
Old 22nd September 2008, 02:02 AM
vginov Offline
Registered User
Join Date: Aug 2008
Posts: 16
The Chinese errors, translated as for Turbo C++ IDE

1. Function SCANF should have a prototype

2. Function PRINTF should have a prototype

Here prototype means the library which holds the functions scanf and printf

To Solve:

Add a line at the beginning of the program called "#include<stdio.h>"

Last edited by vginov; 22nd September 2008 at 02:05 AM.
Old 28th April 2011, 05:42 AM
syncx Offline
Registered User
Join Date: Apr 2011
Posts: 1
Re: build-essential package

i think it should be " yum install kernel-devel " =_)
Closed Thread

buildessential, package

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora equivalent of Debian's/Ubuntu's build-essential? Panarchy Using Fedora 7 3rd April 2009 02:26 AM
uninstalled essential package(s) for Fedora 8, is there any hope? jrtomps Installation, Upgrades and Live Media 3 11th September 2008 05:54 PM
help in installing build-essential nouraldin Installation, Upgrades and Live Media 6 9th September 2008 02:31 PM
help? how to build my own kernel-header rpm package ? hongqian Installation, Upgrades and Live Media 4 19th March 2008 10:44 AM
gcc & build-essential AllanPen Using Fedora 2 3rd June 2007 01:55 AM

Current GMT-time: 18:48 (Tuesday, 22-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat