LinuxQuestions.org
Review your favorite Linux distribution.
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 06-01-2009, 12:31 PM   #1
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
No C compiler found in $PATH


Hi guys I have tried to install several programs and every time I try ./configure it goes for a little bit and then stops saying

"no appropriate C compiler found in $PATH"

I am a newbie and don't know where to go from here.

thanks for the imput
 
Old 06-01-2009, 12:34 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you need to install gcc
 
Old 06-01-2009, 12:56 PM   #3
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
you need to install gcc
ok I installed gcc. the ./configure seemed to work just fine so I typed in "make"

this is what I ended up with

Code:
In file included from update.c:35:
main.h:190: warning: ‘struct stat’ declared inside parameter list
main.h:190: warning: its scope is only this definition or declaration, which is probably not what you want
gcc -std=gnu99  -g -O2  -Wl,-O1 -o dpkg  archives.o cleanup.o configure.o depcon.o enquiry.o errors.o filesdb.o help.o main.o packages.o processarc.o remove.o select.o update.o  ../lib/libdpkg.a    
processarc.o: In function `process_archive':
/home/Tech/dpkg/dpkg-1.13.25/src/processarc.c:166: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -DADMINDIR=\"/usr/local/var/dpkg\" -I../lib    -g -O2 -MT query.o -MD -MP -MF ".deps/query.Tpo" -c -o query.o query.c; \
	then mv -f ".deps/query.Tpo" ".deps/query.Po"; else rm -f ".deps/query.Tpo"; exit 1; fi
gcc -std=gnu99  -g -O2  -Wl,-O1 -o dpkg-query  errors.o filesdb.o query.o  ../lib/libdpkg.a 
make[2]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/src'
Making all in dselect
make[2]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
Making all in methods
make[3]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/methods'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/methods'
Making all in po
make[3]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect/po'
make[3]: Entering directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -DADMINDIR=\"/usr/local/var/dpkg\" -DLIBDIR=\"/usr/local/lib/dpkg\" -I../lib    -g -O2 -MT basecmds.o -MD -MP -MF ".deps/basecmds.Tpo" -c -o basecmds.o basecmds.cc; \
	then mv -f ".deps/basecmds.Tpo" ".deps/basecmds.Po"; else rm -f ".deps/basecmds.Tpo"; exit 1; fi
In file included from basecmds.cc:33:
dselect.h:31:20: error: curses.h: No such file or directory
In file included from basecmds.cc:33:
dselect.h:56: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
dselect.h:56: error: expected ‘;’ before ‘*’ token
dselect.h:57: error: ISO C++ forbids declaration of ‘WINDOW’ with no type
dselect.h:57: error: expected ‘;’ before ‘*’ token
dselect.h:141: error: variable or field ‘mywerase’ declared void
dselect.h:141: error: ‘WINDOW’ was not declared in this scope
dselect.h:141: error: ‘win’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::kd_redraw()’:
basecmds.cc:87: error: ‘curscr’ was not declared in this scope
basecmds.cc:87: error: ‘TRUE’ was not declared in this scope
basecmds.cc:87: error: ‘clearok’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::kd_searchagain()’:
basecmds.cc:93: error: ‘beep’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::kd_search()’:
basecmds.cc:120: error: ‘querywin’ was not declared in this scope
basecmds.cc:120: error: ‘werase’ was not declared in this scope
basecmds.cc:121: error: ‘mvwaddstr’ was not declared in this scope
basecmds.cc:122: error: ‘echo’ was not declared in this scope
basecmds.cc:123: error: ‘wgetnstr’ was not declared in this scope
basecmds.cc:123: error: ‘ERR’ was not declared in this scope
basecmds.cc:126: error: ‘noecho’ was not declared in this scope
basecmds.cc:127: error: ‘whatinfowin’ was not declared in this scope
basecmds.cc:127: error: ‘touchwin’ was not declared in this scope
basecmds.cc:128: error: ‘infopad’ was not declared in this scope
basecmds.cc:128: error: ‘touchwin’ was not declared in this scope
basecmds.cc:130: error: ‘listpad’ was not declared in this scope
basecmds.cc:130: error: ‘touchwin’ was not declared in this scope
basecmds.cc:133: error: ‘beep’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::displayerror(const char*)’:
basecmds.cc:146: error: ‘beep’ was not declared in this scope
basecmds.cc:147: error: ‘querywin’ was not declared in this scope
basecmds.cc:147: error: ‘werase’ was not declared in this scope
basecmds.cc:148: error: ‘mvwaddstr’ was not declared in this scope
basecmds.cc:150: error: ‘wgetch’ was not declared in this scope
basecmds.cc:151: error: ‘whatinfowin’ was not declared in this scope
basecmds.cc:151: error: ‘touchwin’ was not declared in this scope
basecmds.cc:152: error: ‘infopad’ was not declared in this scope
basecmds.cc:152: error: ‘touchwin’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::displayhelp(const helpmenuentry*, int)’:
basecmds.cc:161: error: ‘stdscr’ was not declared in this scope
basecmds.cc:161: error: ‘getmaxyx’ was not declared in this scope
basecmds.cc:162: error: ‘wbkgdset’ was not declared in this scope
basecmds.cc:163: error: ‘TRUE’ was not declared in this scope
basecmds.cc:163: error: ‘clearok’ was not declared in this scope
basecmds.cc:165: error: ‘werase’ was not declared in this scope
basecmds.cc:168: error: ‘attrset’ was not declared in this scope
basecmds.cc:169: error: ‘mvaddstr’ was not declared in this scope
basecmds.cc:172: error: ‘addstr’ was not declared in this scope
basecmds.cc:173: error: ‘getyx’ was not declared in this scope
basecmds.cc:174: error: ‘addch’ was not declared in this scope
basecmds.cc:179: error: ‘addch’ was not declared in this scope
basecmds.cc:180: error: ‘move’ was not declared in this scope
basecmds.cc:181: error: ‘A_NORMAL’ was not declared in this scope
basecmds.cc:184: error: ‘mvaddstr’ was not declared in this scope
basecmds.cc:186: error: ‘A_BOLD’ was not declared in this scope
basecmds.cc:186: error: ‘attrset’ was not declared in this scope
basecmds.cc:187: error: ‘mvaddch’ was not declared in this scope
basecmds.cc:188: error: ‘A_NORMAL’ was not declared in this scope
basecmds.cc:196: error: ‘refresh’ was not declared in this scope
basecmds.cc:197: error: ‘getch’ was not declared in this scope
basecmds.cc:207: error: ‘werase’ was not declared in this scope
basecmds.cc:209: error: ‘wnoutrefresh’ was not declared in this scope
basecmds.cc:216: error: ‘whatinfowin’ was not declared in this scope
basecmds.cc: In member function ‘void baselist::setcursor(int)’:
basecmds.cc:224: error: ‘listpad’ was not declared in this scope
basecmds.cc:230: error: ‘listpad’ was not declared in this scope
make[3]: *** [basecmds.o] Error 1
make[3]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25/dselect'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Tech/dpkg/dpkg-1.13.25'
make: *** [all] Error 2
I am an newbie and have no Idea what this means. thanks for the input.

note that this is just what seems to be the bad part. I didnt want to make you scroll through the stuff that went well.

Last edited by linux hates me; 06-01-2009 at 01:01 PM.
 
Old 06-01-2009, 12:59 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What are you installing?
Why install from source?
Can't you install using the packet manager?
 
Old 06-01-2009, 01:01 PM   #5
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
I am trying to install dpkg

and what is the packet manager

Last edited by linux hates me; 06-01-2009 at 01:04 PM.
 
Old 06-01-2009, 01:03 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Code:
dselect.h:31:20: error: curses.h: No such file or directory
You have to install ncurses-devel. Which software are you trying to install? Have you checked if there is a binary package already compiled for you by the Fedora team?
 
Old 06-01-2009, 01:06 PM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by linux hates me View Post
I am trying to install dpkg

and what is the packet manager
Why install the package manager of Debian-based system on fedora? If you are looking for a command line package manager, use yum. It is installed by default.
 
Old 06-01-2009, 01:09 PM   #8
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
Code:
dselect.h:31:20: error: curses.h: No such file or directory
You have to install ncurses-devel. Which software are you trying to install? Have you checked if there is a binary package already compiled for you by the Fedora team?
dpkg is the command that installs .deb files. it was not on yum so I had to install it manually.
 
Old 06-01-2009, 01:12 PM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You could try the rpm
http://rpm.pbone.net/index.php3?stat...40&search=dpkg
However why do you need dpkg, and wouldn't it break yum?
 
Old 06-01-2009, 01:21 PM   #10
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
good point colucix I didnt realize it was for a debian-based system. that would be a problem so never mind everybody
 
Old 06-01-2009, 01:23 PM   #11
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by linux hates me View Post
dpkg is the command that installs .deb files. it was not on yum so I had to install it manually.
You can't install deb packages on a rpm based system! You can convert deb to rpm packages using alien, but you cannot install a deb directly, so you don't need dpkg.
 
Old 06-01-2009, 01:24 PM   #12
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by linux hates me View Post
good point colucix I didnt realize it was for a debian-based system. that would be a problem so never mind everybody
Which debian packages you need to install? Maybe you can find the rpm counterparts.
 
Old 06-01-2009, 01:33 PM   #13
linux hates me
Member
 
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
my bad. guess I learned something though. I was trying to install Time Vault but it was a .deb sooo I guess I will have to try alien.
 
Old 06-01-2009, 02:42 PM   #14
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
If conversion with alien doesn't work, you can always try to compile from source: http://launchpad.net/timevault/trunk...t-0.7.2.tar.gz. Or eventually take a look at pybackpack, which has similar functionality and it's available from Fedora repositories.
 
  


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
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 08:44 PM
no acceptable C compiler found in $path ashitaka Linux - Newbie 5 09-26-2008 10:39 PM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 07:03 PM
No C Compiler found in $PATH fueldistributa Linux - Newbie 2 05-16-2006 06:59 PM
No C compiler found in $path dstjames Linux - Newbie 1 11-17-2004 09:36 AM

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

All times are GMT -5. The time now is 04:19 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
Open Source Consulting | Domain Registration