Why doesn't my make ever work?

Asked by Willrandship@gmail.com

Whenever I try to install something from source it says no target found...usually there is a way around it, but not always. It is quite frustrating.
I do this in order.
./configure
sudo make
sudo make install
./configure usually works Fine
sudo make says no makefile found
sudo make install says no rule for target "install"

Any help would be appreciated!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Vikram Dhillon
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You don't need sudo to make unless the source is not in your home folder, you only need sudo for make install as you are writing to areas you do not have access to as a user.

In the pwd is there a file called MakeFile.in

You should read the INSTALL or README files, they will tell you what you need to know. Not ALL compiles are the same.

Revision history for this message
Willrandship@gmail.com (willrandship) said :
#2

Interesting...I just tried compiling mupen64, and it actually worked. There was no need to compile it, really, as

OK, here's what I know.
1. I have no idea what pwd means....
2. In most of these cases I am following exactly what is stated in the readme, or listed on the maker's site.
3. If you meant makefile in the source folder, then there is a makefile.am

Also, right now I am having problems with the compiling of Mygui, for openmw. I may just try the deb I found here.
https://launchpad.net/~andrewfenn/+archive/ogredev

Revision history for this message
Best Vikram Dhillon (dhillon-v10) said :
#3

Most of the times I consider getting a .deb much easier than compiling
from source, there are some convenient methods of building from source
that are almost automated like using pbuilder but that in itself is
quite complicated :)

pwd means the show the current directory in which you are in
The makefile.am is the assembly make file, I think you will have to use
automake for this one (actionparsnip please correct me if I am wrong)

You are better off with the .deb

--
Regards,
Vikram Dhillon

On Thu, 2009-12-10 at 04:00 +0000, <email address hidden> wrote:
> o

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

pwd == present working directory

If you "have no idea what <anything> is" websearch it. You are sat at a device attatched to the largest intelligence database known to mankind, The Internet. Use it to find out.

Please log a new question for MyGui as it is a separate issue.

Revision history for this message
Willrandship@gmail.com (willrandship) said :
#5

Thank You...
Now I need someone to compile OpenMW as a .deb so I can get it...sigh.
By the way, I got Mygui to work through synaptic by adding an extra repository, so no worries there. Why isn't it in the Multiverse repository, anyway?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

You can compile it yourself if you want, it doesn't cost anything and is not isolated to a select few, anyone can compile.

Revision history for this message
Willrandship@gmail.com (willrandship) said :
#7

Isn't that what make is supposed to do? I'm confused.

As a side note, I'll probably wait for openmw to be actually finished and just use wine until it's done. By then someone will hopefully have compiled a .deb for it. Wine runs it better than windows xp anyways, but openmw would still be better.

Revision history for this message
Vikram Dhillon (dhillon-v10) said :
#8

If at any time you have successfully compiled and made the software
package after running sudo make install run sudo checkinstall, that will
make a .deb that you can then distribute to others or keep yourself for
removing the package :). If your problem has been solved please mark it
solved

--
Regards,
Vikram Dhillon

On Sat, 2009-12-12 at 08:18 +0000, <email address hidden> wrote:
> Question #93413 on gnome-terminal in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gnome-terminal/+question/93413
>
> <email address hidden> posted a new comment:
> Isn't that what make is supposed to do? I'm confused.
>
> As a side note, I'll probably wait for openmw to be actually finished
> and just use wine until it's done. By then someone will hopefully have
> compiled a .deb for it. Wine runs it better than windows xp anyways, but
> openmw would still be better.
>

Revision history for this message
Willrandship@gmail.com (willrandship) said :
#9

Ok, I will do that if I ever get it to work...I did mark it solved, though.

Revision history for this message
Willrandship@gmail.com (willrandship) said :
#10

Thanks Vikram, that solved my question.

Revision history for this message
Vikram Dhillon (dhillon-v10) said :
#11

Don't put your hopes down, it will once sometime :)

--
Regards,
Vikram Dhillon

On Sun, 2009-12-13 at 02:48 +0000, <email address hidden> wrote:
> Question #93413 on gnome-terminal in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gnome-terminal/+question/93413
>
> <email address hidden> confirmed that the question is solved:
> Thanks Vikram, that solved my question.
>

Revision history for this message
Willrandship@gmail.com (willrandship) said :
#12

I realized something, though. The reason no compiled version was available was that it wasn't finished. I had deluded myself into thinking it was.
Morrowind runs, but half the plugins don't. Oh well, at least I have rupees. (But no link! sob)