PDA

View Full Version : Best way to install 6.0 on FreeBSD?



David Zuckerman
2005-03-11, 15:27
I just placed an order for a wired SB2 after patiently waiting a few months
in anticipation of a new product release. I'm glad I waited -- the new
Squeezebox looks great.

A while back, I installed SlimServer 5.4.0 from Ports on my 5.3-RELEASE
FreeBSD system to test out its functionality with Softsqueeze, and it seemed
to work OK on my ancient Pentium 233. I'd like to give 6.0 a try since the
SB2 will require it.

What's the best way to install 6.0 on my system? Should I deinstall the 5.4
port from my system first? I'm a fairly new FreeBSD user -- my interest in
the Squeezebox was my impetus to finally start experimenting with FreeBSD
after wanting to get around to it for a long time -- and I'm a little
worried about dependency problems with other ports.

Also, I have version 1.47 of p5-DBI installed from the Ports Tree, and 6.0
doesn't work with it, IIRC. Should I deinstall it and install 1.46
manually? I've never done a perl module install without going through
Ports, so I'm not sure how to do it. Again, the dependency thing concerns
me.

Or should I just wait until 6.0 final is released and finds its way into
Ports? (Hopefully Brooks Davis is still around!)

Thanks for any and all suggestions. Can't wait until my Squeezebox ships!

-David

Dan Sully
2005-03-11, 15:32
* David Zuckerman shaped the electrons to say...

>What's the best way to install 6.0 on my system? Should I deinstall the 5.4
>port from my system first? I'm a fairly new FreeBSD user -- my interest in
>the Squeezebox was my impetus to finally start experimenting with FreeBSD
>after wanting to get around to it for a long time -- and I'm a little
>worried about dependency problems with other ports.

David - we've placed the perl modules that need compiling up at:

http://svn.slimdevices.com/vendor/src/

If your FreeBSD has perl 5.8, you don't need Digest::MD5 & Storable.

After you've compiled & installed those - if you send me back the .so files,
I can get them checked in for other users.

-D
--
This knob controls the thing that changes when you turn it. - noah

David Zuckerman
2005-03-11, 16:08
On Fri, Mar 11, 2005 at 02:32:57PM -0800, Dan Sully wrote:
> * David Zuckerman shaped the electrons to say...
>
> >What's the best way to install 6.0 on my system? Should I deinstall the
> >5.4
> >port from my system first? I'm a fairly new FreeBSD user -- my interest in
> >the Squeezebox was my impetus to finally start experimenting with FreeBSD
> >after wanting to get around to it for a long time -- and I'm a little
> >worried about dependency problems with other ports.
>
> David - we've placed the perl modules that need compiling up at:
>
> http://svn.slimdevices.com/vendor/src/
>
> If your FreeBSD has perl 5.8, you don't need Digest::MD5 & Storable.

I'm running 5.8.6. I already have most of the required modules installed on
my system. A quick version question: I have Template-Toolkit 2.14 and
Storable 2.13 installed, which are newer than the versions at the svn site.
Any known compatibility problems similar to DBI?

> After you've compiled & installed those - if you send me back the .so files,
> I can get them checked in for other users.

I compile ports with "-march=pentium-mmx" to optimize for my system. Does
this matter for other users -- does the optimization flag make a difference
in perl? (My perl ignorance is showing here).

-David

Dan Sully
2005-03-11, 16:18
* David Zuckerman shaped the electrons to say...

>> http://svn.slimdevices.com/vendor/src/
>>
>> If your FreeBSD has perl 5.8, you don't need Digest::MD5 & Storable.
>
>I'm running 5.8.6. I already have most of the required modules installed on
>my system. A quick version question: I have Template-Toolkit 2.14 and
>Storable 2.13 installed, which are newer than the versions at the svn site.
>Any known compatibility problems similar to DBI?

Not inherently, but if you send back the .so files, they need to be the same
version numbers as the .pm files we ship, IE: 2.13 for Template Toolkit. Perl
embedds the version number in the compiled file. If they don't match, it doesn't load.

And for perl 5.8+, Storable is installed as part of perl itself, so it's not needed.

>I compile ports with "-march=pentium-mmx" to optimize for my system. Does
>this matter for other users -- does the optimization flag make a difference
>in perl? (My perl ignorance is showing here).

No, it won't matter.

-D
--
<iNoah> kernel's original recipe: 11 secret args and switches