Spring Slackware 13 64b compiled...
Moderator: Moderators
- jpcordovae
- Posts: 28
- Joined: 30 Apr 2009, 21:11
Spring Slackware 13 64b compiled...
I have compiled Spring for Slackware 13 64bits, and I wish share it.
Whe and how can I do it ??...
JP
Whe and how can I do it ??...
JP
Re: Spring Slackware 13 64b compiled...
hey!
welcome!
i have to admit, i know pretty little about slackware, i can just tell you how it usually works (for other distributions).
A spring package maintainer (that would be your job ), has to know the package mechanisms for his distribution, and organizes everything himself. if he has problems with compiling, or repository related problems with creating the package, he comes asking the spring dev team.
Now, what a short search turned up for me:
http://slackware.com/config/packages.php
http://slackbook.org/html/package-management.html
http://spkg.megous.com/ (unofficial, experimental(?))
the thing is, that most likely none of us has slackware himself, so we can not help you a lot there. I guess you should read these pages. They seem to suggest you have to use makepkg and the corresponding man page.
feel free to ask for help here or in the lobby.
welcome!
i have to admit, i know pretty little about slackware, i can just tell you how it usually works (for other distributions).
A spring package maintainer (that would be your job ), has to know the package mechanisms for his distribution, and organizes everything himself. if he has problems with compiling, or repository related problems with creating the package, he comes asking the spring dev team.
Now, what a short search turned up for me:
http://slackware.com/config/packages.php
http://slackbook.org/html/package-management.html
http://spkg.megous.com/ (unofficial, experimental(?))
the thing is, that most likely none of us has slackware himself, so we can not help you a lot there. I guess you should read these pages. They seem to suggest you have to use makepkg and the corresponding man page.
feel free to ask for help here or in the lobby.
- jpcordovae
- Posts: 28
- Joined: 30 Apr 2009, 21:11
Re: Spring Slackware 13 64b compiled...
Since last year I don't make a package, but is no problem read back some tutorial, was easy.
For this I need to use the offitial packages for compiling and make the distribution.
By the way, I had a LOT of troubles compiling Spring, because I had used a new version of Boost libs (my mistake), and few more things, the problem is I don't remember well what I did, so I must start from cero.
Then I'll do the next:
1.- I'll make the package. (tgz or tar.gz).
2.- I'll make a clean install of Slackware 13 64b in VMware(full install), and will install the game, if some official package is missing, will be revealed in this way.
3.- Slackware have some details in package mannagment, and I wanna be sure over the result because I have 32b anda 64b libraries in this SO.
4.- If some package miss, I'll compile and make the packages, and if they are not in the offtial repository, we can put a no offitial package warning, just for make it run. (and se e if we can put it on SlackBuild)
5.- I'd try to compile SpringLobby, and have serious troubles with libtorrent_rasterbar library. I must turn it off to make it run, and have a lot of issues.
6.- Has somebody try to compile Spring for ARM arch ??...
MelKor_CL
For this I need to use the offitial packages for compiling and make the distribution.
By the way, I had a LOT of troubles compiling Spring, because I had used a new version of Boost libs (my mistake), and few more things, the problem is I don't remember well what I did, so I must start from cero.
Then I'll do the next:
1.- I'll make the package. (tgz or tar.gz).
2.- I'll make a clean install of Slackware 13 64b in VMware(full install), and will install the game, if some official package is missing, will be revealed in this way.
3.- Slackware have some details in package mannagment, and I wanna be sure over the result because I have 32b anda 64b libraries in this SO.
4.- If some package miss, I'll compile and make the packages, and if they are not in the offtial repository, we can put a no offitial package warning, just for make it run. (and se e if we can put it on SlackBuild)
5.- I'd try to compile SpringLobby, and have serious troubles with libtorrent_rasterbar library. I must turn it off to make it run, and have a lot of issues.
6.- Has somebody try to compile Spring for ARM arch ??...
MelKor_CL
Re: Spring Slackware 13 64b compiled...
:D hey!
i have not yet heard someone trying to compile spring on ARM. The thing there is, that the changes for it to sync with other peoples games is very low/Zero.
btw, where are you from?
i have not yet heard someone trying to compile spring on ARM. The thing there is, that the changes for it to sync with other peoples games is very low/Zero.
btw, where are you from?
- jpcordovae
- Posts: 28
- Joined: 30 Apr 2009, 21:11
Re: Spring Slackware 13 64b compiled...
hoijui wrote::D hey!
i have not yet heard someone trying to compile spring on ARM. The thing there is, that the changes for it to sync with other peoples games is very low/Zero.
btw, where are you from?
It's done, the links are:
DevIL
http://hotfile.com/dl/49297594/32058ec/ ... o.tgz.html
OpenAL:
http://hotfile.com/dl/49297848/93c6522/ ... o.tgz.html
GLEW:
http://hotfile.com/dl/49298039/ae97bfc/ ... 1.txz.html
Boost:
http://hotfile.com/dl/49298195/b1f2ba0/ ... 2.txz.html
icu:
http://hotfile.com/dl/49298439/5bcc37b/ ... o.tgz.html
7zip:
http://hotfile.com/dl/49298610/86fc735/ ... o.tgz.html
Spring 0.81.2.1:
http://hotfile.com/dl/49299067/f8ebdf6/ ... o.tgz.html
The install add maps and mods directories in /usr/share/games/spring
This is first time Iupload files in hotfile, I hope works well.
I make the packages with a modificated SlackBuild script, I'll see if can put in a official repository, but before I need someone tests the package.
I'll go to fight with springlobby now.
MelKor_CL
Re: Spring Slackware 13 64b compiled...
hey!
nice!
maybe add a link to this post in the wiki page for the different distributions. (the link to a post is under the icon)
and good luck with SpringLobby.
... all these libraries are not in the Slackware default repository?
nice!
maybe add a link to this post in the wiki page for the different distributions. (the link to a post is under the icon)
and good luck with SpringLobby.
... all these libraries are not in the Slackware default repository?
Re: Spring Slackware 13 64b compiled...
I am using Slackware 13.1 x64 and I am having a lot of problems getting this to build. I see you have made some slackware 13 x64 packages but I would love to take a look at your .SlackBuild scripts so I can see what you did. I think my problem is due to DevIL not configured properly, but I do not know how to fix it.
I have installed DevIL 1.7.8
I am trying to compile SpringRTS 0.82.5.1
Here is my compile error:
If I can see your .SlackBuilds (or better yet, if you can get your .SlackBuilds submitted to the slackbuilds.org website, this would be great).
I have installed DevIL 1.7.8
I am trying to compile SpringRTS 0.82.5.1
Here is my compile error:
Code: Select all
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../lib64/libIL.so: undefined reference to `png_set_longjmp_fn'
collect2: ld returned 1 exit status
make[2]: *** [spring] Error 1
make[1]: *** [rts/builds/default/CMakeFiles/spring.dir/all] Error 2
Linking CXX executable ../../../spring-multithreaded
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../lib64/libIL.so: undefined reference to `png_set_longjmp_fn'
collect2: ld returned 1 exit status
make[2]: *** [spring-multithreaded] Error 1
make[1]: *** [rts/builds/GML/CMakeFiles/spring-multithreaded.dir/all] Error 2
make: *** [all] Error 2
Re: Spring Slackware 13 64b compiled...
http://springrts.com/wiki/Linux:Packaging#Slackware
its a wiki. please update if you see need.
for your compile error, it looks like a SJLJ vs Dwarf2 problem, though under linux...
its a wiki. please update if you see need.
for your compile error, it looks like a SJLJ vs Dwarf2 problem, though under linux...
Re: Spring Slackware 13 64b compiled...
I'm not really sure what SJLJ or Dwarf2 is, or how I can get this working. I see there is nothing written for Slackware, I would feel better posting something on the wiki once I get it working. Until then, probably best for me to keep away from posting.hoijui wrote:http://springrts.com/wiki/Linux:Packaging#Slackware
its a wiki. please update if you see need.
for your compile error, it looks like a SJLJ vs Dwarf2 problem, though under linux...
Re: Spring Slackware 13 64b compiled...
Sorry for the double post, but I thought maybe I should include the .Slackbuild script I used for trying to build Springrts. Maybe you can see something in there that needs to be changed?
you can find this script at: http://slackbuilds.org/repository/13.0/games/spring/
Yes I realize this is a script for slackware 13.0 and I am running 13.1. This script is broken for 13.1 which is why it will not be found in the 13.1 section. I am trying to figure out how to get it working so I can submit the changes to the SBo team and they can apply the changes for slackware 13.1.
I suggest a link be made in the wiki to link slackware users to the SBo website. This is slackware's philosophy on how to build/compile.
Code: Select all
#!/bin/sh
# Slackware build script for Spring
# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spring
VERSION=0.82.5.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}_${VERSION}
tar xvf $CWD/${PRGNAM}_${VERSION}_src.tar.gz
cd ${PRGNAM}_${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
.
make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.html Documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
Yes I realize this is a script for slackware 13.0 and I am running 13.1. This script is broken for 13.1 which is why it will not be found in the 13.1 section. I am trying to figure out how to get it working so I can submit the changes to the SBo team and they can apply the changes for slackware 13.1.
I suggest a link be made in the wiki to link slackware users to the SBo website. This is slackware's philosophy on how to build/compile.
Re: Spring Slackware 13 64b compiled...
hmm...
can not really help there :/
maybe other Slackware users will come around. feel free to add the link in the Wiki.
can not really help there :/
maybe other Slackware users will come around. feel free to add the link in the Wiki.
Re: Spring Slackware 13 64b compiled...
[SOLVED]
After a few hours in freenode ##slackware chatroom, we solved the problem.
You need to patch DevIL 1.6.8 with a libpng patch. The patch and SlackBuild script have already been submitted to the SlackBuild.org website for review. Once it passes the review it will be posted in the 13.1 section.
I strongly urge all Slackware users to use SlackBuild scripts (SBo) when compiling from source.
After a few hours in freenode ##slackware chatroom, we solved the problem.
You need to patch DevIL 1.6.8 with a libpng patch. The patch and SlackBuild script have already been submitted to the SlackBuild.org website for review. Once it passes the review it will be posted in the 13.1 section.
I strongly urge all Slackware users to use SlackBuild scripts (SBo) when compiling from source.
Re: Spring Slackware 13 64b compiled...
Indeed, slackbuilds.org is called "unnoficial", but it's the best script repository for compile things for slackware.KaMii wrote:[SOLVED]
After a few hours in freenode ##slackware chatroom, we solved the problem.
You need to patch DevIL 1.6.8 with a libpng patch. The patch and SlackBuild script have already been submitted to the SlackBuild.org website for review. Once it passes the review it will be posted in the 13.1 section.
I strongly urge all Slackware users to use SlackBuild scripts (SBo) when compiling from source.
i had the same problem on slackware 32 bits, so it's all newer DevIL fault, hmmm...
Any idea if it's really a bug on DevIL?