ARM (Banana Pi) can't compile from source

Asked by Danubio 84 on 2014-09-26

I have lubuntu 3.1.1 for Banana Pi, I get the source Clementine-1.2.3.

But to compile from command make I see this error:

[ 11%] Built target Renderer
[ 11%] Built target MilkdropPresetFactory
[ 11%] Built target projectM
[ 11%] Built target sqlite
[ 11%] Built target qsqlite
[ 11%] Built target qtsingleapplication
[ 11%] Built target qtiocompressor
[ 11%] Built target qxt
[ 11%] Built target echonest
[ 11%] Built target sha2
[ 11%] Built target Qocoa
[ 11%] Built target gstmoodbar
[ 11%] Built target libclementine-common
[ 11%] Built target libclementine-tagreader
[ 11%] Built target libclementine-remote
[ 11%] Built target clementine-spotifyblob-messages
[ 11%] Building CXX object src/CMakeFiles/clementine_lib.dir/analyzers/analyzerbase.cpp.o
In file included from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.h:24:0,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.cpp:18:
/usr/include/GL/gl.h:138:17: error: conflicting declaration ‘typedef double GLdouble’
 typedef double GLdouble; /* double precision float */
                 ^
In file included from /usr/include/qt4/QtOpenGL/QGLWidget:1:0,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.h:19,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.cpp:18:
/usr/include/qt4/QtOpenGL/qgl.h:85:17: error: ‘GLdouble’ has a previous declaration as ‘typedef GLfloat GLdouble’
 typedef GLfloat GLdouble;
                 ^
In file included from /usr/include/GL/gl.h:2059:0,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.h:24,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.cpp:18:
/usr/include/GL/glext.h:468:19: error: conflicting declaration ‘typedef ptrdiff_t GLsizeiptr’
 typedef ptrdiff_t GLsizeiptr;
                   ^
In file included from /usr/include/qt4/QtOpenGL/qgl.h:79:0,
                 from /usr/include/qt4/QtOpenGL/QGLWidget:1,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.h:19,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.cpp:18:
/usr/include/GLES2/gl2.h:69:25: error: ‘GLsizeiptr’ has a previous declaration as ‘typedef khronos_ssize_t GLsizeiptr’
 typedef khronos_ssize_t GLsizeiptr;
                         ^
In file included from /usr/include/GL/gl.h:2059:0,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.h:24,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.cpp:18:
/usr/include/GL/glext.h:469:19: error: conflicting declaration ‘typedef ptrdiff_t GLintptr’
 typedef ptrdiff_t GLintptr;
                   ^
In file included from /usr/include/qt4/QtOpenGL/qgl.h:79:0,
                 from /usr/include/qt4/QtOpenGL/QGLWidget:1,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.h:19,
                 from /home/bananapi/Escritorio/Clementine-1.2.3/src/analyzers/analyzerbase.cpp:18:
/usr/include/GLES2/gl2.h:70:26: error: ‘GLintptr’ has a previous declaration as ‘typedef khronos_intptr_t GLintptr’
 typedef khronos_intptr_t GLintptr;
                          ^
cc1plus: error: unrecognized command line option "-Wno-unknown-warning-option" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-unused-private-field" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/analyzers/analyzerbase.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Error 2
make: *** [all] Error 2

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu clementine Edit question
Assignee:
No assignee Edit question
Last query:
2014-09-26
Last reply:
2014-09-28

What is the output of:

lsb_release -a

Thanks

Compilation issue seems linked to the following 2 bugreports:

https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/707794

https://github.com/clementine-player/Clementine/issues/4284

As requested by actionparsnip (andrew-woodhead666) , please send us the output of this command:

lsb_release -a

Here is the procedure for compiling clementine on raspberry pi, which MIGHT also work for banana pi:

https://github.com/clementine-player/Clementine/wiki/Clementine-on-Raspberry-Pi

Keep in mind that banana pi has different hardware (different SoC chip) that might not be supported by this procedure for the raspberry pi.

If the procedure in post #3 does not work in Lubuntu_For_BananaPi_v3.1.1, you will need to install raspbian for banana pi

http://www.lemaker.org/resources/9-81/raspbian_for_bananapi.html

before following this procedure

https://github.com/clementine-player/Clementine/wiki/Clementine-on-Raspberry-Pi

Danubio 84 (dnbstartrek) said : #5

I can be installed using Fedora for Banana Pi from package manager, but in lubuntu software center can't be installed, I think the hardware is compatible if in Fedora work.

You still haven't given the output of the command I gave in the first reply.....

And you also have not clarified what went wrong (error messages????) while following this procedure:

https://github.com/clementine-player/Clementine/wiki/Clementine-on-Raspberry-Pi

We cannot give you further advice, if you keep ignoring our previous advice....

It is not logical to say "I think the hardware is compatible with Fedora" when the only compilation procedure I gave you, is for apt-get based operating systems (like Debian, Lubuntu, Ubuntu, Raspbian, etc.....) It gives us the impression that you are ignoring our advice..... Fedora does NOT use apt-get as package manager, so the compilation procedure et Github is useless when you start using Fedora.

Furthermore, Fedora is not supported here, as we only support Ubuntu here.

Danubio 84 (dnbstartrek) said : #9

Ok. I think try compile from Clementine for Raspberry version, just I tried compile from original source file from clementine official site, maybe is the problem

Can you help with this problem?

Provide an answer of your own, or ask Danubio 84 for more information if necessary.

To post a message you must log in.