OS X make apk make: *** No rule to make target
#1
Hi Guys,

Please Help me, To find out the issues, I am new in Kodi, want to build Android Kodi into Mac(OS X Yosemite 10.10). I have follow the steps for mac from https://github.com/xbmc/xbmc/blob/master...ME.android.

Last command when i run "make apk" then it throws error.

Indras-Mac-mini-2:packaging Indra$ cd $HOME/kodi-android
Indras-Mac-mini-2:kodi-android Indra$ make apk
make: *** No rule to make target `apk'. Stop.


Thanks in Advance.!!!
Reply
#2
Hi All,

I have run following commands in Mac(OS X Yosemite 10.10)

--------------------------------------------------------------------
5.2. Building Kodi
--------------------------------------------------------------------

# cd $HOME/kodi-android
# make -C tools/depends/target/xbmc
# make
# make apk

After the first build (assuming bootstrap and configure are successful),
subsequent builds can be run with a simple 'make' and 'make apk'.


But while running '# make' & ' # make apk' commands getting below error message ----

make: *** No targets specified and no makefile found. Stop.
Reply
#3
Did you read the special section for compiling for android on osx? It involves using an image file with case sensitive file system and stuff like that. (i mean section 3.1 in the README.android).

I have merged your 2 threads. No need to have multiple threads with the same question.
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
Yes, I have already followed the steps 3.1 "Prerequesites when compiling on Mac OSX". still i got the same error.
Reply
#5
In that case i doubt that "make -C tools/depends/target/xbmc" has run without errors ...
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
Now i am using Ubuntu,

Hi All, Now i have install Ubuntu OS. and tring step

--------------------------------------------------------------------
5.1. Building dependencies
--------------------------------------------------------------------
# cd $HOME/kodi-android/tools/depends
# ./bootstrap
# ./configure --help

$ ./configure --with-tarballs=/home/sarvesh/Android/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=/home/sarvesh/Android/android-sdk-linux --with-ndk=/home/sarvesh/Android/android-ndk-r10e --with-toolchain=/home/sarvesh/Android/arm-toolchain/android-17 --prefix=/home/sarvesh/Android/xbmc-depends

Its run fine without any error

But while running "make" it throws error :-
configure: error: C compiler cannot create executables
See `config.log' for more details
make[2]: *** [arm-linux-androideabi-android-17] Error 77
make[2]: Leaving directory `/home/sarvesh/kodi-android/tools/depends/target/pcre'
make[1]: *** [pcre] Error 2
make[1]: Leaving directory `/home/sarvesh/kodi-android/tools/depends/target'
make: *** [target/.installed-arm-linux-androideabi-android-17] Error 2
Reply
#7
Dude could you stop beeing a pest and jump from thread to thread? Just stop it you are not up to the task.
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

Logout Mark Read Team Forum Stats Members Help
make apk make: *** No rule to make target0