[HOW-TO] Compile XBMC git master branch on Linux - Bluray optional
#16
Grenti Wrote:i had sqlite 3.7.5 amalgamation installed. i uninstalled it and tried to install sqlite3-3.6.11 and got this error


./.libs/libsqlite3.so: undefined reference to `sqlite3BackupUpdate'
./.libs/libsqlite3.so: undefined reference to `sqlite3BackupRestart'
./.libs/libsqlite3.so: undefined reference to `sqlite3BtreeCopyFile'
collect2: ld returned 1 exit status
make: *** [sqlite3] Error 1

If sqlite3 3.6.11 has those symbols, so should 3.7.2, right? Current version installed on Maverick is 3.7.2.

Just checked and libsqlite3-dev version in my system is 3.7.2-1ubuntu0.1
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#17
Compilation worked first time for me with zero issues on Natty alpha 3!

How would I make a deb pacakge for this so I can just install that when the final version is released? Would be nice not to have to do the whole shenanigans again.
Reply
#18
Instructions using sudo updated. Now compilation is done on home directory.

Hope that makes it a bit easier.

h.udo
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#19
Reptilian Wrote:Compilation worked first time for me with zero issues on Natty alpha 3!

How would I make a deb pacakge for this so I can just install that when the final version is released? Would be nice not to have to do the whole shenanigans again.

Nice to now it works on Natty.

What do you mean, making a package? Instructions are in the guide. If you'd like a bit more information, go here

h.udo
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#20
Hi,

Am running Debian 6 kFreeBSD x64 (so I could get ZFS for my 10TB RAIDZ2 array):
Code:
GNU/kFreeBSD media 8.1-1-amd64 #0 Tue Jan  4 15:07:39 CET 2011 x86_64 amd64 Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz GNU/kFreeBSD

When I try to install fp-compiler I receive an error:
Code:
# apt-get install fp-compiler
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package fp-compiler is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'fp-compiler' has no installation candidate

So I look up fp compiler for squeeze:
http://packages.debian.org/squeeze/fp-compiler

There is no kFreeBSD amd64 version listed.

Just to be sure, I downloaded the .deb:
http://ftp.us.debian.org/debian/pool/mai..._amd64.deb

And tried to install it:
Code:
# dpkg -i fp-compiler_2.4.0-2_amd64.deb
dpkg: error processing fp-compiler_2.4.0-2_amd64.deb (--install):
package architecture (amd64) does not match system (kfreebsd-amd64)
Errors were encountered while processing:
fp-compiler_2.4.0-2_amd64.deb

Suggestions on how to proceed please? This is my first XBMC install and I was following instructions of post #1, the first apt-get line...
Reply
#21
Well I went ahead and followed rest of instructions from post 1 without the fp-compiler, and on the configure line I get this error:

Code:
configure: error: unsupported host (x86_64-unknown-kfreebsd8.1-gnu)

Here is the full dump of configure:
Code:
root@media:/usr/local/src/xbmc# ./configure --prefix=/usr --disable-pulse --enable-vdpau
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-kfreebsd8.1-gnu
checking host system type... x86_64-unknown-kfreebsd8.1-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64_fbsd) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64_fbsd
checking if the linker (/usr/bin/ld -m elf_x86_64_fbsd) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64_fbsd) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64_fbsd) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
configure: error: unsupported host (x86_64-unknown-kfreebsd8.1-gnu)
root@media:/usr/local/src/xbmc#
Reply
#22
I don't use Debian, so I can't be of much assistance.

Never the less, try the following: download fp-compiler_2.4.0-3_amd64.deb

Apparently this is the latest fp-compiler package. You downloaded fp-compiler_2.4.0-2_amd64.deb.

If it still doesn't work, try forcing install:

dpkg -i --force-architecture fp-compiler_2.4.0-3_amd64.deb

Hope it helps.

More information about here.

h.udo
EN/PT
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#23
Thanks hudo. I gave up on ZFS and freebsd, and am back to straight Debian with linux kernel with mdadm and XFS.
Reply
#24
I tried to do this earlier today but the repo for libbluray is giving 404 errors. Do you you if there is another repo available ?
Reply
#25
Yes, there is.

sudo add-apt-repository ppa:motumedia/mplayer-daily
sudo apt-get update
sudo apt-get install libbluray

h.udo
EN/PT
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#26
hmmm, I tried that, and it tells me libbluray is not available
Reply
#27
you need -dev as well.
Reply
#28
Thanks spiff, did the trick Smile
Reply
#29
Sorry, my bad.

It's sudo apt-get install libbluray0 libbluray-dev with that respository.

h.udo
EN/PT
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#30
Hi,
can I use your instructions on my box running XBMC-Live from xbmcfreaks?
I am on 10.1 Dharma Lucid.

thanks
Reply

Logout Mark Read Team Forum Stats Members Help
[HOW-TO] Compile XBMC git master branch on Linux - Bluray optional0