Linux Compile under Centos 6.5
#1
Hi,

I'm trying to compile under Centos so I'm following this doc:
https://docs.google.com/document/d/1-RmE...YD55Ag2Rhs

But now I'm stuck at:
Code:
./configure --prefix=/opt/xbmc --enable-libbluray

Code:
checking for TAGLIB... no
configure: error: Could not find a required library. Please see the README for your platform.

Ok, grabbed latest cmake version:

Code:
./configure --prefix = / usr
gmake
gmake install

than build the latest taglib:

Code:
cmake -DCMAKE_INSTALL_PREFIX =/usr/local -DCMAKE_RELEASE_TYPE=Release  .
make  
make install

But still the error persists, what else am I missing to clear this error ?

Thank you !
Reply
#2
Welcome to forums.

That guide is certainly not official and looking at it, most required dependencies are missing. You should be looking at https://github.com/xbmc/xbmc/blob/master...ADME.linux at very least.
Reply
#3
that particular error clearly says that you are missing taglib = libtag(-devel). Min required version is 1.8
Reply
#4
Thank you very much for your support !

I managed to build it.

The problem was wrong path while trying to cmake taglib, it's /usr not /usr/local.
Reply
#5
While doing
Code:
make -j2
it's now exiting with

Code:
/usr/bin/ld: cannot find -ltasn1
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
Reply
#6
libtasn1-devel
Reply
#7
Code:
-----------------------
XBMC built successfully
-----------------------

THANK YOU !
Reply
#8
(2014-09-21, 19:58)zanga Wrote:
Code:
-----------------------
XBMC built successfully
-----------------------

THANK YOU !
My congratulations.
I'm also trying to compile under Centos 6.5 during last week. I'm following as you this doc:
https://docs.google.com/document/d/1-RmE...YD55Ag2Rhs
But unfortunately I couldn't get such beautiful result as you got.
I always received such result:
Quote:vladimir@Nas xbmc]$ ./bootstrap
autoreconf -vif .
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
configure.in:31: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:32: error: possibly undefined macro: AC_MSG_RESULT
configure.in:95: error: possibly undefined macro: AC_MSG_ERROR
configure.in:97: error: possibly undefined macro: AC_MSG_WARN
configure.in:1015: error: possibly undefined macro: AC_CHECK_LIB
autoreconf: /usr/bin/autoconf failed with exit status: 1
make: *** [configure] Error 1
[vladimir@Nas xbmc]$
I'd like ask you to prepare short manual "HOW-TO". If you could.
Thank you in advance.
Reply
#9
(2014-09-28, 18:10)Shvarc Wrote:
(2014-09-21, 19:58)zanga Wrote:
Code:
-----------------------
XBMC built successfully
-----------------------

THANK YOU !
My congratulations.
I'm also trying to compile under Centos 6.5 during last week. I'm following as you this doc:
https://docs.google.com/document/d/1-RmE...YD55Ag2Rhs
But unfortunately I couldn't get such beautiful result as you got.
I always received such result:
Quote:vladimir@Nas xbmc]$ ./bootstrap
autoreconf -vif .
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
configure.in:31: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:32: error: possibly undefined macro: AC_MSG_RESULT
configure.in:95: error: possibly undefined macro: AC_MSG_ERROR
configure.in:97: error: possibly undefined macro: AC_MSG_WARN
configure.in:1015: error: possibly undefined macro: AC_CHECK_LIB
autoreconf: /usr/bin/autoconf failed with exit status: 1
make: *** [configure] Error 1
[vladimir@Nas xbmc]$
I'd like ask you to prepare short manual "HOW-TO". If you could.
Thank you in advance.
I have got some progress.
I could execute:
Code:
./bootstrap
But when I executed:
Code:
./configure --prefix=/opt/xbmc --enable-libbluray
I always received such result:
Code:
checking for main in -ltinyxml... no
configure: error: Could not find a required library. Please see the README for your platform.
What does it mean?
And what should I do?
Please, help me.
Thank you in advance.
Reply
#10
Man - read(!)

tinyxml development dependencies is missing for you ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#11
(2014-10-02, 20:21)fritsch Wrote: Man - read(!)

tinyxml development dependencies is missing for you ...

OK!
Could I ask You?
Did You read README.linux?
Code:
You will then need the required libraries. The following is the list of packages
that are used to build XBMC packages on Debian/Ubuntu (with all supported
external libraries enabled).

Build-Depends: autoconf, automake, autopoint, autotools-dev, cmake, curl,
  debhelper (>= 7.0.50~), default-jre, gawk, gperf, libao-dev, libasound2-dev,
  libass-dev (>= 0.9.8), libavahi-client-dev, libavahi-common-dev, libavcodec-dev,
  libavfilter-dev, libavformat-dev, libavutil-dev, libbluetooth-dev, libbluray-dev,
  libboost-dev, libboost-thread-dev, libbz2-dev, libcap-dev, libcdio-dev, libcec-dev,
  libcurl4-gnutls-dev | libcurl4-openssl-dev | libcurl-dev, libcwiid-dev, libdbus-1-dev,
  libenca-dev, libflac-dev, libfontconfig-dev, libfreetype6-dev, libfribidi-dev,
  libgl1-mesa-dev | libgl-dev, libglew-dev, libglu1-mesa-dev | libglu-dev, libhal-dev,
  libhal-storage-dev, libiso9660-dev, libjasper-dev, libjpeg-dev, libltdl-dev, liblzo2-dev,
  libmad0-dev, libmicrohttpd-dev, libmodplug-dev, libmpcdec-dev, libmpeg2-4-dev, libmysqlclient-dev,
  libnfs-dev, libogg-dev, libpcre3-dev, libplist-dev, libpng12-dev | libpng-dev, libpostproc-dev,
  libpulse-dev, librtmp-dev, libsdl-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev,
  libshairplay-dev, libsmbclient-dev, libsqlite3-dev, libssh-dev, libssl-dev,
  libswscale-dev, libtag1-dev (>= 1.8), libtiff-dev, libtinyxml-dev, libtool,
  libudev-dev, libusb-dev, libva-dev, libvdpau-dev, libvorbis-dev, libxinerama-dev,
  libxml2-dev, libxmu-dev, libxrandr-dev, libxslt1-dev, libxt-dev, libyajl-dev,
  lsb-release, nasm [!amd64], python-dev, python-imaging, python-support, swig,
  unzip, yasm, zip, zlib1g-dev
Note: For developers and anyone else who compiles frequently it is recommended to use ccache.

   $ sudo apt-get install ccache
Unfortunately it is once more about Debian/Ubuntu.
But where can I read about Installation on CentOS/RedHat? But if You read from the very beginning, You could see, I have CentOS 6.5.
Maybe when You told:"Man - read(!)" you mean something else? In this case, please show me it.
I know that tinyxml development dependencies is missing. But maybe You could show me the required libraries that should I install for resolving this issue?
Thank You in advance.
Reply
#12
We don't have a redhat guide. The libs will be very similar, but there is no c/p howto. PR welcome Smile
Reply
#13
Here: https://www.centos.org/docs/5/html/yum/s...kages.html

Use yum to search for packages, e.g. yum search tinyxml dev
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#14
And here to add - you are approximately the 5th centos user, that asks for help during this process and _none_ of you came back to post a complete howto. So next time I see a centos "howto build question" I will just close that topic and tell: "Ask your very own distribution cause they obviously don't want you to have xbmc - cause they don't provide it for you!".
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#15
(2014-10-03, 08:20)wsnipex Wrote: We don't have a redhat guide. The libs will be very similar, but there is no c/p howto. PR welcome Smile
Oh, it is very tricky! I see.Big Grin
And your c/p howto from Debian/Ubuntu to other Linux looks very, very Good.
My congratulations!Rofl
I guess many others CentOS/RedHat users very happy with me too.
But in any case. Thank You very much!!!Smile

(2014-10-03, 08:25)fritsch Wrote: Here: https://www.centos.org/docs/5/html/yum/s...kages.html

Use yum to search for packages, e.g. yum search tinyxml dev
Thank You. I will try to do it.

(2014-10-03, 08:27)fritsch Wrote: And here to add - you are approximately the 5th centos user, that asks for help during this process and _none_ of you came back to post a complete howto. So next time I see a centos "howto build question" I will just close that topic and tell: "Ask your very own distribution cause they obviously don't want you to have xbmc - cause they don't provide it for you!".
Thank You once again!
Reply

Logout Mark Read Team Forum Stats Members Help
Compile under Centos 6.50