LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2011, 10:48 AM   #1
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Rep: Reputation: 1
Qt giving me a hard time. Could not fine make command


I must be really stupid. I can't figure out why Qt wont run the simple addressbook program. There is a complaint about make not found in the environment. But I can't find step by step instructions on getting make in the environment. Here's the actual Compile Output:
Could not find make command: make in the build environment
Error while building project part1
When executing build step 'Make'
Canceled build.

How do I get make in my environment anyway?
 
Old 08-06-2011, 11:36 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Do you have make installed? Use your package manager to install it if you don't.
 
1 members found this post helpful.
Old 08-06-2011, 11:43 AM   #3
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Original Poster
Rep: Reputation: 1
That was simple. I thought I was going to have to re-read my Unix book! Although I wish I did have a better understanding of make and how it works and how to use it correctly. My program works now, but can't say I know why.
Thanks
 
Old 08-06-2011, 11:54 AM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
The program probably needed to compile a module or plugin in order to run. If there's program that is not available as a 'binary' file e.g. .deb or .rpm you might have to compile the program yourself. This is where you would use commandline. For compilation to work or succeed you need to have the packages required to compile a program already installed before starting. Once you have those, most of the time you would enter the folder with the source code in it and run: ./configure then make and finally make install.

Here's a brief overview of compiling: Compiling From Source Code
 
  


Reply



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
Mutagenix giving me a hard time installing kathera_lockharte Slackware - Installation 3 08-28-2007 04:48 AM
Adept giving me a hard time punchthemonkey94 Linux - Software 1 12-18-2006 09:35 AM
amaroK giving me a hard time stealthgate Linux - Software 1 05-11-2005 04:57 PM
Mandrake package installer is giving me a hard time happyfoosball Mandriva 4 12-22-2003 12:30 AM
XFree86 giving me some really hard time Ztyx Linux - General 2 11-25-2002 09:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:52 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