On Jan 16, 2004, at 8:48 AM, Damon Campagna wrote:
> As you know, I've recently been trying to build audacity 1.2 and CVS
> (see OS X Panther compile problems). However, I've run into sort of a
> Since I've already built 1.2 successfully, I'm having trouble building
> HEAD branch because all the libraries exist from the previous install.
> instance, the build stops with a "libmad.a: File Exists" type error.
> Even if I run:
> ./configure --without-vorbis --without-libmad --without-id3tag
> --without-libsamplerate --without-soundtouch --without-nyquist
> --without-ladspa --without-portmixer --without-portaudio --without-help
> I still can't build because libsndfile has to be installed as part of
> build, and since it's already installed the build stops dead.
I think you are confused about the nature of the error you are getting.
If the error is what I think it is, it has nothing to do with the fact
that you've already built 1.2. When you enable a library it doesn't
install that library, it just builds it and statically links Audacity
Correct me if I'm wrong, but I think the error you are getting is the
same error you reported earlier:
ln: libmad.a: File exists
make: *** [libmad.a] Error 1
make: *** [audacity] Error 2
The problem is that ln is trying to create a link that already exists.
I'm really not sure why this would happen, because the way the Makefile
is written, it shouldn't run that rule unless libmad.a doesn't exist:
$(MAKE) -C libmad
ln -s libmad/.libs/libmad.a libmad.a
I tried this on my Panther system and it works as I expect.
Try doing what I mentioned before: rm lib-src/*.a and then rebuild and
see if that helps. It would help if you could post more complete logs
of what is happening on your system -- the complete output of
"configure" and "make" would be useful.