Failed to find the necessary bits to build these modules
#1
Dear all:
I can not build XBMC for android successfully,but I completely follow these instructions
https://github.com/xbmc/xbmc/blob/master...ME.android
the error log is as below:
make -C python26-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native'
cd x86_64-linux-gnu-native; make
make[3]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native/x86_64-linux-gnu-native'
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers

Failed to find the necessary bits to build these modules:
_bsddb _curses _curses_panel
_hashlib _sqlite3 _ssl
_tkinter bsddb185 bz2
dbm dl gdbm
imageop linuxaudiodev ossaudiodev
readline sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts
make[3]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native/x86_64-linux-gnu-native'
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native'
make -C zlib-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/zlib-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/zlib-native'
make -C pcre-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/pcre-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/pcre-native'
make -C swig-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/swig-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/swig-native'
make -C rpl-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/rpl-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/rpl-native'
make -C libsdl-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/libsdl-native'
cd /tmp/xbmc-android; /usr/bin/curl -Ls --create-dirs -f -O http://mirrors.xbmc.org/build-deps/sourc....14.tar.gz
make[2]: *** [/tmp/xbmc-android/SDL-1.2.14.tar.gz] Error 56
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/libsdl-native'
make[1]: *** [libsdl-native] Error 2
make[1]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native'
make: *** [native/.installed-x86_64-linux-gnu-native] Error 2

Any help would be much appreciated
Reply
#2
Thanks ,I have solve the problem as your say,but I face a new error now,
the error log is as below:
make -C python26-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native'
cd x86_64-linux-gnu-native; make
make[3]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native/x86_64-linux-gnu-native'
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers

Failed to find the necessary bits to build these modules:
_bsddb _curses _curses_panel
_hashlib _sqlite3 _ssl
_tkinter bsddb185 bz2
dbm dl gdbm
imageop linuxaudiodev ossaudiodev
readline sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts
make[3]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native/x86_64-linux-gnu-native'
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-native'
make -C zlib-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/zlib-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/zlib-native'
make -C pcre-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/pcre-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/pcre-native'
make -C swig-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/swig-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/swig-native'
make -C rpl-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/rpl-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/rpl-native'
make -C libsdl-native
make[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/libsdl-native'
cd /tmp/xbmc-android; /usr/bin/curl -Ls --create-dirs -f -O http://mirrors.xbmc.org/build-deps/sourc....14.tar.gz
make[2]: *** [/tmp/xbmc-android/SDL-1.2.14.tar.gz] Error 56
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/libsdl-native'
make[1]: *** [libsdl-native] Error 2
make[1]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native'
make: *** [native/.installed-x86_64-linux-gnu-native] Error 2
looking forward to your reply
Reply
#3
which toolchain (gcc version!) and ndk are you using (de ja vu)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#4
(2013-10-29, 12:07)Memphiz Wrote: which toolchain (gcc version!) and ndk are you using (de ja vu)

gcc 4.7,ndk-r8e,
is right?
Reply
#5
I answered in your other thread. Please stop crossposting here.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#6
(2013-10-29, 16:35)Memphiz Wrote: I answered in your other thread. Please stop crossposting here.

OK!I have builded xbmc successfully with your help,thank you very much!
Reply
#7
get it.
Reply
#8
Is there a solution for this error?
Something with Python?
Reply

Logout Mark Read Team Forum Stats Members Help
Failed to find the necessary bits to build these modules1