Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
Sign in to follow this  
CarlJF

No Make in Mandriva One?

Recommended Posts

Hi,

 

I want to use a software that need to be installed by the old "make", "make install" method. However, when I type the command make (Mandriva One 2008), I get the following error message:

 

bash: make: command not found

 

No "make" in Mandriva ??? What's the problem ? Any idea ?

 

 

[moved from Software by spinynorman]

Share this post


Link to post
Share on other sites

development packages are not installed by default. setup your urpmi sources (see Easy-Urpmi link in the top-right section of this page) and install the gcc package and and its friends. if make is not one the dependencies (which i doubt) then you can install that one too. the urpmf utility should enable you to figure out which package contains make, or you can head down to rpm.pbone.net to do a quick search.

 

[edit] or slap in your installation cds. its also there. the urpmi route will just make sure you have the latest versions available.

 

ciao!

Edited by ramfree17

Share this post


Link to post
Share on other sites

Also, might be worthwhile checking to see if the package you are trying to compile is already available in the Mandriva repo's. It will save you compiling it and having a lot of hassle.

Share this post


Link to post
Share on other sites

I usually just install the make rpm and something like libqt-devel or it might be libqt3-devel. That seems to pull all the required dependencies. The libqt-devel rpm allows for compiling programs that use QT and also for the graphic menu for configuring a kernel compilation.

Share this post


Link to post
Share on other sites
Also, might be worthwhile checking to see if the package you are trying to compile is already available in the Mandriva repo's. It will save you compiling it and having a lot of hassle.

 

youre no fun! :P

 

kidding aside, that might not be an option since the original post said the software needs to be installed via the make;make install route. checkinstall would be a great tool to integrate this with the system package management.

 

ciao!

Share this post


Link to post
Share on other sites

Thanks guys!

 

Installing the gcc and make packages (make isn't included in the gcc package) solved the problem.

 

Also, might be worthwhile checking to see if the package you are trying to compile is already available in the Mandriva repo's. It will save you compiling it and having a lot of hassle.

 

Yes, I know. But it's a small "homemade" utility and no package is available. Only the "make" "make install" procedure is available for sake of being compatible with all decent linux systems. I suppose the guy just don't want to bother creating packages for I don't know how many different software installer when it works just well with "make"...

Share this post


Link to post
Share on other sites
But it's a small "homemade" utility and no package is available. Only the "make" "make install" procedure is available for sake of being compatible with all decent linux systems. I suppose the guy just don't want to bother creating packages for I don't know how many different software installer when it works just well with "make"...

 

that is where checkinstall comes in handy. it will replace the "make install" step with "checkinstall" (or something like that, it has been ages since i used it) and it will create a deb, rpm or slack tgz for you. if you need to remove that package then you can use your system packaging system and you will no longer need to hunt for the source directory where you installed it.

 

and you can keep the resulting rpm somewhere if the development in that project is not too frequent.

 

ciao!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×