mopidy / mopidy-gmusic

DEPRECATED (Mopidy extension for playing music from Google Play Music)
https://mopidy.com
Apache License 2.0
214 stars 60 forks source link

gmusicapi is not compiling #199

Closed Ant6009 closed 6 years ago

Ant6009 commented 6 years ago

Hi I'm very new to this, apologies if I'm doing something really stupid and ask a dumb question. When trying to install gmusicapi, I get an error and compilation fails. I would very much appreciate any pointers....

Building`

'lxml.etree' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/src creating build/temp.linux-armv7l-2.7/src/lxml arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-kKRR4y/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/etree.c -o build/temp.linux-armv7l-2.7/src/lxml/etree.o -w In file included from src/lxml/etree.c:661:0: src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory

include "libxml/xmlversion.h"

                               ^
compilation terminated.
Compile failed: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitZ7cGg1.c -o tmp/xmlXPathInitZ7cGg1.o
/tmp/xmlXPathInitZ7cGg1.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main (int argc, char **argv) {
 ^~~~
cc tmp/xmlXPathInitZ7cGg1.o -lxml2 -o a.out
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-yQbnms/lxml/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-kKyjK5-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-yQbnms/lxml/`

Ant6009 commented 6 years ago

Sorry about the noise, I was missing some dependencies.