Re: [Audacity-devel] Cygwin compilation
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dave F. <dav...@da...> - 2005-03-11 01:26:16
|
On Thursday 10 March 2005 06:56 pm, Mar...@ao... wrote: > worked fine; the examples such as 'make_sine' and 'sndfile_info sine.wav' > work so I think we can safely assume that there is no inherent problem with > libsndfile, except that Cygwin does NOT need this, whatever it is (I have > no idea) (but see below). Odd, but ok. :) > --------(moves on to a different (?) question)------- > gnome-config: not found > gnome-config: not found > Package samplerate was not found in the pkg-config search path. > Perhaps you should add the directory containing 'samplerate.pc' > to the PKG_CONFIG_PATH environment variable > No package 'samplerate' found This is pretty odd. It shouldn't even be looking for gnome-config. Anybody know what samplerate is? I remember there was some discussion about what resampling library to use about when I did the cygwin stuff, so it may be that Audacity switched to something else and cygwin is still expecting the older library. To fix this, if this is indeed what's going on, you'll have to go into configure.in and change the part where the cygwin dependencies are handled. > make[1]: *** No rule to make target 'portaudio/pa_win_wmme_portaudio.a', > needed by 'all'. Stop. What happened here is that for some reason the configure script didn't process the makefile.in for portaudio. > When I got a new copy of portaudio from > _http://www.portaudio.com/download.html_ > (http://www.portaudio.com/download.html) I could ./configure it, make and > run the examples. I cannot do the same with the version supplied with > Audacity. If I swap the versions over, audacity's ./configure gives the > additional message: > > config.status: error: cannot find inputfile: > lib-src/portaudio/pa_unix/oss/Makefile.in This is expected. As far as I know, the only time portaudio has ever been built with Cygwin is here in AUdacity. ;) I don't remember if I sent the makefile.in I wound up with over there, since it was pretty customized to Audacity at the time. > Overall, I am being assured that Audacity should work under Cygwin but I > have had a number of problems (and who knows how many more to come). This > leads me to think that my installation is not up to the task and that I > have missed a vital element when installing Cygwin. I don't believe that > you guys have got it wrong - much more likely it's me. Can you give me > any pointers? A complete install of Cygwin may be my next step but > downloading all those games etc just in case I missed a vital thingummyjig > seems a bit overboard! Ok, Audacity built under Cygwin right before the 1.2 release of Audacity, so if you dig up a copy of Audacity 1.2.0, the instructions should work fine. (I haven't had a chance to screw with it, and now I'm stuck with Windows in a vmware session, which isn't all bad, but on an 800mhz Duron I'm not in a hurry to start up a huge build of Audacity in Cygwin) I would suggest backing up to that specific version and starting somewhat fresh. Get it working with the older, known working version, with all the libraries (I had it working with all of them, iirc). If you do it from cvs by checking out the tagged 1.2.0 version, you should then be able to update your local sandbox to each successive versions, fixing as you go. What you'll wind up with is a nice mega-patch that'll bring the latest versino of Audacity up to date with Cygwin. :) So, yeah, it coudl be you, but it could be Audacity too. I don't even have the computer I did all that on anymore, otherwise I'd send you a dump of what packages were installed so you could mimic it. (in case you were curious, I did the Cygwin build mostly because I wanted to learn how building programs in Cygwin were different from the same process natively in Linux. Learned a lot, too :) ) Dave > TTFN > Martyn > > ================================================== > > > In a message dated 08/03/2005 01:56:46 GMT Standard Time, > dav...@da... writes: > > On Monday 07 March 2005 07:21 pm, Mar...@ao... wrote: > > and the error I got was > > > > file_io.c: In function 'psf_get_filelen_fd': > > file_io.c:442: error: 'psf' undeclared (first use in this function) > > ... > > make[5]: ***[file_io.lo] Error 1 > > ... > > make[1]: *** [libsndfile-recursive] Error 2 > > make: *** [audacity] Error 2 > > > > is this helpful? > > Yes. :) I had intermittent and inexcplicable problems with libsndfile > when I > made the cygwin stuff. Try cd'ing into libsndfile's root directory and > invoking make yourself, then back up to Audacity's root and "make" again. > You may need to run libsndfile's configure script yourself to make it > work. > > If that doesn't work, go back to libsndfile and try install it as a system > library, then reconfiguring audacity to use it as a system library. > > > > > ================================================== > In a message dated 10/03/2005 07:27:25 GMT Standard Time, > dav...@da... writes: > > On Wednesday 09 March 2005 07:36 pm, Mar...@ao... wrote: > > Not much time but I quickly tried the 'make' in libsndfile but same > > problem. Tried ./configure the make and same again. Regret I don't > > know how to install it as a system library so didn't try that. > > Most likely I'm thinking this version of libsndfile isn't working in > Cygwin. > > You guys upgraded the lib-src libsndfile awhile back, right? > > I'd suggest downloading a slightly older version of libsndfile and > installing > it. -- Visit my website! http://www.davefancella.com/?event=em I am so optimistic about beef prices that I've just leased a pot roast with an option to buy. |