Jump to content
abeloin

Linux Setup

Recommended Posts

Nate8727

Try Run -> Start Debugging(F5)

 

In the application output you should see AppHostInit and then Run startup task

I should of asked what file to open in the Release Mono folder for MB3 first.  So which file or files do I open in Xamarin Studio?  I opened the .exe file, but the MB3 interface isn't running or showing up.

Share this post


Link to post
Share on other sites
im85288

I should of asked what file to open in the Release Mono folder for MB3 first.  So which file or files do I open in Xamarin Studio?  I opened the .exe file, but the MB3 interface isn't running or showing up.

 

Not sure if it helps you, but the post from JWill on the first page helped me on how to launch the server..basically you need to do it from the command line as far as I know such as:

 

# mono MediaBrowser.Server.Mono.exe

Share this post


Link to post
Share on other sites
abeloin

I should of asked what file to open in the Release Mono folder for MB3 first.  So which file or files do I open in Xamarin Studio?  I opened the .exe file, but the MB3 interface isn't running or showing up.

 

My bad I thought you were trying to compile mb's source. No need for Xamarin Studio.

Share this post


Link to post
Share on other sites
Joao Correa

Yes it does include everything except libgdiplus.

 

Nice, works fine now!!

Share this post


Link to post
Share on other sites
Luke

i've put up a new build.

Share this post


Link to post
Share on other sites
jwill

i've put up a new build.

Any chance you and abeloin can coordinate your builds? 

 

abeloin's build is much easier to use, since it does not require installing mono, and on my 64-bit system all I have to do is install the 64-bit package for libgdiplus.

Share this post


Link to post
Share on other sites
Nate8727

My bad I thought you were trying to compile mb's source. No need for Xamarin Studio.

OS X won't let me open the exe file unless it's with a program.  The only program I can use is Xamarin Studio.  Terminal is grayed out so I can't use it directly.

Share this post


Link to post
Share on other sites
abeloin

That's good news then. I take it that's a sign that the next mono release will likely have the fix included?

 

Hopefully yes.

Share this post


Link to post
Share on other sites
abeloin

OS X won't let me open the exe file unless it's with a program.  The only program I can use is Xamarin Studio.  Terminal is grayed out so I can't use it directly.

 

OS X won't let me open the exe file unless it's with a program.  The only program I can use is Xamarin Studio.  Terminal is grayed out so I can't use it directly.

Launchpad->Other->Terminal is greyd out?

 

Have you tried via Spotlight?

Edited by abeloin

Share this post


Link to post
Share on other sites
scokar

Has anyone tried OS X, and if not, does anyone here have the capability to help us with some testing on it?

 

I can help out with OSX 10.9.x  but I am having trouble compiling/linking mono with the necessary patch.  

Share this post


Link to post
Share on other sites
abeloin

I can help out with OSX 10.9.x  but I am having trouble compiling/linking mono with the necessary patch.  

Try the One Stop Shop Build Script from http://www.mono-project.com/Compiling_Mono_on_OSX.

 

It will compile from github master, which already include the patch

  • Like 1

Share this post


Link to post
Share on other sites
Luke

Try the One Stop Shop Build Script from http://www.mono-project.com/Compiling_Mono_on_OSX.

 

It will compile from github master, which already include the patch

 

That's good news then. I take it that's a sign that the next mono release will likely have the fix included?

Share this post


Link to post
Share on other sites
im85288

My tests under OS X with the latest server from Luke have proved unsuccessful. I can launch the server and get to the point of adding my media, it then states an error on the page and crashes.

 

Here is a copy of the log I found: http://pastebin.com/VZezF8bt

 

I then ran it again and got a bit further where it started to scan my media but crashed: http://pastebin.com/zkZL3fSM

 

If there is any further information you need just let me know

 

ps Nate8727... not sure what you are doing but you should be using Terminal to first compile mono and then to launch the server under mono as I showed in my previous reply. 

Edited by im85288

Share this post


Link to post
Share on other sites
Luke

what crashes?

 

My tests under OS X with the latest server from Luke have proved unsuccessful. I can launch the server and get to the point of adding my media, it then states an error on the page and crashes.

 

Here is a copy of the log I found: http://pastebin.com/VZezF8bt

 

If there is any further information you need just let me know

 

ps Nate8727... not sure what you are doing but you should be using Terminal to first compile mono and then to launch the server under mono as I showed in my previous reply. 

 

what crashes, the whole server?

Share this post


Link to post
Share on other sites
abeloin

I then ran it again and got a bit further where it started to scan my media but crashed: http://pastebin.com/zkZL3fSM

 

I guess from the log you're running 10.9 64-bit?

 

If so can you try this version: removed link (Mac 64 bit Only)

 

ffmpeg and ffprobe should work properly with it.

Edited by abeloin
  • Like 1

Share this post


Link to post
Share on other sites
scokar

Try the One Stop Shop Build Script from http://www.mono-project.com/Compiling_Mono_on_OSX.

 

It will compile from github master, which already include the patch

 

mono from git (3.2.7) is now installed following those instructions as root, plus the extra step of downloading mono/autogen.sh and copying it into the ~/Build/mono directory.

 

from my experiences with building from git and source,  i would hope that mediabrowser3 takes the position that a) master branch is always buildable and 'b' )  downloading mediabrowser source retreives all files necessary for the build process (exclusive of dependancies of course).

 

It is very important to reduce the barrier of entry.

 

prior to this, I spent a lot of time getting mono to compile on OSX and that project is really shooting itself in the foot by incorrect instructions and "undbuildable" builds.

 

"If you can't compile it, its crap"

 

anyways....

 

I will test MB3 on OSX tomorrow.

Edited by scokar

Share this post


Link to post
Share on other sites
im85288

I guess from the log you're running 10.9 64-bit?

 

If so can you try this version: https://copy.com/SQWhmZbEHkcB (Mac 64 bit Only)

 

ffmpeg and ffprobe should work properly with it.

 

Yes I am running 10.9 on 64-bit.

 

I tried your version but this fails to start, here are the logs it created: http://pastebin.com/K5dQe4q8

 

http://pastebin.com/hd7Y8pfD

Edited by im85288

Share this post


Link to post
Share on other sites
im85288

what crashes?

 

 

what crashes, the whole server?

 

Yes the whole server crashes and sometimes cannot be restarted, I added an extra log file which may help in isolating what caused the crash

Share this post


Link to post
Share on other sites
Luke

ok. @@abeloin should take a look at that.

Share this post


Link to post
Share on other sites
abeloin

.

 

I tried your version but this fails to start, here are the logs it created: http://pastebin.com/K5dQe4q8

Ok.

 

Need to fix some stuff.

Edited by abeloin

Share this post


Link to post
Share on other sites
scokar

I have compiled mono for OSX 10.9.x from git (3.2.7) using /opt/mono as the prefix.

 

You can download it from here:  https://www.dropbox.com/s/5xqe2ijsioc3zd5/optmono.zip

 

This archive also contains automake, autoconf, and libtool in the "bin"directory

 

 

download the zip archive to your Downloads directory

 

double click it to extract the zip archive

 

open a terminal

cd ~/Downloads

sudo mv opt    /

sudo chown -R `whoami`   /opt

assuming you don't have "/opt" directory.  if you know what you are doing with the command, make the necessary adjustments

 

If you've extracted "Release Mono"  into your Documents directory:

 

(in the terminal)

cd

cd Documents

cd "Release Mono"
 
PATH=/opt/mono/bin:$PATH

mono MediaBrowser.Server.Mono.exe
  • Like 1

Share this post


Link to post
Share on other sites
Luke

i've updated the first post with new, and better instructions from abeloin.

Share this post


Link to post
Share on other sites
im85288

New build to test, https://copy.com/YTqMMTzhFyA2 (Mac)

 

Excellent, this build allowed me to enter my media and begin and complete the scan (BTW I could not add the locations in a UNC format so they pointed at shared drives). There was no crash of the server, however once the scan seemed to be completed I navigated to my movies/tv/music etc where there are mixed results with showing the images..for example nothing in recommended movies or recommended episodes or movies to tv shows...but for some reason there were images in episodes. 

 

I could not however get any media to play..be it locally via a web browser or from the iOS app. The server log is really big but hopefully this snippet from the start can help:

 

http://pastebin.com/P6ri78ew

Share this post


Link to post
Share on other sites
abeloin

Excellent, this build allowed me to enter my media and begin and complete the scan (BTW I could not add the locations in a UNC format so they pointed at shared drives). There was no crash of the server, however once the scan seemed to be completed I navigated to my movies/tv/music etc where there are mixed results with showing the images..for example nothing in recommended movies or recommended episodes or movies to tv shows...but for some reason there were images in episodes. 

 

I could not however get any media to play..be it locally via a web browser or from the iOS app. The server log is really big but hopefully this snippet from the start can help:

 

http://pastebin.com/P6ri78ew

 

New build: https://copy.com/VOUzJxtmiQVS (Mac)

 

This should fix the issue with the ffprobe error

Edited by abeloin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...