[Audacity-devel] Problems building from CVS; Makefile patch
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Matt B. <mbr...@hm...> - 2001-11-04 02:28:52
|
Hi Dom -- I checked out the source from CVS, and had some minor build problems (all fixed now). I am running Debian unstable. First, Benchmark.{cpp,h} were missing. Commenting out appropriate lines in Makefile and in Menus.{cpp,h} fixed this problem. From the changelogs it seems this code is new -- do these files just need to be added to CVS? Second, the build system does not work if the lib-src directory is not present. I tried checking out only the "audacity" module, but 'make' fails trying to build libraries in lib-src. Installing the lib-src module worked. I hope this can be fixed properly, since I do have the proper libraries and headers installed. Finally, several tests in 'make install' are opposite what they should be. The fix is right here: Index: Makefile.in =================================================================== RCS file: /cvsroot/audacity/audacity/Makefile.in,v retrieving revision 1.43 diff -u -r1.43 Makefile.in --- Makefile.in 2001/10/31 07:51:09 1.43 +++ Makefile.in 2001/11/04 02:12:28 @@ -116,13 +116,13 @@ # # install: - -test ! -d $(PREFIX)/share/doc/audacity || \ + -test -d $(PREFIX)/share/doc/audacity || \ mkdir -m 755 -p $(PREFIX)/share/doc/audacity - -test ! -f audacity-help.htb || $(INSTALL) -m 644 audacity-help.htb \ + -test -f audacity-help.htb || $(INSTALL) -m 644 audacity-help.htb \ $(PREFIX)/share/doc/audacity/audacity-help.htb $(INSTALL) -m 644 README.txt $(PREFIX)/share/doc/audacity/README.txt $(INSTALL) -m 644 LICENSE.txt $(PREFIX)/share/doc/audacity/LICENSE.txt - -test ! -d $(PREFIX)/bin || \ + -test -d $(PREFIX)/bin || \ mkdir -m 755 -p $(PREFIX)/bin $(INSTALL) -m 755 audacity $(PREFIX)/bin/audacity |