Compile error analyze.ny

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
Hains
Posts: 26
Joined: Wed Feb 12, 2014 4:39 pm
Operating System: Please select

Compile error analyze.ny

Post by Hains » Wed Feb 12, 2014 4:43 pm

Since SVN r13054 i get this error:

make[2]: Entering directory `/home/hains/audacity-read-only/src'
cd .. && /bin/sh ./config.status src/configunix.h
config.status: creating src/configunix.h
config.status: src/configunix.h is unchanged
make[2]: Leaving directory `/home/hains/audacity-read-only/src'
make[1]: Leaving directory `/home/hains/audacity-read-only/src'
Making all in tests
make[1]: Entering directory `/home/hains/audacity-read-only/tests'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/hains/audacity-read-only/tests'
make[1]: Entering directory `/home/hains/audacity-read-only'
make[1]: *** No rule to make target `plug-ins/analyze.ny', needed by `all-am'. Stop.
make[1]: Leaving directory `/home/hains/audacity-read-only'
make: *** [all-recursive] Error 1
[email protected]:~/audacity-read-only$

r13053 was no problem. Ubuntu 14.04.

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

Re: Compile error analyze.ny

Post by steve » Wed Feb 12, 2014 5:01 pm

analyze.ny has recently been removed from the source code (it was just a demonstration/example plug-in with no practical value).
To ensure that you are starting with a clean source, run:

Code: Select all

make distclean
then run:

Code: Select all

autoreconf --no-recursive
to reconfigure the build options.

If you have a problem with the last command, try:

Code: Select all

autoreconf --no-recursive -i
Note that autoreconf requires autoreconf 2.60 or later (should be available in your distro repository).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Hains
Posts: 26
Joined: Wed Feb 12, 2014 4:39 pm
Operating System: Please select

Re: Compile error analyze.ny

Post by Hains » Wed Feb 12, 2014 5:54 pm

That did not work. But i removed analyze.ny in the makefile(root) row 524 and now itś compiling again.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Compile error analyze.ny

Post by Gale Andrews » Fri Feb 14, 2014 10:57 pm

Thanks, the removal of analyze.ny from Makefile.am has now been committed: http://code.google.com/p/audacity/source/detail?r=13057


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

frenchfries
Posts: 6
Joined: Sat Feb 15, 2014 12:03 pm
Operating System: Please select

Re: Compile error analyze.ny

Post by frenchfries » Sat Feb 15, 2014 12:07 pm

Hello,
I just compiled Audacity for the first time, and had an issue concerning analyze.ny.
For Audacity to build without failing, I had to remove analyze.ny from the plug-ins folder in the Audacity VC++ project.

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

Re: Compile error analyze.ny

Post by steve » Sat Feb 15, 2014 1:03 pm

frenchfries wrote:For Audacity to build without failing, I had to remove analyze.ny from the plug-ins folder in the Audacity VC++ project.
If you are using the current SVN checkout, analyze.ny is not present.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

frenchfries
Posts: 6
Joined: Sat Feb 15, 2014 12:03 pm
Operating System: Please select

Re: Compile error analyze.ny

Post by frenchfries » Sat Feb 15, 2014 6:57 pm

steve wrote:
frenchfries wrote:For Audacity to build without failing, I had to remove analyze.ny from the plug-ins folder in the Audacity VC++ project.
If you are using the current SVN checkout, analyze.ny is not present.
I may be confused since I am new to the project. I see that the file analyze.ny is no longer present, but it seems that the Audacity project still has a reference to it.
I've attached a file which is a diff between the working base with the analyze reference, and what I had to change to make it work for myself.
Attachments
audacityAnalyze.png
audacityAnalyze.png (143.1 KiB) Viewed 3356 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Compile error analyze.ny

Post by Gale Andrews » Sat Feb 15, 2014 7:03 pm

steve wrote:
frenchfries wrote:For Audacity to build without failing, I had to remove analyze.ny from the plug-ins folder in the Audacity VC++ project.
If you are using the current SVN checkout, analyze.ny is not present.
Analyze.ny has not yet been removed from the Windows MSVC project files, so as frenchfries says, Audacity won't compile on Windows without that change.

If someone doesn't notice it soon, I'll remind them/suggest a patch.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

frenchfries
Posts: 6
Joined: Sat Feb 15, 2014 12:03 pm
Operating System: Please select

Re: Compile error analyze.ny

Post by frenchfries » Sat Feb 15, 2014 11:56 pm

Also, there is a reference to analyze.ny in the makefile.in file.
Should all references to analyze.ny be removed?

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

Re: Compile error analyze.ny

Post by steve » Sun Feb 16, 2014 1:20 am

I've prompted the developers about this, but it was only about 48 hours ago that analyze.ny was removed. References in the various build systems are being removed.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply