LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling Clementine (http://www.linuxquestions.org/questions/slackware-14/compiling-clementine-4175412584/)

Jdogzz 06-20-2012 11:16 PM

Compiling Clementine
 
Today I decided to take the plunge and install clementine, but it hasn't been nearly as easy as I'd hoped. I installed as many of the dependencies as I could from the Slackbuilds page (excluding the Spotify ones since I don't use it) and I encountered the error described in this thread: http://www.linuxquestions.org/questi...urrent-940945/

I took the advice of getting the newest tarball from their website and adjusted the Slackbuild file to accommodate the new version. It was working well until it got about 8% of the way done. I tried again straight from the source, no SlackBuild, and it ended the same way. Here is where it failed:

Code:

[  8%] Building CXX object 3rdparty/chromaprint/src/CMakeFiles/chromaprint_p.dir/fft_lib_avfft.cpp.o
In file included from /home/jmgg/Downloads/clementine/clementine-1.0.1/3rdparty/chromaprint/src/fft_lib_avfft.h:26:0,
                from /home/jmgg/Downloads/clementine/clementine-1.0.1/3rdparty/chromaprint/src/fft_lib_avfft.cpp:22:
/usr/include/libavcodec/avcodec.h:533:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [3rdparty/chromaprint/src/CMakeFiles/chromaprint_p.dir/fft_lib_avfft.cpp.o] Error 1
make[1]: *** [3rdparty/chromaprint/src/CMakeFiles/chromaprint_p.dir/all] Error 2
make: *** [all] Error 2

Does anyone know what can be done to fix this? Perhaps I missed a dependency?

pan64 06-21-2012 01:09 AM

what I see:
Quote:

/usr/include/libavcodec/avcodec.h:533:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Probably it is really a bug in the compiler?

alekow 06-21-2012 10:27 AM

Quote:

Originally Posted by Jdogzz (Post 4708210)
Code:

[  8%] Building CXX object 3rdparty/chromaprint/src/CMakeFiles/chromaprint_p.dir/fft_lib_avfft.cpp.o
In file included from /home/jmgg/Downloads/clementine/clementine-1.0.1/3rdparty/chromaprint/src/fft_lib_avfft.h:26:0,
                from /home/jmgg/Downloads/clementine/clementine-1.0.1/3rdparty/chromaprint/src/fft_lib_avfft.cpp:22:
/usr/include/libavcodec/avcodec.h:533:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [3rdparty/chromaprint/src/CMakeFiles/chromaprint_p.dir/fft_lib_avfft.cpp.o] Error 1
make[1]: *** [3rdparty/chromaprint/src/CMakeFiles/chromaprint_p.dir/all] Error 2
make: *** [all] Error 2

Does anyone know what can be done to fix this? Perhaps I missed a dependency?

As I can see it's a problem with header file from ffmpeg. Do you have ffmpeg? Which version? I compiled clementine 1.0.1 on slackware-current from 9th of May with ffmpeg 0.11.1 installed and also with 0.8.10 somewhere around February. No problems at all.

Jdogzz 06-21-2012 12:22 PM

@alekow I have ffmpeg 0.8.7 installed according to pkgtool, which is the one I got from Slackbuilds. I compiled ffmpeg-0.11.1 from the source tarball since I couldn't find it for install elsewhere and installed it with make install. I tried to compile Clementine again after that, and it was able to complete successfully. All working now:) Thank you very much.

Marking this thread as solved.

alekow 06-21-2012 04:41 PM

Great to hear that. You could also edit the build script from slackbuilds.org to make a package for ffmpeg-0.11.1.

willysr 06-21-2012 07:25 PM

AlienBOB has ffmpeg-0.11 for some time actually

restricted version:
http://connie.slackware.com/~alien/slackbuilds/ffmpeg/

unrestricted version:
http://taper.alienbase.nl/mirrors/pe...builds/ffmpeg/

ponce 06-22-2012 01:46 AM

the only problem I faced is, as someone else pointed out here a few days ago (but I can't find the message now), that the majority of software depending on ffmpeg won't still build on 0.11.x, due to its new api change and seems that there are no patches around available.
as transcode is one of those, here I opted to stay at 0.10.x as I personally consider it safer for building stuff over it at the moment.
but I hope patches will start to appear soon, as I'm interested too in the new features of 0.11.x :)


All times are GMT -5. The time now is 03:59 PM.