Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't do "make" after ./configure

Status
Not open for further replies.
Jan 15, 2001
80
US
I have 2 identical suse 7.3 boxes installed. On one i can do all the ./config, make make install stuff with no problem. On the other one, when I do a ./configure, none of the usual gcc msgs show up and when you do a make
it comes back with the command not found.

Any ideas?

Thank you.
 
There goes your "identical" theory. It seems that you are missing some Development Packages. If you have GnoRPM, check to see that all the gcc* stuff is there or use rpm on the command line to query them.
 
Sorry - what was I thinking? You have suse. You may have to look for these packages another way if you don't use RPMs.
 
Hi,













Well actually Suse is an rpm based distro so, RhythmAce, you were right first time! However, as its highly KDE oriented it would be 'kpackage' instead of the Gnome one.













Actually, I'm surprised that it doesn't stop with an error after the './configure' as, presumably, the development tools are not installed at all.












You can soon find out if you have gcc installed with :













rpm -qa | grep ^gcc













You should get a few lines for the various compiler rpms. If they are not there you need to install them (i.e. the rpms beginning with 'gcc') plus the 'make' rpm and probably a few others too...













One option that may work with Soosah is to do a custom upgrade install and make sure you select development tools or suchlike. It should leave existing stuff asis - I can't guarantee that though so at your own risk ...













Regards




















 
Thank you all for the prompt replies.

An rpm -qa gives me:

gcc-2.95.3-124
gcc30-20010822-24
 
Hi,

Well thats odd because that says you have gcc 2.95 plus the newer gcc version 3.0 installed. I'm not too sure how suse does the gcc stuff - maybe its all in one rpm - but, if not, you may need the equivalent c++ (etc.) rpms - depending on what language the code is in. (For example, Redhat has a gcc-c++ rpm).

What happens if you type :

$ which gcc

or

$ gcc --help


Do you get responses ?

Regards





 
Are you saying "make" doesn't do anything but give a command not found error? If so check to see if you have /usr/bin/make. If it starts to compile but stops with the error that it can't find cc, then look in /usr/bin and see if it's there. cc is a symlink to gcc. Some makefiles call cc rather than gcc. If it's not either of these can you put the exact error message here?
 
Hello--

I get /usr/bin and the gcc help stuff.

However, there is no /usr/bin/make. It looks
like a package was not completely installed.
 
Could be. Make is in the Tools section of the Development package. It may be different for your distro.
 
SuSE: /usr/bin/make : run yast and use package management to
add or remove your software.
Is one SuSE box pro and the other personal or what?
Obviously your installations were not identical in any
case.
Newestn and patches:
ftp://ftp.suse.com
 
I want to thank you all for your help!

I went to tools and make had not been selected for install-so now it works!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top