Compile for debian from another system
Compile for debian from another system
Hello,
I want to setup a armagetron-dedicated server, but for some reason i'm unable to setup a dev environnement on that server , is it possble to compile the server from another computer and then generate a deb package so I can install it on the server ?
Thank you
I want to setup a armagetron-dedicated server, but for some reason i'm unable to setup a dev environnement on that server , is it possble to compile the server from another computer and then generate a deb package so I can install it on the server ?
Thank you
Re: Compile for debian from another system
It's technically possible, but could cause problems from differed versions. I wouldn't recommend going at it that way.
You should have SSH if you've installed the server package, so maybe you would like to give my script a shot? It will install sty+ct by default, so change that if you really want. Most people would choose it though, so you probably don't need to change anything.
http://wiki.armagetronad.org/index.php/ ... e_Easy_Way
You should have SSH if you've installed the server package, so maybe you would like to give my script a shot? It will install sty+ct by default, so change that if you really want. Most people would choose it though, so you probably don't need to change anything.
http://wiki.armagetronad.org/index.php/ ... e_Easy_Way
Re: Compile for debian from another system
Thanks you, but it didn't work, I really can't install a dev environnement (i can't update libc6 cause my kernel is too old (apparently), which prevent g++ installation , and i can't update the kernel cause it's a vps).
But if you know how i can make it trought another computer , i'll be glad !!
But if you know how i can make it trought another computer , i'll be glad !!
- compguygene
- Adjust Outside Corner Grinder
- Posts: 2346
- Joined: Thu Aug 21, 2008 12:09 pm
- Location: Cleveland, Ohio
- Contact:
Re: Compile for debian from another system
What you are saying really doesn't make sense, even a really old VPS would let you still add dev tools, albeit older ones. What OS is your VPS running? Also, every VPS provider will have newer OS templates to let you redo your VPS with a current or at least a year old OS. Have you considered those options?
Armagetron: It's a video game that people should just play and enjoy
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
Re: Compile for debian from another system
I'm on debian6
uname -a
Linux vps 2.6.32-042stab076.8 #1 SMP Tue May 14 20:38:14 MSK 2013 x86_64 GNU/Linux
I could have the vps under debian7 but i don't feel like reinstalling all my services
uname -a
Linux vps 2.6.32-042stab076.8 #1 SMP Tue May 14 20:38:14 MSK 2013 x86_64 GNU/Linux
I could have the vps under debian7 but i don't feel like reinstalling all my services
Re: Compile for debian from another system
I've ran them on Debian 6 before, and even did it using my script. I think 6 was sid then. Anyways, the point is that you should definitely be able to install everything needed there.
Re: Compile for debian from another system
Sid doesn't have a number. Sid is just sid.
Only testing versions got a number. Then it's frozen and becomes stable. Another name (and number) is used for the new testing.
Please post the result of
Only testing versions got a number. Then it's frozen and becomes stable. Another name (and number) is used for the new testing.
Please post the result of
Code: Select all
cat /etc/debian_version
cat /etc/apt/sources.list
lsb_release -a
Re: Compile for debian from another system
Testing & Sid I basically consider a version ahead. Especially since it was close to time of the switch to the next stable release. Stable release doesn't get many updates other than some security updates and whatnot if I remember correctly, so basically it's left unchanged. So, I just call Sid version + 1, even though some things may only be temporary and changes will be made before release.theo wrote:Sid doesn't have a number. Sid is just sid.
Only testing versions got a number. Then it's frozen and becomes stable. Another name (and number) is used for the new testing.
Please post the result ofCode: Select all
cat /etc/debian_version cat /etc/apt/sources.list lsb_release -a
Re: Compile for debian from another system
Here commands results:
cat /etc/debian_version
jessie/sid
cat /etc/apt/sources.list
deb http://ftp.debian.org/debian squeeze main contrib non-free
deb http://security.debian.org squeeze/updates main contrib non-free
deb http://ftp.us.debian.org/debian unstable main
deb-src http://ftp.us.debian.org/debian unstable main
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux unstable (sid)
Release: unstable
Codename: sid
Re: Compile for debian from another system
Hm, your sources.list is either very old or screwed up.
You're mixing sqeeze (the former stable) with sid (unstable).
Did you modify the sources.list? If so when/why?
Did you use apt before that? After that? Did it work?
What's the result of:
(last command could take a while)
You're mixing sqeeze (the former stable) with sid (unstable).
Did you modify the sources.list? If so when/why?
Did you use apt before that? After that? Did it work?
What's the result of:
Code: Select all
cat /etc/apt/apt.conf
cat /etc/apt/preferences.d/*
for pkg in $(dpkg -l | sed 1,5d | awk '{print $2}'); do apt-cache policy $pkg| sed -n 6p | awk '{print $3}'; done | sort | uniq -c | sort
Re: Compile for debian from another system
I don't think i modified my sources.list
I did use apt-get to install so common program (it worked).
I did use apt-get to install so common program (it worked).
cat /etc/apt/preferences.d/*
cat: /etc/apt/preferences.d/*: No such file or directory
cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
121 stable/main
1 Packages
505
Re: Compile for debian from another system
Well that didn't really help.
Stable may refer to different flavor at different times.
It seems that you don't have any sid packages. So I'd advise you to remove sid from your sources.list.
Try this :
Stable may refer to different flavor at different times.
It seems that you don't have any sid packages. So I'd advise you to remove sid from your sources.list.
Try this :
Code: Select all
dpkg -l *-image*
dpkg -l *libc6*
Re: Compile for debian from another system
sudo dpkg -l *-image*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=========================================-=========================-=========================-=======================================================================================
un linux-image <none> <none> (no description available)
rc linux-image-3.10-3-amd64 3.10.11-1 amd64 Linux 3.10 for 64-bit PCs
Thanks for the help, but i think I'll reinstall everything and go on debian7sudo dpkg -l *libc6*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=========================================-=========================-=========================-=======================================================================================
ii libc6:amd64 2.17-92+b1 amd64 Embedded GNU C Library: Shared libraries
un libc6-amd64 <none> <none> (no description available)
un libc6-dev <none> <none> (no description available)
un libc6.1 <none> <none> (no description available)
Re: Compile for debian from another system
Well, according to the kernel and libc6 image, you're using testing (jessie):
So i'd try the following:
Replace your sources.list by this:
Then run
That's allow us to see if it works without modifying anything.
Code: Select all
http://packages.debian.org/search?keywords=linux-image-3.10-3-amd64&searchon=names&exact=1&suite=all§ion=all
http://packages.debian.org/search?keywords= libc6&searchon=names&exact=1&suite=all§ion=all
Replace your sources.list by this:
Code: Select all
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
Code: Select all
aptitude update; aptitude -sVy upgrade
Re: Compile for debian from another system
too late, i already reinstalled, everything
I used light's script and compile went great.
Thanks for your help guys
I used light's script and compile went great.
Thanks for your help guys