Kodi Community Forum

Full Version: Build fails on Dharma rev 33030
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, trying to build Dharma (which I have earlier had success with) I now get this -- Ubuntu Hardy on an ATV:

Code:
...
make[1]: Leaving directory `/home/atv/dev/Dharma/xbmc/cores/dvdplayer/Codecs/libdvd'
make -C lib/libass/xbmc
make[1]: Entering directory `/home/atv/dev/Dharma/lib/libass/xbmc'
make -C ..
make[2]: Entering directory `/home/atv/dev/Dharma/lib/libass'
make  all-recursive
make[3]: Entering directory `/home/atv/dev/Dharma/lib/libass'
Making all in libass
make[4]: Entering directory `/home/atv/dev/Dharma/lib/libass/libass'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 -O2 -I/usr/include/freetype2       -MT ass.lo -MD -MP -MF .deps/ass.Tpo -c -o ass.lo ass.c
../libtool: line 827: X--tag=CC: command not found
../libtool: line 860: libtool: ignoring unknown tag : command not found
../libtool: line 827: X--mode=compile: command not found
../libtool: line 994: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 995: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1138: Xgcc: command not found
../libtool: line 1138: X-DHAVE_CONFIG_H: command not found
../libtool: line 1138: X-I.: command not found
../libtool: line 1138: X-I..: command not found
../libtool: line 1138: X-Wall: command not found
../libtool: line 1138: X-fPIC: command not found
../libtool: line 1138: X-DPIC: command not found
../libtool: line 1138: X-D_REENTRANT: command not found
../libtool: line 1138: X-D_LARGEFILE64_SOURCE: command not found
../libtool: line 1138: X-D_FILE_OFFSET_BITS=64: command not found
../libtool: line 1138: X-DNDEBUG=1: command not found
../libtool: line 1138: X-O2: command not found
../libtool: line 1138: X-I/usr/include/freetype2: No such file or directory
../libtool: line 1138: X-MT: command not found
../libtool: line 1138: Xass.lo: command not found
../libtool: line 1138: X-MD: command not found
../libtool: line 1138: X-MP: command not found
../libtool: line 1138: X-MF: command not found
../libtool: line 1138: X.deps/ass.Tpo: No such file or directory
../libtool: line 1138: X-c: command not found
../libtool: line 1191: Xass.lo: command not found
../libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found
make[4]: *** [ass.lo] Error 1
make[4]: Leaving directory `/home/atv/dev/Dharma/lib/libass/libass'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/atv/dev/Dharma/lib/libass'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/atv/dev/Dharma/lib/libass'
make[1]: *** [../libass/.libs/libass.so] Error 2
make[1]: Leaving directory `/home/atv/dev/Dharma/lib/libass/xbmc'
make: *** [dvdpcodecs] Error 2
atv@atv:~/dev$
./bootstrap and ./configure again.
Get rid of the m4 folder under libass - there's a couple of other auto-gen'd files there that shouldn't be there as well.
davilla Wrote:./bootstrap and ./configure again.

No joy - had already done that Sad
Same error trying to build trunk.

Anyone?

I updated, rebuilt and installed the Crystal HD driver and libs, so my prevoius XBMC build does not work anymore and I am desperately in need of a new working build... free beer and inclusion in nightly prayer for any advice :-)

EDIT: Oooops! Had not seen jmarshall's post -- will try that!
jmarshall Wrote:Get rid of the m4 folder under libass - there's a couple of other auto-gen'd files there that shouldn't be there as well.

Removed the m4 folder and got:

Code:
atv@atv:~/dev/Dharma/lib/libass$ make
make: *** No rule to make target `m4/libtool.m4', needed by `Makefile.in'.  Stop.

Tried to run autoconf after removing the folder which gave another error about the missing files.

Wonder why I am the only person having trouble building...

Any help is highly appreciated!
pouldam Wrote:Removed the m4 folder and got:

Code:
atv@atv:~/dev/Dharma/lib/libass$ make
make: *** No rule to make target `m4/libtool.m4', needed by `Makefile.in'.  Stop.

Tried to run autoconf after removing the folder which gave another error about the missing files.

Wonder why I am the only person having trouble building...

Any help is highly appreciated!

remove the contents of the m4 folder. the folder itself has to exist.
davilla Wrote:remove the contents of the m4 folder. the folder itself has to exist.

Thought I had already tried that... but obviously not. Just made a succesful build. Wuhuu...

Thanks a lot - Davilla once again to the rescue (and jmarshall as well) :-)