You are not logged in.

#1 2013-07-17 00:44:32

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 440

Building Telepathy-Logger (Solved)

I wanted to build all telepathy packages without dconf, so I tried to build it without dconf but with or without I get this error:

configure: WARNING: unrecognized options: --enable-call, --disable-scrollkeeper

Configure summary:

        Compiler....................:  gcc
        Compiler Flags..............:  -march=native -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99
        Prefix......................:  /usr
        Coding style checks.........:  yes
        Bugreporting URL............:  https://bugs.freedesktop.org/buglist.cgi?product=Telepathy&component=logger
        Public extensions library...:  no
        Introspection support.......:  yes


make  all-recursive
make[1]: Entering directory `/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0'
Making all in tools
make[2]: Entering directory `/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0/tools'
sed -e 's![@]abs_top_builddir[@]!/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0!' telepathy-glib-env.in > telepathy-glib-env
chmod +x telepathy-glib-env
make[2]: Leaving directory `/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0/tools'
Making all in extensions
make[2]: Entering directory `/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0/extensions'
/usr/bin/mkdir -p _gen
/usr/bin/mkdir -p _gen
  GEN      _gen/all.xml
  GEN      _gen/misc.xml
Traceback (most recent call last):
  File "../tools/xincludator.py", line 36, in <module>
    xincludate(dom, argv[0])
  File "../tools/xincludator.py", line 14, in xincludate
    for i in xrange(dom.documentElement.attributes.length):
NameError: global name 'xrange' is not defined
Traceback (most recent call last):
  File "../tools/xincludator.py", line 36, in <module>
    xincludate(dom, argv[0])
  File "../tools/xincludator.py", line 14, in xincludate
    for i in xrange(dom.documentElement.attributes.length):
NameError: global name 'xrange' is not defined
make[2]: *** [_gen/all.xml] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: *** [_gen/misc.xml] Fehler 1
make[2]: Leaving directory `/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0/extensions'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/bidar/dev/abs/telepathy-logger/src/telepathy-logger-0.8.0'
make: *** [all] Fehler 2

Any suggestions?

EDIT: I found the issue: the package tries like all telepathy packages to use /usr/bin/python but as the packages build scripts are python2 scripts this wouldn't work
A workaround ist to set PYTHON to /usr/bin/python before ./configure.

Last edited by Thaodan (2013-07-17 00:56:54)


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB