Re: [Freeswitch-users] Installation Errors
Hi Mike, Installed mod_perl-devel and didn't find perl related problems but got into other problems. I guess you are right that mod_perl requires mod_perl-devel installed. Btw, in the recent errors I have soundtouch installed. ----------- ----------- ****** Integer sample type enabled ****** checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for sqrt in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating source/Makefile config.status: creating source/SoundTouch/Makefile config.status: creating source/example/Makefile config.status: creating source/example/SoundStretch/Makefile config.status: creating source/example/bpm/Makefile config.status: creating include/Makefile config.status: creating soundtouch-1.0.pc config.status: creating include/soundtouch_config.h config.status: executing depfiles commands Making all in include Making all in source Making all in SoundTouch g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT AAFilter.lo -MD -MP -MF .deps/AAFilter.Tpo -c AAFilter.cpp -fPIC -DPIC -o AAFilter.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT FIRFilter.lo -MD -MP -MF .deps/FIRFilter.Tpo -c FIRFilter.cpp -fPIC -DPIC -o FIRFilter.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT FIFOSampleBuffer.lo -MD -MP -MF .deps/FIFOSampleBuffer.Tpo -c FIFOSampleBuffer.cpp -fPIC -DPIC -o FIFOSampleBuffer.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT mmx_optimized.lo -MD -MP -MF .deps/mmx_optimized.Tpo -c mmx_optimized.cpp -fPIC -DPIC -o mmx_optimized.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT sse_optimized.lo -MD -MP -MF .deps/sse_optimized.Tpo -c sse_optimized.cpp -fPIC -DPIC -o sse_optimized.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT RateTransposer.lo -MD -MP -MF .deps/RateTransposer.Tpo -c RateTransposer.cpp -fPIC -DPIC -o RateTransposer.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT SoundTouch.lo -MD -MP -MF .deps/SoundTouch.Tpo -c SoundTouch.cpp -fPIC -DPIC -o SoundTouch.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT TDStretch.lo -MD -MP -MF .deps/TDStretch.Tpo -c TDStretch.cpp -fPIC -DPIC -o TDStretch.o g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT cpu_detect_x86_gcc.lo -MD -MP -MF .deps/cpu_detect_x86_gcc.Tpo -c cpu_detect_x86_gcc.cpp -fPIC -DPIC -o cpu_detect_x86_gcc.o mkdir .libs ar cru .libs/libSoundTouch.a AAFilter.o FIRFilter.o FIFOSampleBuffer.o mmx_optimized.o sse_optimized.o RateTransposer.o SoundTouch.o TDStretch.o cpu_detect_x86_gcc.o ranlib .libs/libSoundTouch.a creating libSoundTouch.la (cd .libs && rm -f libSoundTouch.la && ln -s ../libSoundTouch.la libSoundTouch.la) Making all in example Making all in bpm g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -O3 -I../../../include -MT BPMDetect.lo -MD -MP -MF .deps/BPMDetect.Tpo -c BPMDetect.cpp -fPIC -DPIC -o BPMDetect.o g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -O3 -I../../../include -MT PeakFinder.lo -MD -MP -MF .deps/PeakFinder.Tpo -c PeakFinder.cpp -fPIC -DPIC -o PeakFinder.o mkdir .libs ar cru .libs/libBPM.a BPMDetect.o PeakFinder.o ranlib .libs/libBPM.a creating libBPM.la (cd .libs && rm -f libBPM.la && ln -s ../libBPM.la libBPM.la) Making all in SoundStretch WavFile.cpp: In member function ‘int WavInFile::checkCharTags()’: WavFile.cpp:200: error: ‘memcmp’ was not declared in this scope WavFile.cpp:202: error: ‘memcmp’ was not declared in this scope WavFile.cpp: In member function ‘int WavInFile::readRIFFBlock()’: WavFile.cpp:353: error: ‘memcmp’ was not declared in this scope WavFile.cpp:355: error: ‘memcmp’ was not declared in this scope WavFile.cpp: In member function ‘int WavInFile::readHeaderBlock()’: WavFile.cpp:375: error: ‘strcmp’ was not declared in this scope WavFile.cpp:380: error: ‘memcpy’ was not declared in this scope WavFile.cpp:419: error: ‘memcpy’ was not declared in this scope WavFile.cpp: In member function ‘int WavInFile::readWavHeaders()’: WavFile.cpp:450: error: ‘memset’ was not declared in this scope WavFile.cpp: In member function ‘void WavOutFile::fillInHeader(uint, uint, uint)’: WavFile.cpp:552: error: ‘memcpy’ was not declared in this scope WavFile.cpp: In member function ‘void WavOutFile::write(const short int*, int)’: WavFile.cpp:674: error: ‘memcpy’ was not declared in this scope make[9]: *** [soundstretch-WavFile.o] Error 1 make[8]: *** [all-recursive] Error 1 make[7]: *** [all-recursive] Error 1 make[6]: *** [all-recursive] Error 1 make[5]: *** [/usr/src/freeswitch-1.0.4pre5/libs/soundtouch-1.3.1/source/SoundTouch/.libs/libSoundTouch.a] Error 2 make[4]: *** [all] Error 1 make[3]: *** [mod_soundtouch-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 To: freeswitch-users@lists.freeswitch.org Message-ID: <87f2f3b90904231057m3ff0b5dydfdc546e600c4d96@mail.gmail.com> Content-Type: text/plain; charset="windows-1252" Please try this and report back: yum install mod_perl-devel Let us know if it works and we'll add it to the wiki page. -MC
I wouldn't compile EVERY module just because you can. I would start with the default modules that are known working in all places. Then once you're more comfortable with that then you can go off road and compile EVERYTHING to you hearts content. As it stands you're hitting one compile after the other on external libs that might have problems on some platforms with newer GCC or other unforeseen issues. This is why we don't have all these modules enabled on the default build. /b On Apr 24, 2009, at 3:45 AM, technologyinspired wrote:
Hi Mike,
Installed mod_perl-devel and didn't find perl related problems but got into other problems. I guess you are right that mod_perl requires mod_perl-devel installed.
Btw, in the recent errors I have soundtouch installed.
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
participants (2)
-
Brian West
-
technologyinspired