"No targets specified and no makefile found" on make

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
ragnar.jensen
Posts: 118
Joined: Thu Jan 26, 2012 7:39 pm
Operating System: Please select

Re: "No targets specified and no makefile found" on make

Post by ragnar.jensen » Sun Sep 23, 2012 9:10 am

I see this

Code: Select all

configure: WARNING: Libtool does not cope well with whitespace in `pwd`
and this

Code: Select all

/bin/bash: /media/ARHIVA/ARHIVA: No such file or directory
in the output from ./configure.

It might be that the space character in the directory name ARHIVA INFO is messing things up.

--
Ragnar

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "No targets specified and no makefile found" on make

Post by steve » Sun Sep 23, 2012 12:41 pm

We all seem to be looking in the same area:
What is /media/ARHIVA/ ?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

PetruD
Posts: 14
Joined: Wed Sep 12, 2012 8:49 pm
Operating System: Please select

Re: "No targets specified and no makefile found" on make

Post by PetruD » Wed Oct 03, 2012 5:29 pm

I have just managed to compile Audacity! The problem was that the path to the source code had a folder that had whitespace in its name.

Now, what IDE do you recommend me to work with the source code? Or maybe there is no such IDE, and I have to do it the hard way in vim?

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "No targets specified and no makefile found" on make

Post by steve » Wed Oct 03, 2012 6:44 pm

There are several IDEs available for Linux including Codeblocks, Eclipse, Kdevelop and others. However, few of the big boys developing on Linux use any of them but prefer to set up "Linux" as their development environment - the entire Linux system becomes the IDE. Separate IDE "programs" on Linux are a relatively new thing that have been introduced mostly to keep people that are familiar with developing on Windows happy. Consequently none of the IDE programs on Linux are as mature as Microsoft Visual Studio. An IDE on Windows is essential because Windows does not have the tools necessary for software development. "The Linux way" tends to be "one tool for one job" so rather than one monstrous program to do everything on Linux you are more likely to have a "toolkit" containing several tools, each of which does one thing well. The development tools in Linux have been used and refined over decades.

I'm not a C/C++ programmer myself, but as a musician I often see the same confusion over audio software. On Windows (and Mac) the trend is to have one huge program that does MIDI sequencing, effect processing, editing, synthesizing, mastering, score writing.... On Linux we have MIDI sequencers, effect racks, audio sequencers, DAWs, audio editors, synthesizers... all as separate programs, but can also be pulled together with Jack Audio System as one incredibly powerful audio production suite.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

PetruD
Posts: 14
Joined: Wed Sep 12, 2012 8:49 pm
Operating System: Please select

Re: "No targets specified and no makefile found" on make

Post by PetruD » Thu Oct 04, 2012 12:51 pm

Wow you're a musician. :) I sing in a choir too. :) I'm seeking to develop my own app that does music recording, note recognition and other stuff and I wanted to have Audacity as a playground.

I know I can use vim, g++ and aaaall that stuff and I actually do, but I never tried for very large projects; but, for example, I am now studying the code. What should I do if I stumble on a variable or a function that I don't know where is declared? Do I have to take all the #included files and check them one by one, and maybe the files #included in these as well and so on? (I hope I didn't say a shameful thing)

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "No targets specified and no makefile found" on make

Post by steve » Thu Oct 04, 2012 2:53 pm

PetruD wrote:Wow you're a musician. :) I sing in a choir too. :) I'm seeking to develop my own app that does music recording, note recognition and other stuff and I wanted to have Audacity as a playground.
Cool 8-)
PetruD wrote:for example, I am now studying the code. What should I do if I stumble on a variable or a function that I don't know where is declared? Do I have to take all the #included files and check them one by one, and maybe the files #included in these as well and so on?
I use "Scite" as my text editor, mostly because it has syntax highlighting for LISP which is useful when writing Nyquist plug-ins, but it has several other neat features as well, such as "Search in files". The "Search" feature can not only look for a string in the current document, but can also search all of the files in a specified directory.
The big boys probably use grep, which is immensely powerful but I don't think my brain is big enough to remember all the command line stuff that Linux can do.
About grep:
http://en.wikipedia.org/wiki/Grep
http://unixhelp.ed.ac.uk/CGI/man-cgi?grep

The big daddy text editor is Emacs . This also has the ability to search in files. I find Emacs too complicated for my needs, but a lot of programmers use it.
If Emacs is the big daddy, then the big mother is Vim, which is also widely used.
I'm not qualified to say which is better, and this is not the place for a flame war ;)
(This is one of the more civilised discussions comparing Vim and Emacs: http://stackoverflow.com/questions/1786 ... m-or-emacs )
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ragnar.jensen
Posts: 118
Joined: Thu Jan 26, 2012 7:39 pm
Operating System: Please select

Re: "No targets specified and no makefile found" on make

Post by ragnar.jensen » Sat Oct 06, 2012 9:17 am

At my place of work, Eclipse is a popular cross-platform IDE.
http://www.eclipse.org/
http://www.eclipse.org/linuxtools/

--
Ragnar

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: "No targets specified and no makefile found" on make

Post by steve » Tue Oct 09, 2012 2:25 pm

gregorypayan wrote:dont want to argue its your opinion. for me, installing linux is best.
Eclipse is cross-platform and runs natively on Linux.
If you have Linux you may not need a separate IDE, but some people prefer to have one and one thing that Linux has always done is to offer choice.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ragnar.jensen
Posts: 118
Joined: Thu Jan 26, 2012 7:39 pm
Operating System: Please select

Re: "No targets specified and no makefile found" on make

Post by ragnar.jensen » Wed Oct 10, 2012 7:37 pm

gregorypayan wrote: why installing other if you can use it directly. :) but depends on other people choice as long as they know what they wanted to do in the best it can be.
We are about 180 people working on our current project. It is about 3.5 million lines of C++ code. We work on Linux, Solaris and Windows workstations, but the target is an obscure real-time platform. A well thought out IDE can help keep such a project together.

--
Ragnar

Post Reply