INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]   Go Down

Author Topic: Fedora 17+ Linux Setup for JRiver Media Center  (Read 56896 times)

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #100 on: May 27, 2015, 11:20:31 am »

Ok, I've updated the script to version 22 which combines both the 32 and 64 bit builds and puts the 64 bit libraries in /usr/lib instead of lib64.
Logged
Fedora 40 x86_64 Xfce

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #101 on: May 28, 2015, 02:46:47 pm »

Hard coded.  It figures.
...
It's done so that MC will find it's own libraries over the system ones which is quite important if you are running on an unsupported platform.
In the case of libcrypt only the version in MC's library path will work with MC.
Logged

Patatorz

  • Recent member
  • *
  • Posts: 48
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #102 on: July 12, 2015, 08:34:23 am »

Hello, just tried to jump into this huge solution but I have some probleme executing the scripts :
Quote
[root@localhost SPECS]# ./rpmb 20.0.123
Package rpm-build-4.12.0.1-6.fc21.x86_64 already installed and latest version
Package dpkg-1.16.16-5.fc21.x86_64 already installed and latest version
Package wget-1.16.3-1.fc21.x86_64 already installed and latest version
Nothing to do
--2015-07-12 15:30:12--  http://files.jriver.com/mediacenter/channels/v20/latest                                                /MediaCenter-20.0.123.deb
Resolving files.jriver.com (files.jriver.com)... 54.231.65.81
Connecting to files.jriver.com (files.jriver.com)|54.231.65.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25358902 (24M) [application/octet-stream]
Saving to: ‘/mediacenter-20/SOURCES/MediaCenter-20.0.123.deb’

/mediacenter-20/SOU 100%[=====================>]  24.18M   846KB/s   in 30s

2015-07-12 15:30:43 (819 KB/s) - ‘/mediacenter-20/SOURCES/MediaCenter-20.0.123.d                                                eb’ saved [25358902/25358902]

error: Macro %_mcarch has empty body
error: Macro %_mcarch has empty body
error: Macro %_mcarch has empty body
Building target platforms: i686-redhat-linux-gnu
Building for target i686-redhat-linux-gnu
error: failed to stat /mediacenter-20/SPECS/mediacenter-20-64.spec: No such file                                                 or directory
[root@localhost SPECS]#
I try to install it on Fedora 21. I donwload the zipped scripts through wget, unzip creating a folder into the root of Fedora (mediacenter-20). I can start the script after with the error in the quote above.

I also tried to install the 64b version : same problem.

Thanks for your support.

Ludovic
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #103 on: July 29, 2015, 09:45:50 am »

Hello, just tried to jump into this huge solution but I have some probleme executing the scripts :I try to install it on Fedora 21. I donwload the zipped scripts through wget, unzip creating a folder into the root of Fedora (mediacenter-20). I can start the script after with the error in the quote above.

I also tried to install the 64b version : same problem.

Thanks for your support.

Ludovic

I think RemyJ's script has a little bug in it. You can try this one that's based on his script but operates in a slightly different manner.
Logged

fvdb06

  • Recent member
  • *
  • Posts: 5
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #104 on: September 21, 2015, 11:17:52 am »

Hello Fedora users,

After I try to install jriver 64 bits

[root@localhost SOURCES]# dnf install --allowerasing mediacenter20-20.0.110-2.x86_64.rpm
Last metadata expiration check performed 0:04:15 ago on Mon Sep 21 18:03:29 2015.

I get the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64

I successfully installed libgnutls-deb0.so.28() with: dnf install gnutls.i686

But the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64 is comming back

What to do now?


For those of us running Fedora, I've created a script that will repack the deb files into an rpm and make sure the correct dependencies are installed.
There are a few gotchas though...

lame and librtmp:  Both are provided by the rpmfusion-free repository.  If you already have the repository installed in /etc/yum.repos.d you're good to go.  If not, the script will download the rpm that installs the repository.  You'll have to install it manually though.  See below.

This is a 2 stage process....  Building the rpm and installing the rpms.

Building the rpm...
Unzip the attached file.  It will create a mediacenter-20 directory in the current directory.
Run the script passing in the version of MediaCenter you want to package.  

Code: [Select]
cd mediacenter-20/SPECS
# build the 32 bit version of 20.0.110
./rpmb 20.0.110
# or build the 64 bit version of 20.0.110
./rpmb 20.0.110-amd64

The script does the following...
Downloads the MediaCenter deb file if it's not already present.
Downloads the rpmfusion repository rpm if it isn't already present.
Runs the rpmbuild process.

If the script completes successfully, you'll have 2 rpms.  With Fedora 20 and MC 20.0.110 as examples...
mediacenter-20/RPMS/noarch/rpmfusion-free-release-20.noarch.rpm
and either
mediacenter-20/RPMS/i686/MediaCenter-20.0.110-22.fc21.i686.rpm
or
mediacenter-20/RPMS/x66_64/MediaCenter-20.0.110-22.fc21.x86_64.rpm

Code: [Select]
cd ../RPMS/noarch
sudo yum localinstall rpmfusion-free-release-20.noarch.rpm
# Install the 32 bit version
cd ../RPMS/i686
sudo yum localinstall MediaCenter-20.0.110-22.fc21.i686.rpm
# Or install the 64 bit version
cd ../RPMS/x86_64
sudo yum localinstall MediaCenter-20.0.110-22.fc21.x66_64.rpm

You'll have to install rpmfusion first, and separately from, MediaCenter otherwise the MediaCenter rpm won't find lame or librtmp.
The rpms can be copied to any machine with the same Fedora release.

-------------------
Edit: Script Version 9.
Added a libcurl compiled under Fedora 17 which will work with 17+.  This should all but eliminate the chances of needing to build libcurl.

-------------------
Edit: Script Version 10
Fixed the mediacenter.desktop file to use LD_LIBRARY_PATH instead of a file in /etc/ld.so.conf.d

-------------------
Edit: Script Version 11
Removed the need for custom versions of libcurl.

-------------------
Edit: Script Version 12
Added a temporary build of libcrypto++.so.9 compiled with SSE2 while waiting for official Fedora build.
http://tinyurl.com/mediacenter-19-12-zip

-------------------
Edit: Script Version 13
Updated to work with Fedora 20.  Still backwards compatible to fc17.
http://tinyurl.com/mediacenter-19-13-zip

-------------------
Edit: Script Version 13
Added dependency for libboost_regex.
http://tinyurl.com/mediacenter-19-14-zip

-------------------
Edit: Script Version 15
Removed dependency for libcryptopp and libboost_regex.
Fixed script to handle '-' in the version number.  You can now do './rpmb 19.0.103-3'
http://tinyurl.com/mediacenter-19-15-zip

-------------------
Edit: Script Version 17
Updated for Media Center 20
http://tinyurl.com/mediacenter-20-17-zip

-------------------
Edit: Script Version 18
Added a dependency for mesa-libGL
http://tinyurl.com/mediacenter-20-18-zip

-------------------
Edit: Script Version 19
Adjust for duplicate 'media center 20.desktop' file
http://tinyurl.com/mediacenter-20-19-zip

-------------------
Edit: Script Version 20
Adjust for .desktop file rename
Added experimental support for 64 bit package
http://tinyurl.com/mediacenter-20-20-zip

-------------------
Edit: Script Version 22
Merged 32 bit and 64 bit scripts
Changed lib64 -> lib for 64 bit
http://tinyurl.com/mediacenter-20-22-zip

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #105 on: September 21, 2015, 01:23:27 pm »

Hello Fedora users,

After I try to install jriver 64 bits

[root@localhost SOURCES]# dnf install --allowerasing mediacenter20-20.0.110-2.x86_64.rpm
Last metadata expiration check performed 0:04:15 ago on Mon Sep 21 18:03:29 2015.

I get the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64

I successfully installed libgnutls-deb0.so.28() with: dnf install gnutls.i686

But the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64 is comming back

What to do now?


MC21 64 bit doesn't need an external libgnutls anymore.
I'm not sure what you have to do to get MC20 running.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #106 on: September 22, 2015, 01:33:00 pm »

Hello Fedora users,

After I try to install jriver 64 bits

[root@localhost SOURCES]# dnf install --allowerasing mediacenter20-20.0.110-2.x86_64.rpm
Last metadata expiration check performed 0:04:15 ago on Mon Sep 21 18:03:29 2015.

I get the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64

I successfully installed libgnutls-deb0.so.28() with: dnf install gnutls.i686

But the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64 is comming back

What to do now?


It looks like you are installing the 32-bit dependency when mediacenter is asking for the 64-bit dependency.
Logged
Pages: 1 2 [3]   Go Up