Re: [ReZound-users] apply patch?
Status: Beta
Brought to you by:
ddurham
From: Eric G. <egu...@wa...> - 2012-09-18 19:28:13
|
OK, I got it to work in the src directory with patch -p2 < 11_gcc_4.3.patch but I realize that those errors I got previously are important. anyway... discovered how to patch. -e Hi, I hope this isn't too elementary. I am trying to get rezound to work on OpenSuse 12.1 and did some trial and error; Running Gnome 3.2.1 I installed all of the programs and libraries that where recommended in docs/INSTALL via the GUI ?frontend? to zypper as well as the development versions. without reading the following description, how does one apply a patch, in particular; 11_gcc_4.3.patch found here: http://sourceforge.net/tracker/?func=detail&aid=1919151&group_id=5056&atid=305056 ---------------------------------------------------- downloaded rezound-0.12.3beta.tar.gz uncompressed with #tar -xzf rezound-0.12.3beta.tar.gz cd to rezound-0.12.3beta.tar.gz read a bit from /docs tried to #./configure no apparent problems, although, checking fftw.h presence... no checking for fftw.h... no configure: WARNING: ***** fftw.h (version 2) header file not found -- any FFT based actions will be disabled (http://www.fftw.org) ***** checking rfftw.h usability... no checking rfftw.h presence... no checking for rfftw.h... no configure: WARNING: ***** rfftw.h (version 2) header file not found -- any FFT based actions will be disabled (http://www.fftw.org) ***** configure: enabling LADSPA support by default checking soundtouch/SoundTouch.h usability... no checking soundtouch/SoundTouch.h presence... no checking for soundtouch/SoundTouch.h... no configure: WARNING: ***** libSoundTouch not found -- tempo and pitch changing will be disabled (http://www.iki.fi/oparviai/soundtouch) ** tried to #make " ----------:~/Downloads/rezound-0.12.3beta> make Making all in src make[1]: Entering directory `/home/----/Downloads/rezound-0.12.3beta/src' Making all in misc make[2]: Entering directory `/home/----/Downloads/rezound-0.12.3beta/src/misc' Making all in CNestedDataFile make[3]: Entering directory `/home/----/Downloads/rezound-0.12.3beta/src/misc/CNestedDataFile' if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT CNestedDataFile.lo -MD -MP -MF ".deps/CNestedDataFile.Tpo" \ -c -o CNestedDataFile.lo `test -f 'CNestedDataFile.cpp' || echo './'`CNestedDataFile.cpp; \ then mv -f ".deps/CNestedDataFile.Tpo" ".deps/CNestedDataFile.Plo"; \ else rm -f ".deps/CNestedDataFile.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT CNestedDataFile.lo -MD -MP -MF .deps/CNestedDataFile.Tpo -c CNestedDataFile.cpp -o CNestedDataFile.o CNestedDataFile.cpp:21:2: warning: #warning parseFile doesnt need to set the filename, only the constructor and setFilename should do that [-Wcpp] CNestedDataFile.cpp:22:2: warning: #warning see about retaining the order that things were parsed in the file [-Wcpp] In file included from CNestedDataFile.h:172:0, from CNestedDataFile.cpp:46: anytype.h:70:12: error: explicit template specialization cannot have a storage class anytype.h:72:12: error: explicit template specialization cannot have a storage class anytype.h:74:12: error: explicit template specialization cannot have a storage class anytype.h:75:12: error: explicit template specialization cannot have a storage class anytype.h:77:12: error: explicit template specialization cannot have a storage class anytype.h:78:12: error: explicit template specialization cannot have a storage class anytype.h:80:12: error: explicit template specialization cannot have a storage class anytype.h:81:12: error: explicit template specialization cannot have a storage class anytype.h:83:12: error: explicit template specialization cannot have a storage class anytype.h:84:12: error: explicit template specialization cannot have a storage class anytype.h:86:12: error: explicit template specialization cannot have a storage class anytype.h:87:12: error: explicit template specialization cannot have a storage class anytype.h:89:12: error: explicit template specialization cannot have a storage class anytype.h:90:12: error: explicit template specialization cannot have a storage class anytype.h:91:12: error: explicit template specialization cannot have a storage class In file included from CNestedDataFile.h:172:0, from CNestedDataFile.cpp:46: anytype.h:122:12: error: explicit template specialization cannot have a storage class anytype.h:124:12: error: explicit template specialization cannot have a storage class anytype.h:126:12: error: explicit template specialization cannot have a storage class anytype.h:127:12: error: explicit template specialization cannot have a storage class anytype.h:129:12: error: explicit template specialization cannot have a storage class anytype.h:130:12: error: explicit template specialization cannot have a storage class anytype.h:132:12: error: explicit template specialization cannot have a storage class anytype.h:133:12: error: explicit template specialization cannot have a storage class anytype.h:135:12: error: explicit template specialization cannot have a storage class anytype.h:136:12: error: explicit template specialization cannot have a storage class anytype.h:138:12: error: explicit template specialization cannot have a storage class anytype.h:139:12: error: explicit template specialization cannot have a storage class In file included from CNestedDataFile.h:172:0, from CNestedDataFile.cpp:46: anytype.h:144:12: error: explicit template specialization cannot have a storage class anytype.h:145:12: error: explicit template specialization cannot have a storage class anytype.h:146:12: error: explicit template specialization cannot have a storage class make[3]: *** [CNestedDataFile.lo] Error 1 make[3]: Leaving directory `/home/-----/Downloads/rezound-0.12.3beta/src/misc/CNestedDataFile' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/-----/Downloads/rezound-0.12.3beta/src/misc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/-----/Downloads/rezound-0.12.3beta/src' make: *** [all-recursive] Error 1 " So, did a little more, to find that there was a patch for something that seemed immediately related. 11_gcc_4.3.patch Fix build failure with gcc-4.3 - ID: 1919151 Last Update: Settings changed ( ddurham ) http://sourceforge.net/tracker/?func=detail&aid=1919151&group_id=5056&atid=305056 and tried to... apply the patch, which I have never done... #apropos patch --------:~/Downloads/rezound-0.12.3beta> apropos patch mission-control-5 (8) - Telepathy account manager/chanel dispatcher patch (1) - apply a diff file to an original patch (1p) - apply changes to files patch-metamail (1) - Install a patch to the latest metamail release XtDispatchEvent (3) - query and process events and input XtDispatchEventToWidget (3) - extension event handling XtRegisterDrawable (3) - register a drawable with the Intrinsics event dispatcher XtSetEventDispatcher (3) - extension event handling XtUnregisterDrawable (3) - register a drawable with the Intrinsics event dispatcher -------------:~/Downloads/rezound-0.12.3beta> So, assumed "patch" is the program for the job. looked at man patch, tried #patch 11_gcc_4.3.patch and the system just didn't do anything for a time/ tried #sudo patch 11_gcc_4.3.patch again nothing, so I tried to figure out which file to patch.... to no avail. which leads me to the question above. thanks, e |