Re: Perl 5.8 on Debian
by tlm (Prior) on Apr 06, 2005 at 10:06 UTC
|
BTW, you don't need to switch the entire server to testing (or unstable); you can just upgrade perl. Try
[sudo or whatever] apt-get install perl/testing
| [reply] [d/l] |
|
| [reply] |
|
apt-get build-dep --compile perl && apt-get source --compile perl
with
deb-src http://http.us.debian.org/debian testing main
or
deb-src http://http.us.debian.org/debian unstable main
cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."
| [reply] [d/l] [select] |
|
Thanks, that sounds like a viable option. That way, I can install perl, Apache and mod_perl from testing. Of course, there are still some security issues, but at least I only have a few packages to watch, not a whole system.
| [reply] |
|
| [reply] |
Re: Perl 5.8 on Debian
by borisz (Canon) on Apr 06, 2005 at 10:46 UTC
|
I install a recent perl in another location and make that the default. So any change to the distribution does not affect perl anymore.
| [reply] |
Other alternatives
by dave0 (Friar) on Apr 06, 2005 at 14:11 UTC
|
In Debian, you can pull packages from multiple sources, so you might1 be able to get your base OS from 'stable' and pull certain packages from 'testing' or 'unstable'. See http://www.argon.org/~roderick/apt-pinning.html for information on setting this up.
Rather than using testing or unstable, you might be able to find some of the packages you need at http://www.backports.org. Not Perl, though, but they do have Apache2.
A nice middle ground between building everything from upstream sources, or suffering through outdated packages might be to build your own .deb packages of perl 5.8.x and its dependancies. I haven't tried this for something as complex as Perl or Apache, but for many other packages it's a simple matter of downloading the source packages from 'unstable' and rebuilding them on 'stable'.
1 - I say "might", because doing so might require upgrading the dependancies of Perl and Apache to the versions from 'testing', at which point you're basically better off just switching the entire thing rather than trying to track a 'stable' base and 'testing' for your apps. | [reply] |
Re: Perl 5.8 on Debian
by vladdrak (Monk) on Apr 07, 2005 at 08:06 UTC
|
Well, security.debian.org does in fact host sarge debs. They aren't first priority, woody gets patched first, but sarge is close (cough) to becoming stable, and so the security team is more on the ball these days. Add this to your sources.list:
deb http://security.debian.org/ sarge/updates main contrib non-free
You could also crossgrade to Ubuntu..
| [reply] [d/l] |
Re: Perl 5.8 on Debian
by tlm (Prior) on Apr 06, 2005 at 10:02 UTC
|
| [reply] |
|
| [reply] |
|
| [reply] |
A reply falls below the community's threshold of quality. You may see it by logging in. |