Kodi Community Forum
Trouble compiling - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: Trouble compiling (/showthread.php?tid=140170)



Trouble compiling - redstorm - 2012-09-10

Any ideas? ive tried looking for a libapetag library in apt....

Code:
make -C lib/libapetag
make[1]: Entering directory `/home/xbmc/zzz/xbmc-pvr/lib/libapetag'
make  all-am
make[2]: Entering directory `/home/xbmc/zzz/xbmc-pvr/lib/libapetag'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -MT apetaglib.lo -MD -MP -MF .deps/apetaglib.Tpo -c -o apetaglib.lo apetaglib.c
mv -f .deps/apetaglib.Tpo .deps/apetaglib.Plo
mv: cannot stat `.deps/apetaglib.Tpo': No such file or directory
make[2]: *** [apetaglib.lo] Error 1
make[2]: Leaving directory `/home/xbmc/zzz/xbmc-pvr/lib/libapetag'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/xbmc/zzz/xbmc-pvr/lib/libapetag'
make: *** [lib/libapetag/.libs/libapetag.a] Error 2
make: *** Waiting for unfinished jobs....

The libapetag folder
Code:
xbmc@xbmc:~/zzz/xbmc-pvr/lib$ cd libapetag/
xbmc@xbmc:~/zzz/xbmc-pvr/lib/libapetag$ ls
aclocal.m4   ChangeLog     config.status     COPYING    id3v2_read.c  info_mpc.h  libapetag.sln      m4           NEWS
apetaglib.c  config.guess  config.sub        depcomp    id3v2_read.h  INSTALL     libapetag.vcproj   Makefile     README
apetaglib.h  config.h      configure         file_io.c  info_mac.c    install-sh  libapetag.vcxproj  Makefile.am  stamp-h1
AUTHORS      config.h.in   configure.in      file_io.h  info_mac.h    is_tag.c    libtool            Makefile.in
bootstrap    config.log    configure.lineno  genres.h   info_mpc.c    is_tag.h    ltmain.sh          missing
xbmc@xbmc:~/zzz/xbmc-pvr/lib/libapetag$ cd m4
xbmc@xbmc:~/zzz/xbmc-pvr/lib/libapetag/m4$ ls
libtool.m4  lt~obsolete.m4  ltoptions.m4  ltsugar.m4  ltversion.m4



RE: Trouble compiling - Memphiz - 2012-09-10

looks like your buildenv is stale ...


./bootstrap && ./configure && make clean && make


RE: Trouble compiling - redstorm - 2012-09-10

The steps taken yesterday

git clone ....... xbmc-pvr
./bootstrap
./configure --enable-vdpau=yes --enable-crystalhd=no --prefix=/usr
make




RE: Trouble compiling - redstorm - 2012-09-11

I have tried with.

Code:
make distclean && ./bootstrap && ./configure --enable-vdpau=yes --enable-crystalhd=no  --prefix=/usr && make

It errors in a new library now...

Code:
mv -f .deps/libdvdcss.Tpo .deps/libdvdcss.Plo
mv: cannot stat `.deps/libdvdcss.Tpo': No such file or directory
make[3]: *** [libdvdcss.lo] Error 1

Same error as this...
http://pastebin.com/jB0rrzSw


RE: Trouble compiling - Memphiz - 2012-09-11

startover by doing a git clean -xfd


RE: Trouble compiling - redstorm - 2012-09-11

Ran git clean -xfd

./bootstrap
./configure --enable-vdpau=yes --enable-crystalhd=no --prefix=/usr
make -j2

back to the original error.
Code:
./configure --enable-vdpau=yes --enable-crystalhd=no  --prefix=/usr && make

I'm going to delete the folder and re clone the source. and try again..


RE: Trouble compiling - redstorm - 2012-09-12

Still the same...

Code:
git clone https://github.com/opdenkamp/xbmc.git xbmc-pvr
Cloning into 'xbmc-pvr'...
remote: Counting objects: 195388, done.
remote: Compressing objects: 100% (61164/61164), done.
remote: Total 195388 (delta 141861), reused 179154 (delta 130272)
Receiving objects: 100% (195388/195388), 328.84 MiB | 489 KiB/s, done.
Resolving deltas: 100% (141861/141861), done.

./bootstrap
./configure --enable-vdpau=yes --enable-crystalhd=no  --prefix=/usr
make -j2

Code:
mv -f .deps/apetaglib.Tpo .deps/apetaglib.Plo
mv: cannot stat `.deps/apetaglib.Tpo': No such file or directory



RE: Trouble compiling - opdenkamp - 2012-09-12

I ran into the exactly same problem, around the same time you got it. Seemed that some files on my system got borked and I couldn't find out what exactly. System needed to be reinstalled anyway, which I did and solved the problem, but that's not the nicest solution ;-) Only hint I can give you is that it's got nothing to do with xbmc, but rather one of the build tools, like ccache or automake. Try reinstalling them completely, maybe it helps. Usual tricks, like clearing .ccache, not running a parallel build, etc. didn't work for me. I got a similar error on each attempt. A when checking with "find", I could see the .Plo file aready present, and .Tpo wasn't, so mv fails.


RE: Trouble compiling - redstorm - 2012-09-12

Thanks for the pointers, its not ccache in my instance as i was not using it as i compile once in a blue moon.

ccache is installed now and i removed and reinstalled make and some dependent packages.

ran a git clean -xfd and kicked of the compile, will report back success or fail.

Unfortunately fail

mv -f .deps/apetaglib.Tpo .deps/apetaglib.Plo
mv: cannot stat `.deps/apetaglib.Tpo': No such file or directory

guess ill have to wait for the next release on pulse eight to test the suspend audio sink fix...