PMC on Fedora

Build problem
First I run into a problem when installing the boost rpms where it says its missing dependcies even though they are infact installed. Which I think problem results in this when building

When installing boost rpms:
error: Failed dependencies:
libpython2.6.so.1.0()(64bit) is needed by boost-python-1.47.0-3.el6.x86_64
libicui18n.so.42()(64bit) is needed by boost-regex-1.47.0-3.el6.x86_64
libicuuc.so.42()(64bit) is needed by boost-regex-1.47.0-3.el6.x86_64
libboost_thread-mt.so.1.48.0()(64bit) is needed by (installed) boost-locale-1.48.0-13.fc17.x86_64
libicui18n.so.42()(64bit) is needed by boost-graph-1.47.0-3.el6.x86_64
libicuuc.so.42()(64bit) is needed by boost-graph-1.47.0-3.el6.x86_64

When building the program:

autoreconf: Leaving directory `.'
autoreconf: Entering directory `lib/cpluff'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext

Any help would be much appreciated! Thanks!

if your on fedora 17 lib boost 1.48 is included in the os. Just use those. And either try my rpm, or try and compile from that.



http://pmc.markwalker.dk/plexmediacenter/



/Mark

Thanks for the help so far. I tried the rpm and when installing it results in this:



plexmediacenter-0.1-1.x86_64 requires libcdio.so.10()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmysqlclient.so.16()(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_thread-mt.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmysqlclient.so.16(libmysqlclient_16)(64bit)

plexmediacenter-0.1-1.x86_64 requires libGLEW.so.1.5()(64bit)

plexmediacenter-0.1-1.x86_64 requires libcdio.so.10(CDIO_10)(64bit)





Update: Fresh install tried installing the rpm (via software installer) yeilds:

plexmediacenter-0.1-1.x86_64 requires libboost_filesystem.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libcdio.so.10(CDIO_10)(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_program_options.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmpeg2convert.so.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmysqlclient.so.16()(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_regex.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_signals.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmad.so.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_thread-mt.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libcdio.so.10()(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_system.so.1.47.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmpeg2.so.0()(64bit)

plexmediacenter-0.1-1.x86_64 requires libmysqlclient.so.16(libmysqlclient_16)(64bit)

plexmediacenter-0.1-1.x86_64 requires libboost_iostreams.so.1.47.0()(64bit)



Yeah I'm looking into this. Looks like the rpm I packaged, requires absolute versions, and not minimum versions. Also some of those requirements are from the atrpms ans epel repos. So you need those added too.. There is a lot of stuff around the current client build that makes it a bit klunky to get working.

/Mark



Hey thanks a lot for the help I really appreciate it. I will add those repos and let you know if that yeilds any different results.


Thanks,
Matt


Update: I added those repos and got the same result. I also tried --nodep although it installed, predicatbly, it didn't work.


Damn rpm dependencies :D

Well.. Until I get time to fiddle with the rpm packaging, which is giving me some problems. I uploaded a tar.gz that uncludes /usr and up with all the stuff compiled. Its here: http://pmc.markwalker.dk/plexmediacenter/plexmediacenter.tar.gz

Would love to hear if the binaries run fine on Fedora.

/Mark

Here is my attempt at the rpm:



[list]

1


<br />
# rpm -Uvh plexmediacenter-0.1-1.x86_64.rpm <br />
error: Failed dependencies:<br />
	libGLEW.so.1.5()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libSDL_image-1.2.so.0()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libSDL_mixer-1.2.so.0()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libboost_thread-mt.so.1.47.0()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libcdio.so.10()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libcdio.so.10(CDIO_10)(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libmicrohttpd.so.10()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libmysqlclient.so.16()(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />
	libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by plexmediacenter-0.1-1.x86_64<br />



[*]2
I installed a couple of packages that were not present:

<br />
# yum install glew-devel SDL_image SDL_mixer boost141-devel libcdio-devel.i686 libcdio-devel libmicrohttpd-devel mysql-devel<br />



[*]3
RPM with deps failed, but I then reran with --nodeps

<br />
# rpm -Uvh plexmediacenter-0.1-1.x86_64.rpm <br />
# rpm -Uvh --nodeps plexmediacenter-0.1-1.x86_64.rpm <br />



[*]4
Attemted to kick off pmc, but ran into a prefix issue

<br />
# pmc<br />
python: can't open file '/plex/pmc/share/xbmc/FEH.py': [Errno 2] No such file or directory<br />



Modified /bin/pmc to reference prefix=/usr vs. prefix=/plex/pmc
[*]5
Reran, but ran into a library issue for MySQL

<br />
# pmc<br />
/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory<br />



[/list]

This would seem to indicate a requirement/dependancy on **MySQL 5.1** -- Current Fedora builds should be bound with **5.5**


Thanks for the feedback.. What fedora version did you run it on?

The rpm was built on a CentOS in /plex/somethingiforget/, but I am a little sad to see the compile actually bound to specific binaries, and couldn't live with newer editions. Means I will have to look into doing the compile on a Fedora box :D

And with the amount of binaries/dev packages required for the first build :D This will take a little effort :D

You could have a go at compiling it by hand as I did. Just use Gary's guide.. And set a --prefix when compiling, so you don't throw the binaries all over the place :D

/Mark

The deal breaker so far seems to be the MySQL



Linux 3.5.2-1.fc17.x86_64 #1 SMP Wed Aug 15 16:09:27 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.