Jump to content

C compiler problem


Recommended Posts

Warning: Linux newbie here :)

 

I am trying to install a program, not really interested in the app itself but I need the practice. When I try to run ./configue I get this error:

 

[tparks@192 xmahjongg-3.6.1]$ ./configure

loading cache ./config.cache

checking for a BSD compatible install... /usr//bin/install -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... yes

checking for working aclocal... missing

checking for working autoconf... missing

checking for working automake... missing

checking for working autoheader... missing

checking for working makeinfo... missing

checking for gcc... gcc

checking whether the C compiler (gcc ) works... no

configure: error: installation or configuration problem: C compiler cannot create executables.

 

I went back to mcc and installed all of the development tools but that did not help. Any suggestions? Thanks.

 

Todd

 

 

Moved from Software to Terminal Shell Commands, Kernel and Programming - Artificial Intelligence

Link to comment
Share on other sites

In additon to what Dyslexic points, you may also want to have installed the texinfo pacakge for that makeinfo missing;

 

Next time you have such program you can use the urpmf tool to find which rpm packages provide such programs (in the form <package>:<program>), for example, this is what I would have done after such output:

aru@mandrakeusers ~$ for program in aclocal autoconf automake autoheader makeinfo gcc; do urpmf 'bin/'$program; done
automake1.9:/usr/bin/aclocal-1.9
autoconf2.5:/usr/bin/autoconf
autoconf2.5:/usr/bin/autoconf-2.5x
automake1.9:/usr/bin/automake-1.9
autoconf2.5:/usr/bin/autoheader
autoconf2.5:/usr/bin/autoheader-2.5x
texinfo:/usr/bin/makeinfo
gcc:/usr/bin/gcc-3.4.1
gcc:/usr/bin/gcc3.4-version

so install the packages listed and their dependences

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...