LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Closed Thread
  Search this Thread
Old 05-01-2007, 06:47 PM   #1
ivanolo
Member
 
Registered: Mar 2004
Posts: 40

Rep: Reputation: 15
HOWTO: Install uShare 0.9.6 in Ubuntu 6.06 LTS (for Newbies Like Myself)


For those of us who have a D-Link DSM-520 media player, or if you're thinking about getting one and don't want to use Windows or pay for TwonkyVision, here's a quick and dirty guide to install uShare 0.9.6, the only version I could get to work with Ubuntu 6.06 LTS without complaining about dependencies. Please keep in mind that, even though I've experimented with Linux in the past, I'm still, for all intents and purposes, a newbie.

From a terminal, issue the following command:
Code:
sudo apt-get install build-essential manpages-dev autoconf automake libupnp-dev libupnp0
Type 'Y' and press 'ENTER' when prompted.

Next, get the source for uShare 0.9.6 from here. You can save the file to your desktop.

Extract the file.
Code:
tar -xvjf ushare-0.9.6.tar.bz2
Now, add support for AVI files, or the DSM-520 won't play them.
Code:
gedit /home/username/Desktop/ushare-0.9.6/src/mime.c
Look for the line that says:
Code:
{ "avi", UPNP_VIDEO, "http-get:*:video/avi:*"},
Replace it so that it says:
Code:
{ "avi", UPNP_VIDEO, "http-get:*:video/x-msvideo:*"},
Save the changes and close the window.

Follow the instructions on the uShare website:
Code:
CFLAGS="-Os" ./configure --prefix=/usr
make
&
Code:
make install-strip
Read more here.

Hope this helps someone. I couldn't get this to work for me.

Now all I need is to learn how to create a .deb package, and then I won't have to do this again!
 
Old 05-03-2007, 06:29 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You know, we have a Tutorial section which would be ideal for this sort of thing. Closing this in the hope you repost it there.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New video card install problems in Ubuntu 6.06.1 LTS wb7sdxgary Linux - Hardware 1 02-12-2007 11:00 PM
HOWTO--The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) pigswillfly Ubuntu 5 12-19-2006 07:26 AM
multiple install problems, ubuntu ver:6.06 LTS deft Ubuntu 2 11-28-2006 08:05 AM
Chossing ubuntu 6.06 LTS mohtasham1983 Linux - General 3 07-31-2006 03:34 PM
LXer: How To Install VMware Server On Ubuntu 6.06 LTS (Dapper Drake) LXer Syndicated Linux News 0 07-16-2006 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration