Request package for Debian Lenny AMD64

Request package for Debian Lenny AMD64

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Request package for Debian Lenny AMD64

Post by umarzuki »

Can I request a binary package for Debian Lenny AMD64 or at least hlp me compile and make a binary from source

viewtopic.php?f=20&t=17526
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Request package for Debian Lenny AMD64

Post by det »

Add this to your sources.list

Code: Select all

deb-src http://ppa.launchpad.net/spring/ppa/ubuntu intrepid main
Installing the Spring engine

Install build dependencies

Code: Select all

sudo apt-get build-dep spring-engine
Compile and produce package

Code: Select all

apt-get source -b spring-engine
Install package

Code: Select all

sudo dpkg -i spring-engine*.deb
Installing the SpringLobby client

Install build dependencies

Code: Select all

sudo apt-get build-dep springlobby
Compile and produce package

Code: Select all

apt-get source -b springlobby
Install package

Code: Select all

sudo dpkg -i springlobby*.deb
Note that I haven't tested this, I am an Ubuntu user myself, but I expect it to work.
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Re: Request package for Debian Lenny AMD64

Post by umarzuki »

det wrote:Add this to your sources.list

Code: Select all

deb-src http://ppa.launchpad.net/spring/ppa/ubuntu intrepid main
Installing the Spring engine

Install build dependencies

Code: Select all

sudo apt-get build-dep spring-engine
Compile and produce package

Code: Select all

apt-get source -b spring-engine
Install package

Code: Select all

sudo dpkg -i spring-engine*.deb
Installing the SpringLobby client

Install build dependencies

Code: Select all

sudo apt-get build-dep springlobby
Compile and produce package

Code: Select all

apt-get source -b springlobby
Install package

Code: Select all

sudo dpkg -i springlobby*.deb
Note that I haven't tested this, I am an Ubuntu user myself, but I expect it to work.
Before I'm taking the plunge, can anyone verify that this would certainly work for Lenny AMD64?
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Request package for Debian Lenny AMD64

Post by det »

What's so difficult about copy pasting 3 commands (and adding 1 line to a file) after I took the effort to explain exactly what to do?
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Re: Request package for Debian Lenny AMD64

Post by umarzuki »

I really appreciate your effort. Many thanks.

Your methods may work but is there any guarantee that if those ubuntu packages won't bork my system? Ubuntu only based on Debian but not it.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Request package for Debian Lenny AMD64

Post by koshi »

det wrote:Compile and produce package
you wouldn't be installing buntu packages but rolling your own
User avatar
insaneinside
Posts: 29
Joined: 06 Jul 2008, 05:13

Re: Request package for Debian Lenny AMD64

Post by insaneinside »

I'm use Debian Lenny on AMD64, and the appropriate Ubuntu packages work just fine. Doesn't the Spring install guide tell you to follow the Ubuntu directions?

In general, Ubuntu packages will work just fine -- try installing them and see. If a package installs, it's likely that it will work as expected.
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Re: Request package for Debian Lenny AMD64

Post by umarzuki »

Thanks all, I'm compiliing on my desktop and using ubuntu source on my lappy. But a Debian package would be cool.
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Re: Request package for Debian Lenny AMD64

Post by umarzuki »

Code: Select all

eden:~# apt-get source -b spring-engine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Skipping already downloaded file 'spring_0.78.2.1.orig.tar.gz'
Skipping already downloaded file 'spring_0.78.2.1-0ubuntu1~8.10~ppa1.diff.gz'
Skipping already downloaded file 'spring_0.78.2.1-0ubuntu1~8.10~ppa1.dsc'
Need to get 0B of source archives.
Skipping unpack of already unpacked source in spring-0.78.2.1
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package spring
dpkg-buildpackage: source version 0.78.2.1-0ubuntu1~8.10~ppa1
dpkg-buildpackage: source changed by Chris Clearwater <chris@detrino.org>
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: libsdl-dev libglew-dev libsablevm1-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Build command 'cd spring-0.78.2.1 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
eden:~# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
I pretty much guessed this would happened.
winthrowe
Posts: 5
Joined: 24 Jul 2006, 03:46

Re: Request package for Debian Lenny AMD64

Post by winthrowe »

did you start with:

Code: Select all

apt-get build-dep spring-engine
umarzuki wrote:

Code: Select all

dpkg-checkbuilddeps: Unmet build dependencies: libsdl-dev libglew-dev libsablevm1-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
This makes me think that either you skipped it, or the check failed.

you can try

Code: Select all

apt-get install libsdl-dev libglew-dev libsablevm1-dev
to install the development packages it's complaining about and try again; if it mentions any more unmet build dependencies, you can install them like this.
User avatar
insaneinside
Posts: 29
Joined: 06 Jul 2008, 05:13

Re: Request package for Debian Lenny AMD64

Post by insaneinside »

Well, if you're dead-set on compiling, it's your choice. But the (COMPILED) Ubuntu packages really do work, FWIW.

...Not that learning how to compile something is a bad thing. 8)
apm
Posts: 1
Joined: 26 Jan 2009, 23:22

Re: Request package for Debian Lenny AMD64

Post by apm »

looks like not easy install spring on debian lenny amd64.

somebody, who can do it, please share deb
User avatar
insaneinside
Posts: 29
Joined: 06 Jul 2008, 05:13

Re: Request package for Debian Lenny AMD64

Post by insaneinside »

Have you actually tried following the instructions on the Linux install guide? I assure you that those instructions worked quite well for me, who happens to be running Debian Lenny AMD64.

"Lenny" is the name of the current Debian Unstable release. Follow the instructions; you'll then be asked to follow directions for the Ubuntu install. While doing so, use the instructions for the latest release of Ubuntu, "Intrepid Ibex".
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: Request package for Debian Lenny AMD64

Post by bibim »

insaneinside wrote:"Lenny" is the name of the current Debian Unstable release.
Afaik, Lenny is the current "testing" release
User avatar
insaneinside
Posts: 29
Joined: 06 Jul 2008, 05:13

Re: Request package for Debian Lenny AMD64

Post by insaneinside »

:oops: Yeh got me. Unstable is always named Sid -- I knew that! Shame, shame, shame. I think my ego is too large to hide...

In any case, my /etc/issue says that I'm using release 5.0, which would be Lenny. I used the "Unstable" instructions, though, and they worked for me. (It may be pertinent that I actually do use some packages from unstable -- but don't let that stop anyone who's running pure Lenny from trying the instructions for Unstable/Sid. Might work.)
dimbit
Posts: 1
Joined: 28 Jun 2009, 13:44

Re: Request package for Debian Lenny AMD64

Post by dimbit »

I can't get it to work with Lenny. The Ubuntu package depends on a ton of libboost stuff that apt can't find. I just spent 3 hours installing countless packages from Unstable trying to meet the dependencies then found I couldn't. Can't compile from source either. Same problems. If anyone manages it, please share.

In summary, the compiled Ubuntu packages DO NOT work with Debian Lenny.

Edit: libsablevm1-dev seems to be the killer.
Post Reply

Return to “General Discussion”