Page 1 of 1

Request package for Debian Lenny AMD64

Posted: 25 Jan 2009, 03:51
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

Re: Request package for Debian Lenny AMD64

Posted: 25 Jan 2009, 04:21
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.

Re: Request package for Debian Lenny AMD64

Posted: 25 Jan 2009, 07:16
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?

Re: Request package for Debian Lenny AMD64

Posted: 25 Jan 2009, 11:00
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?

Re: Request package for Debian Lenny AMD64

Posted: 25 Jan 2009, 13:09
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.

Re: Request package for Debian Lenny AMD64

Posted: 25 Jan 2009, 13:21
by koshi
det wrote:Compile and produce package
you wouldn't be installing buntu packages but rolling your own

Re: Request package for Debian Lenny AMD64

Posted: 26 Jan 2009, 07:59
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.

Re: Request package for Debian Lenny AMD64

Posted: 26 Jan 2009, 09:16
by umarzuki
Thanks all, I'm compiliing on my desktop and using ubuntu source on my lappy. But a Debian package would be cool.

Re: Request package for Debian Lenny AMD64

Posted: 26 Jan 2009, 10:41
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.

Re: Request package for Debian Lenny AMD64

Posted: 26 Jan 2009, 14:47
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.

Re: Request package for Debian Lenny AMD64

Posted: 26 Jan 2009, 17:58
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)

Re: Request package for Debian Lenny AMD64

Posted: 26 Jan 2009, 23:48
by apm
looks like not easy install spring on debian lenny amd64.

somebody, who can do it, please share deb

Re: Request package for Debian Lenny AMD64

Posted: 27 Jan 2009, 02:21
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".

Re: Request package for Debian Lenny AMD64

Posted: 28 Jan 2009, 10:12
by bibim
insaneinside wrote:"Lenny" is the name of the current Debian Unstable release.
Afaik, Lenny is the current "testing" release

Re: Request package for Debian Lenny AMD64

Posted: 29 Jan 2009, 01:11
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.)

Re: Request package for Debian Lenny AMD64

Posted: 28 Jun 2009, 13:48
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.