PDA

View Full Version : Guessing howto install on Debian - stuck



peter
2005-04-10, 07:11
Hi
I'm looking through the available docs and try to figure out how to install slimserver 6.0.1 on a Debian system. (If there is a description of this process then I've overlooked it and I'm sorry I started this thread)

Create a group and a user:
addgroup slimserver
adduser --ingroup slimserver slimserver

Unfold the tar in /home/slimserver
tar czf SlimServer_v6.0.1.tar.gz
mv SlimServer_v6.0.1 slimserver
Switch to root for
mv slimserver /usr/local

now back to user slimserver and let's have fun:
/usr/local/slimserver/slimserver.pl --version
> The following modules failed to load: Storable
> To download and compile them, please run: /usr/local/slimserver/Bin/build-perl-modules.pl
> Can't locate Storable.pm ....[cut a lot error messages]
OK, no fun yet

We verify path and version
which perl
> /usr/bin/perl
perl --version
> This is perl, v5.6.1 built for i386-linux

I try what I'm told to:
/usr/local/slimserver/Bin/build-perl-modules.pl
and I answer 3 questions:
> Please enter a perl binary to use (defaults to /usr/bin/perl) [pressing return]
> Please enter the path to your SlimServer directory (ex: /usr/local/slimserver) [pressing return]
> Please enter a directory to download files to --> /tmp
> Downloads will use lwp to fetch tarballs.
> Downloading Compress-Zlib-1.33.tar.gz to: /tmp
> Uncompressing..
> Configuring..
> /usr/bin/perl Makefile.PL
> Up/Downgrade complete.
> Building..
> Library for Compress-Zlib-1.33.tar.gz is OK!
> Downloading DBI-1.46.tar.gz to: /tmp
> Uncompressing..
> Configuring..
> /usr/bin/perl Makefile.PL
> Can't locate Test/More.pm in @INC (@INC contains: lib /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at Makefile.PL line 39.
> BEGIN failed--compilation aborted at Makefile.PL line 39.
> There was a problem creating Makefile - exiting!
oops - now what?

hints are very much appreciated
Peter

Mattias Holmlund
2005-04-10, 07:27
On Apr 10, 2005 4:11 PM, peter
<peter.1na0mz (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Hi
> I'm looking through the available docs and try to figure out how to
> install slimserver 6.0.1 on a Debian system. (If there is a description
> of this process then I've overlooked it and I'm sorry I started this
> thread)

There is no "official" method of installing slimserver on Debian.
There is however some instruction on the wiki:

http://wiki.slimdevices.com/index.cgi?DebianStartupScripts

and especially (shameless plug ;-)

http://wiki.slimdevices.com/index.cgi?DebianStartupScript3

/Mattias

>
> Create a group and a user:
> addgroup slimserver
> adduser --ingroup slimserver slimserver
>
> Unfold the tar in /home/slimserver
> tar czf SlimServer_v6.0.1.tar.gz
> mv SlimServer_v6.0.1 slimserver
> Switch to root for
> mv slimserver /usr/local
>
> now back to user slimserver and let's have fun:
> /usr/local/slimserver/slimserver.pl --version
> > The following modules failed to load: Storable
> > To download and compile them, please run:
> /usr/local/slimserver/Bin/build-perl-modules.pl
> > Can't locate Storable.pm ....[cut a lot error messages]
> OK, no fun yet
>
> We verify path and version
> which perl
> > /usr/bin/perl
> perl --version
> > This is perl, v5.6.1 built for i386-linux
>
> I try what I'm told to:
> /usr/local/slimserver/Bin/build-perl-modules.pl
> and I answer 3 questions:
> > Please enter a perl binary to use (defaults to /usr/bin/perl)
> [pressing return]
> > Please enter the path to your SlimServer directory (ex:
> /usr/local/slimserver) [pressing return]
> > Please enter a directory to download files to --> /tmp
> > Downloads will use lwp to fetch tarballs.
> > Downloading Compress-Zlib-1.33.tar.gz to: /tmp
> > Uncompressing..
> > Configuring..
> > /usr/bin/perl Makefile.PL
> > Up/Downgrade complete.
> > Building..
> > Library for Compress-Zlib-1.33.tar.gz is OK!
> > Downloading DBI-1.46.tar.gz to: /tmp
> > Uncompressing..
> > Configuring..
> > /usr/bin/perl Makefile.PL
> > Can't locate Test/More.pm in @INC (@INC contains: lib
> /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
> /usr/local/lib/site_perl .) at Makefile.PL line 39.
> > BEGIN failed--compilation aborted at Makefile.PL line 39.
> > There was a problem creating Makefile - exiting!
> oops - now what?
>
> hints are very much appreciated
> Peter
>
> --
> peter
>

Dan Sully
2005-04-10, 08:51
* peter shaped the electrons to say...

>> This is perl, v5.6.1 built for i386-linux

Try this:

apt-get install libstorable-perl libdigest-md5-perl

-D
--
<dmercer> Because that is what our industry does.
Churns out useless shit. Followed by inferior re-implementations of useless shit.

max.spicer
2005-04-10, 09:03
Are there plans for a recent slimserver Debian package? I heard of someone putting one together a while ago, but don't know any recent information.

Dan Sully
2005-04-10, 09:05
* max.spicer shaped the electrons to say...

>Are there plans for a recent slimserver Debian package? I heard of
>someone putting one together a while ago, but don't know any recent
>information.

Eventually - I run Debian myself (as do all the Slim Devices servers).

Unfortunately I've either been setting up Forums, or fixing bugs. :)

-D
--
<noah> I'm partial to lipstick lesbians, I guess, but I suppose that's
a little like saying you're partial to blue when you're blind.

Marc Sherman
2005-04-10, 10:19
max.spicer wrote:
> Are there plans for a recent slimserver Debian package? I heard of
> someone putting one together a while ago, but don't know any recent
> information.

I got a package about half-done, then I ran into trouble with the legal
issues. I'm waiting on some answers from Sean about how to package the
firmware and graphics dirs before I continue.

I was working on 5.4.1, in an attempt to get it into sarge before the
freeze, but it looks too late for that now. If I pick it up again I'll
probably redo the package with the 6.0.x nightlies, which seem to be
getting more stable by the day.

- Marc

Dan Sully
2005-04-10, 10:41
* Marc Sherman shaped the electrons to say...

>I got a package about half-done, then I ran into trouble with the legal
>issues. I'm waiting on some answers from Sean about how to package the
>firmware and graphics dirs before I continue.

Go ahead and exclude those.

>I was working on 5.4.1, in an attempt to get it into sarge before the
>freeze, but it looks too late for that now. If I pick it up again I'll
>probably redo the package with the 6.0.x nightlies, which seem to be
>getting more stable by the day.

Yeah - going with the 6.0 branch is best.

-D
--
There is no emergency. Nothing to see here. Move along.

Marc Sherman
2005-04-10, 10:51
Dan Sully wrote:
>
>> I got a package about half-done, then I ran into trouble with the
>> legal issues. I'm waiting on some answers from Sean about how to
>> package the firmware and graphics dirs before I continue.
>
>
> Go ahead and exclude those.

I had asked earlier about distributing them (unmodified) in non-free.
Not being able to distribute them at all hobbles the package. Is that a
possibility?

Is there any chance of getting the fonts relicensed under the GPL? It
would save me the work of creating new fonts.

Unless... when are the fonts used? Are they downloaded to the
squeezebox along with the firmware? Or are they used in the server at
runtime to generate bitmaps for the client? If it's the former, then I
can just exclude them from the free package, and rely on them being
there with the firmware in the non-free package. If they're needed at
runtime, though, I'll need to create replacements.

- Marc

quick_snack
2005-04-11, 01:16
Hi
I'm looking through the available docs and try to figure out how to install slimserver 6.0.1 on a Debian system. (If there is a description of this process then I've overlooked it and I'm sorry I started this thread)

Create a group and a user:
addgroup slimserver
adduser --ingroup slimserver slimserver

Unfold the tar in /home/slimserver
tar czf SlimServer_v6.0.1.tar.gz
mv SlimServer_v6.0.1 slimserver
Switch to root for
mv slimserver /usr/local

now back to user slimserver and let's have fun:
/usr/local/slimserver/slimserver.pl --version
> The following modules failed to load: Storable
> To download and compile them, please run: /usr/local/slimserver/Bin/build-perl-modules.pl
> Can't locate Storable.pm ....[cut a lot error messages]
OK, no fun yet



I have installed the tar-file in the dir /usr/local/slimserver. After that I made a 'home' dir named /usr/local/slimserver/home with all permissions (777) en changed the ownership to nobody:nogroup.
Then I used the script found on http://wiki.slimdevices.com/index.cgi?DebianStartupScript1 and modified it as follows (added lines):

HOME=/usr/local/slimserver/home
export HOME

so the script /etc/init.d/slimserver looks like:

#! /bin/sh
#
# slimserver Starts and stops the SlimServer
#
# Version: 1.0
#

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/slimserver/slimserver.pl
NAME=slimserver
DESC="Slimdevices music server"
HOME=/usr/local/slimserver/home
export HOME

test -x $DAEMON || exit 0

set -e

# Source configuration parameters
. /etc/default/slimserver

SLIMSERVER_ARGS="--daemon --pidfile=/var/run/$NAME.pid --logfile=$SLIMSERVER_LOG --user=$SLIMSERVER_USER --group=$SLIMSERVER_GROUP"
# SLIMSERVER_ARGS="--daemon --pidfile=/var/run/$NAME.pid --prefsfile=$SLIMSERVER_CFG --logfile=$SLIMSERVER_LOG --user=$SLIMSERVER_USER --group=$SLIMSERVER_GROUP"


case "$1" in
start)
echo -n "Starting $DESC: $NAME"
start-stop-daemon --start --quiet --exec $DAEMON -- $SLIMSERVER_ARGS
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
rm -f /var/run/$NAME.pid
echo "."
;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
echo -n "Restarting $DESC: $NAME"
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
rm -f /var/run/$NAME.pid
sleep 1
start-stop-daemon --start --quiet --exec $DAEMON -- $SLIMSERVER_ARGS
echo "."
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac

exit 0


You can delete the $SLIMSERVER_CNF var, slimserver make it's own sitting at /usr/local/slimserver/home/.slimserver.pref

After reading an article someone mentioned that slimserver.pl did not set the slimserver's HOME-dir properly.

The source-file /etc/default/slimserver look like:

# Edit this to suit your setup
SLIMSERVER_USER="nobody"
SLIMSERVER_GROUP="nogroup"
SLIMSERVER_LOG="/usr/local/slimserver/home/slimserver.log"

All things started well after '/etc/init.d/slimserver start' except for setting the /var/run/slimserver (PID). Slimserver 5.4.1 does however!

So, no need for an user named 'slimserver'

Please let me know if this one helps.

Regards,

quick_snack

jamesho
2005-06-23, 02:54
Does any one know if there has been any movement with making a debian package of slimserver?

I'm thinking about getting a SB2 and I run debian..
James

max.spicer
2005-06-23, 05:34
Does any one know if there has been any movement with making a debian package of slimserver?

I'm thinking about getting a SB2 and I run debian..
James
I don't know of any particular movement, but don't be put off from getting an SB2 just because of that. I run slimserver on Debian Sarge, and it's a fairly easy install. You'd get a lot of support on these groups to get it working. I use subversion to keep my slimserver up to date, so the lack of packages is no problem. Whenever I fancy an upgrade, I change to the slimserver directory and type svn update. That's it. It works very well.

Max

jamesho
2005-06-23, 06:02
I don't know of any particular movement, but don't be put off from getting an SB2 just because of that. I run slimserver on Debian Sarge, and it's a fairly easy install. You'd get a lot of support on these groups to get it working. I use subversion to keep my slimserver up to date, so the lack of packages is no problem. Whenever I fancy an upgrade, I change to the slimserver directory and type svn update. That's it. It works very well.

Max

Not put off too much by there not being .deb avaliable. But it would make things lots easier, I'm no debian/linux guru so .debs are a good thing for newbies. The reply was partly to just make it my voice heard that I was behind the debian packaging.

I have read the forums and see that there is plenty of support around and that does give confidence, just a matter of time before I get one I think. :-)

James

Marc Sherman
2005-06-23, 08:43
jamesho wrote:
> Does any one know if there has been any movement with making a debian
> package of slimserver?

For the record, I stopped working on it around the time 6.0 released,
and don't plan to start again; the legal issues with getting a
slimserver that will work with hardware squeezeboxes packaged in a
DFSG-free way seem to be intractable, due to the non-GPL'd parts of the
slimserver (firmware and graphics) which cannot be redistributed, even
in non-free.

- Marc

street_samurai
2005-06-23, 12:14
James,

I would consider myself a relative linux newbie and I managed to install Slimserver in about 5 minutes last night on my Debian machine.

Simply download and untar whichever linux build you are comfortable with (I used 6.0.3 since I know its stable). Change directory to the installed directory. Run the script: ./slimserver.pl

(you'll need to have perl installed, which is easy via apt-get)

Done.

If you want to run slimserver at startup you can use one of the scripts found in the wiki:

http://wiki.slimdevices.com/index.cgi?DebianStartupScripts

I used script 2 because it was simple and clearly written. You'll probably want to check the three variables at the begining of the script to ensure they are pointing to the right directories.

Call it "slimserver". Place it in your /etc/init.d directory and chmod 755.

Then add it to the startup sequence using:

"update-rc.d slimserver defaults"

Now it'll startup each time your startup your machine.

Its really quite easy.

Hope this helps.

ss.

jonhd
2005-06-23, 15:52
For the record, I stopped working on it around the time 6.0 released, and don't plan to start again; the legal issues with getting a slimserver that will work with hardware squeezeboxes packaged in a DFSG-free way seem to be intractable, due to the non-GPL'd parts of the slimserver (firmware and graphics) which cannot be redistributed, even
in non-free.

- Marc

Can you explain why the problems are intractable for Debian, and not for RedHat, plain-vanilla tarball, etc.?

I've been using Linux for over 6 years - mainly to familiarise myself with basic *nix command line (useful for work), but also to run slimserver - it took me far too long to get working in the first place, and I've wasted far too much time with upgrades...

Even after 6 years, I'd still only rate myself as maybe Newbie+1, and I reckon that's the case for 1,000's of 'casual' Linux 'dabblers'... (When I had a RedHat box, installing from the .RPM was, of course, easy.)

I now run Debian, and if there is no .DEB forthcoming, at some point in the future, I'll probably resort to the dreaded Windows - quelle horreur!

One final point, to illustrate what I'm talking about - Max, honestly trying to be helpful, stated:


...it's a fairly easy install. You'd get a lot of support on these groups to get it working. I use subversion to keep my slimserver up to date, so the lack of packages is no problem. Whenever I fancy an upgrade, I change to the slimserver directory and type svn update. That's it. It works very well.


I dispute that - 'fairly easy' is a relative term! - especially if you want scripts to do simple things like Start, Stop, Restart and autostart on reboot. svn sounds great (never heard of 'subversion') - how long do I have to spend looking into getting it, installing it, reading the man pages, finding help online when it doesn't work as expected...

Think 'Granny', not 'Programmer'! Albeit a granny that has a Linux-based PC, with a library of 12,000 MP3s :-) But, I'm sure you understand my point.

Cheers, Jon 'Billericay Dickie' H-D

mherger
2005-06-23, 23:01
> I now run Debian, and if there is no .DEB forthcoming, at some point in
> the future, I'll probably resort to the dreaded Windows - quelle
> horreur!

You don't have to face this horror, really! Until about two weeks ago my
only experience with debian dated about 8-9 years back. And it was a
disastrous experience - never got my machine to run debian back then. Two
weeks ago I started fiddling with a Knoppix descendant (DSL) which is
based on Debian. It really only took me a look at the already cited wiki
page and copy/paste to get the startup script I needed. Once this is done
all you'll have to do to update slimserver is download the tarball and
install it using tar -xzf - not that much harder than apt-get.

> I dispute that - 'fairly easy' is a relative term! - especially if you
> want scripts to do simple things like Start, Stop, Restart and
> autostart on reboot.

Have a look at the wiki page. It's really a question of copy/paste!

> svn sounds great (never heard of 'subversion') -
> how long do I have to spend looking into getting it, installing it,
> reading the man pages, finding help online when it doesn't work as
> expected...

Stick with the tarball and you're fine. SVN is great if you always want
the latest and greatest bits. But I only use it for developpment. My
"production" server always uses a somewhat dated, but rather stable
nightly.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

jamesho
2005-06-24, 04:36
Thanks for all replies and pointers for info. I guess I will buy one some time soon. :)
I understand that it may be fairly simple to install the server from the tar.gz and that may be the way I have to do it.

But as some of you may be aware debian has this great tool called atp-get, it make installing, upgrading, removing so simple. Even granny could cope with it. It removes the need to faffing around with start up scripts and a like. I don't want to be faffing around with start up scrips.

Moving away from the normal debian way to using .tar.gz to install and upgrade removes a lot of the easyness of debian. This is the main reason that I asked if a .deb had progressed.

I understand that there may be legal issues with some parts of the server and DFSG. But I'm sure there are some ways around it, some how.
Could some one make a .deb and get Slim Devices to distributed like they do for a .rpm? This is what skype does. http://skype.com/products/skype/linux/

I also know of some debian tricks (not that I'm a linux or debian expert). When I install some MS fonts, I apt-get'ed some sudo package that was a script that then wget'ed the fonts from microsoft.com
With Slim Devices help I'm sure some thing simalar could work.

Well that's my 2p.
Thanks

Marc Sherman
2005-06-24, 09:13
jonhd wrote:
>
> Can you explain why the problems are intractable for Debian, and not
> for RedHat, plain-vanilla tarball, etc.?

Debian and RedHat are fundamentally different organizations -- RedHat is
a pragmatic corporation, while Debian is defined by the principles of
the social contract and the DFSG. As a result, a lot of stuff is
acceptable for including in a redhat distro that isn't allowed in Debian.

The specific issues here are the Firmware and Graphics components of the
slimserver distro. They are non-free, and also cannot be redistributed
by 3rd parties according to the license. IIRC, at least for the
firmware, SD is bound to that by their own license with the embedded CPU
manufacturer, so they can't relicense it to make it redistributable.

What I'd consider acceptable, from a perspective of what's allowed in
debian and what I'm interested in working on, would be splitting up the
firmware and graphics into a separate source package which builds a
slimserver-nonfree-data binary for distribution in Debian's non-free
annex. However, the redistribution prohibition I mentioned above makes
that impossible.

jamesho wrote:
>
> I understand that there may be legal issues with some parts of the
> server and DFSG. But I'm sure there are some ways around it, some how.
> Could some one make a .deb and get Slim Devices to distributed like
> they do for a .rpm? This is what skype does.

That's certainly possible, and it's what Dan suggested I do when I ran
into the legal issues described above. However, in my experience, it
really only works when building a package for Debian's stable distro
(Sarge). When building for a 3rd party repository targeting
testing/unstable, it's quite difficult to keep an external package in
sync and buildable/installable all the time without a lot of effort to
set up autobuilders et al, especially for a package with as many
external dependencies as slimserver has (on assorted cpan packages).
I'm not interested in doing all that work myself, and since I run a
testing/unstable box for my own slimserver, building just stable
packages isn't useful or interesting to me.

- Marc

jonhd
2005-07-06, 16:52
Once this is done all you'll have to do to update slimserver is download the tarball and install it using tar -xzf - not that much harder than apt-get.

Apologies for the delay in replying... Thanks (OK with downloading, creating the script, etc.), but to illustrate my point - install as what User? From what directory? The tarball extracts to a version-specific directory name... Haven't read that Wiki article for a while - does it specify User/Group/permissions for the script?
Would it not make sense for SD to add a Debian install procedure to the FAQ? (Presumably this could be Linux-generic, apart from the script(s)?)

Thanks Marc, for your comprehensive reply.

Regards, Jon

radish
2005-07-06, 18:54
Just a question here about the debian/GPL issue. I quite understand the problem with the firmware, but what's the issue with graphics? All I can see in there are the logo and fonts. The fonts are public domain (my understanding of fonts is that you can only copyright a specific font file, not the shape of the letters themselves) - is it just the logo that SD don't want to make available?

mherger
2005-07-07, 00:36
Jon,

> Apologies for the delay in replying...

Hey, it's you asking questions. I don't expect you to :-).

> Thanks (OK with downloading,
> creating the script, etc.), but to illustrate my point - install as
> what User? From what directory? The tarball extracts to a
> version-specific directory name...

You're right. The startup scripts on the wiki page contain most of this
information. But you (the user, me too) have to know to read it.

> Haven't read that Wiki article for a
> while - does it specify User/Group/permissions for the script?
> Would it not make sense for SD to add a Debian install procedure to the
> FAQ? (Presumably this could be Linux-generic, apart from the
> script(s)?)

The nice thing about a wiki is that anybody could do this. ;-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

jonhd
2005-07-07, 06:00
8<---- snip
The nice thing about a wiki is that anybody could do this. ;-)

Fair point :-)

Jon

Marc Sherman
2005-07-07, 07:30
radish wrote:
> Just a question here about the debian/GPL issue. I quite understand
> the problem with the firmware, but what's the issue with graphics?
> All I can see in there are the logo and fonts. The fonts are public
> domain (my understanding of fonts is that you can only copyright a
> specific font file, not the shape of the letters themselves) - is it
> just the logo that SD don't want to make available?

I don't want to play legal hardball with SD -- they're claiming
copyright on the fonts in the graphics dir, and I'll respect that.

- Marc

jamesho
2005-07-08, 00:59
radish wrote:[color=blue]

I don't want to play legal hardball with SD -- they're claiming
copyright on the fonts in the graphics dir, and I'll respect that.

- Marc

But that doesn't stop SD from distributing a .deb of the server.
Does SD read these forums? Do the know that there is a good number of people that would be greatful if they packaged the server as a .deb

If SD don't read these forums is there any other way that we can get the message across to them that there is a demand here?

James

mherger
2005-07-08, 01:05
> But that doesn't stop SD from distributing a .deb of the server.

....and it doesn't stop users of SuSE, Gentoo, FreeBSD, BeOS, FreeDOS,
younameitOS from asking for their package.

> Does SD read these forums?

Don't worry, they do.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

kdf
2005-07-08, 02:47
Quoting jamesho <jamesho.1ruclz (AT) no-mx (DOT) forums.slimdevices.com>:

>
> Marc Sherman Wrote:
> > radish wrote:[color=blue]
> >
> > I don't want to play legal hardball with SD -- they're claiming
> > copyright on the fonts in the graphics dir, and I'll respect that.
> >
> > - Marc
>
> But that doesn't stop SD from distributing a .deb of the server.
> Does SD read these forums? Do the know that there is a good number of
> people that would be greatful if they packaged the server as a .deb
>
> If SD don't read these forums is there any other way that we can get
> the message across to them that there is a demand here?

they do, and they are VERY active in the forums. They are aware of the demand.
If you spend a bit of time doing a search, you will find a few of them involved
in the discussions. To make it short, a few users have volunteered to maintain
the .deb, but have had to step away for one reason or another. If someone who
knows a fair bit about setting up a build process for deb's, then I'm sure SD
would be very interested in working with them to make something work.

-kdf

Marc Sherman
2005-07-08, 04:08
jamesho wrote:
>
> But that doesn't stop SD from distributing a .deb of the server.
> Does SD read these forums? Do the know that there is a good number of
> people that would be greatful if they packaged the server as a .deb

Please take another look at my previous message in this thread. The
project I volunteered for, but which turns out to be impossible (or at
least more difficult than I can tackle right now), is getting SlimServer
into Debian proper. None of these legal issues would block Slim from
distributing their own debs from their own server. As I mentioned,
maintaining those debs against unstable/testing would be challenging,
but with enough time and build resources available, it is certainly
possible.

- Marc

Dan Sully
2005-07-08, 09:06
* jamesho shaped the electrons to say...

>> I don't want to play legal hardball with SD -- they're claiming
>> copyright on the fonts in the graphics dir, and I'll respect that.
>>
>But that doesn't stop SD from distributing a .deb of the server.
>Does SD read these forums? Do the know that there is a good number of
>people that would be greatful if they packaged the server as a .deb
>
>If SD don't read these forums is there any other way that we can get
>the message across to them that there is a demand here?

Yes we do - and we're aware of the demand. I run unstable myself.

However, right now all our resources are focused on 6.1 & SqueezeNetwork.

-D
--
<noah> the auto mechanic told me there was something wrong with my rear differential.
I told him I never took calculus.

jonhd
2005-07-17, 15:41
Yes we do - and we're aware of the demand. I run unstable myself.

However, right now all our resources are focused on 6.1 & SqueezeNetwork.


However-squared, Dan, this reminds me (in a circular argument kind of way) why I first got involved in this thread... You folks set the priorities, I'm merely asking that, in the great scheme of (SD) things, you re-consider what offerng a .DEB might do for popularisation of Squeezebox. Most Linux users would be able to get by with a choice of .RPM or .DEB... Currently, I feel, a large demographic of savvy-lite Linux users (e.g. me!) are somewhat disenfranchised.
(If you feel .DEB is a low priority compared to development of 6.1, SqueezeNetwork, etc., then that's an end to the request, I guess.)

FYI, I followed one of the methods, from the Wiki. None of them were idiot-proof (i.e. me!), and the one I chose (to spend most of an evening on), contrary to it's stated aims, refused to auto-start the server after a reboot. OK, so I'm obviously a bit thick, but I don't have a clue about how to find-out why (it doesn't auto-start). So, I'll have to stick with (simple, crude) manual 'tar -xvf', renaming the directory to 'slimserver', CD'ing to the directory, and ./slimserver.pl to start it. I'm prepared to do this forever, because Slimserver/Squeezebox is so damn good :-)

dean
2005-07-17, 20:06
On Jul 17, 2005, at 3:41 PM, jonhd wrote:
> However-squared, Dan, this reminds me (in a circular argument kind of
> way) why I first got involved in this thread... You folks set the
> priorities, I'm merely asking that, in the great scheme of (SD)
> things,
> you re-consider what offerng a .DEB might do for popularisation of
> Squeezebox. Most Linux users would be able to get by with a choice of
> .RPM or .DEB... Currently, I feel, a large demographic of savvy-lite
> Linux users (e.g. me!) are somewhat disenfranchised.
> (If you feel .DEB is a low priority compared to development of 6.1,
> SqueezeNetwork, etc., then that's an end to the request, I guess.)

We would love to host a Debian build, and would love some help from
somebody who's already had some experience with building them.

It was a volunteer to built and maintained our .rpm scripts, we just
need a good .deb expert to pitch in!

mherger
2005-07-17, 22:56
> FYI, I followed one of the methods, from the Wiki. None of them were
> idiot-proof (i.e. me!), and the one I chose (to spend most of an
> evening on), contrary to it's stated aims, refused to auto-start the
> server after a reboot. OK, so I'm obviously a bit thick, but I don't
> have a clue about how to find-out why (it doesn't auto-start). So, I'll

Have you asked here, what could be wrong? Do you get any error message?
Which method did you use?

One thing I could imagine is that you did not put a link to the startup
script in one of the /etc/rcX.d folders.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

jonhd
2005-07-18, 02:52
Have you asked here, what could be wrong? Do you get any error message?
Which method did you use?

One thing I could imagine is that you did not put a link to the startup script in one of the /etc/rcX.d folders.

Thanks for that Michael. No, I didn't post a 'Help!' - I get no error message during boot (nothing relating to Slimserver appears in dmesg). I used the method (yours?) that has all the 'install -o....' instructions. Followed that method to the letter. I believe it's something related to permissions, but didn't have the time to investigate. As I said, I just cd to the install directory and fire-it up manually.

BTW, I'm not suggesting (though it would be a fantastic 'feature') that Slim gets added to the Debian packages database (so that I could use apt-get), just a .DEB archive.

Cheers, Jon

mherger
2005-07-18, 03:48
> Thanks for that Michael. No, I didn't post a 'Help!' - I get no error
> message during boot (nothing relating to Slimserver appears in dmesg).
> I used the method (yours?) that has all the 'install -o....'

It's neither mine (I never worked with Debian :-)) nor do I find one
containing any "install -o" :-/. Could you please give an url?

I've been using version 2
(http://wiki.slimdevices.com/index.cgi?DebianStartupScript2) for my
SlimCD. So I know it works ;-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

max.spicer
2005-07-18, 04:40
What version of SlimServer are you using? There is a bug in 6.0.x which stopped the server from starting at system startup on a Debian system. This has been fixed for quite a while in the trunk builds (i.e. 6.1.x).

For more details, see http://bugs.slimdevices.com/show_bug.cgi?id=1492.

Max


FYI, I followed one of the methods, from the Wiki. None of them were idiot-proof (i.e. me!), and the one I chose (to spend most of an evening on), contrary to it's stated aims, refused to auto-start the server after a reboot. OK, so I'm obviously a bit thick, but I don't have a clue about how to find-out why (it doesn't auto-start). So, I'll have to stick with (simple, crude) manual 'tar -xvf', renaming the directory to 'slimserver', CD'ing to the directory, and ./slimserver.pl to start it. I'm prepared to do this forever, because Slimserver/Squeezebox is so damn good :-)

jonhd
2005-07-18, 05:23
>It's neither mine (I never worked with Debian :-)) nor do I find one containing any "install -o" :-/. Could you please give an url?

Michael, I've been using Mattias's comprehensive DebianStartupScript3 - http://wiki.slimdevices.com/index.cgi?DebianStartupScript3 which struck me as the best solution (if I could make it work...). I downloaded the whole shebang from his website (URL on the page I referenced). It uses lots of 'install -o....' commands, like I said :-)

Cheers, Jon

jonhd
2005-07-18, 05:27
What version of SlimServer are you using? There is a bug in 6.0.x which stopped the server from starting at system startup on a Debian system. This has been fixed for quite a while in the trunk builds (i.e. 6.1.x).

For more details, see http://bugs.slimdevices.com/show_bug.cgi?id=1492.

Max
Thanks Max - I was using a nightly, from around July 8th.

Jon

mherger
2005-07-19, 00:11
> Michael, I've been using Mattias's comprehensive DebianStartupScript3 -
> http://wiki.slimdevices.com/index.cgi?DebianStartupScript3 which struck
> me as the best solution (if I could make it work...). I downloaded the
> whole shebang from his website (URL on the page I referenced). It uses
> lots of 'install -o....' commands, like I said :-)

You say it: the best if it worked... Why don't you try an easier solution
first?

Sometimes I prefer the working to the the possibly best solution ;-).

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)