Page 1 of 1
Help with repositories
Posted: Tue Oct 09, 2012 2:07 pm
by Izzy
OK Im am a total idiot. So be gentle with me. I have tried to add the repository to my Synaptic Package Manager and it does not show up. Could someone give specific directions for doing this. I have tried a direct download and compile and that dont work either. I would love to give this game a try but its not working out too good.
Izzy
Re: Help with repositories
Posted: Tue Oct 09, 2012 2:27 pm
by Izzy
Here is what I get whit the direct download configure.
james@james-Linux ~/Downloads/vegastrike-src-0.5.1.r1 $ ls
acctserver.ico DOCUMENTATION NEWS
acinclude.m4 dossify.pl objconv
aclocal.m4 doxygenConfig README
AUTHORS English.lproj README.MACOSX.rtf
autom4te.cache FindFFMPEG.cmake README.sgi
boost FindGTK2.cmake resource.h
boost_gcc44.patch FindMATH.cmake Resources.rc
bootstrap-sh FindOGRE.cmake Resources.RES
buildmac.sh FindPNG.cmake saveinterface
buildrpm FindVorbis.cmake setup
ChangeLog icon2.ico src
cmake-config.h.in icon3.ico stringsort.cpp
CMakeLists.txt icon4.ico ToDo.txt
config.guess INSTALL tools
config.h.in install-sh ts.ico
config.sub intel-mac-conf.sh undos.pl
configure launcher vc98
configure.ac license.txt VegaStrikeOSXApp.pbproj
COPYING m4scripts VegaStrikeOSX.icns
cursor1.cur Makefile.am vegastrike.spec
CVSROOT Makefile.in vs_cubemap_gen
CYGWIN.NOTES makerelease.bash vssetup-gtk+osx.sh
datascripts missing
depcomp mission
james@james-Linux ~/Downloads/vegastrike-src-0.5.1.r1 $ ./configure
checking for gawk... gawk
checking whether ln -s works... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
configure: Using C++ compiler: g++.
configure: Using C compiler: gcc.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for -pthread... yes
checking for libsocket... no
checking for libutil... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking linux/slab.h usability... no
checking linux/slab.h presence... no
checking for linux/slab.h... no
checking linux/malloc.h usability... no
checking linux/malloc.h presence... no
checking for linux/malloc.h... no
checking for vfscanf... yes
checking for lstat... yes
checking tr1/unordered_map usability... yes
checking tr1/unordered_map presence... yes
checking for tr1/unordered_map... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for C/C++ restrict keyword... __restrict
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for error_at_line... no
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... no
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for working strtod... no
checking for pow... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for bzero... yes
checking for fesetround... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for iswprint... yes
checking for localtime_r... yes
checking for mblen... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... (cached) yes
checking for putenv... yes
checking for rint... yes
checking for rmdir... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for finite... yes
checking for _finite... no
checking for isnan... yes
checking for _isnan... no
checking for MacOSX platform... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
Enabling user-specified flags:
configure: Enabling dds cubmap support with -DNV_CUBE_MAP
checking for Win32 platform... no
checking for CygWin platform... no
checking for Mingw32 platform... no
checking for Linux platform... yes
checking for FreeBSD platform... no
checking for python... configure: error: *** Python version 2.2 or later not found!
james@james-Linux ~/Downloads/vegastrike-src-0.5.1.r1 $
Re: Help with repositories
Posted: Tue Oct 09, 2012 2:59 pm
by klauss
To build from source, you need to install all of VS dependencies. Having the package installed isn't enough, you need the "development headers" version of the packages. In this case, it's saying you need python. It's usually called something like "python-dev". There are more dependencies, OTOMH, freeglut, libjpeg, libpng, sdl, and openal.
To set up a repo, you have to tell us which distribution you're on first.
Re: Help with repositories
Posted: Tue Oct 09, 2012 3:19 pm
by Izzy
Thanks for your reply, I am using Limux Mint 13 maya. Hope thats what you are asking for.
Izzy
Re: Help with repositories
Posted: Tue Oct 09, 2012 3:41 pm
by klauss
Ok, we don't have any repo for Mint, so you're better off building from source.
Follow
these instructions. There you have everything, from the packages you need to install before you build, to the commands you have to run and the path everything's installed to.
Note, however, if you downloaded the released tarballs you have to follow some special instructions to unpack them in the right folders. Did you, or did you check out the SVN tree?
Re: Help with repositories
Posted: Tue Oct 09, 2012 4:42 pm
by Izzy
I downloaded the tar but when I could not get it to work I deleted the tar and the extracted folder also. I will folow you directions. Whish me luck. Thanks for your help here.
Izzy
Re: Help with repositories
Posted: Tue Oct 09, 2012 5:10 pm
by Izzy
Got this far with this error code.
James@james-Linux ~/VegaStrike $ sudo apt-get install libpng12-0 libpng12-dev python2.6-dev libexpat1-dev \
> libjpeg62-dev freeglut3-dev libopenal-dev libgtk2.0-dev libogg-dev libvorbis-dev \
> build-essential libgl1-mesa-dev automake autoconf libsdl1.2-dev
[sudo] password for james:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python2.6-dev
E: Couldn't find any package by regex 'python2.6-dev'
james@james-Linux ~/VegaStrike $
Re: Help with repositories
Posted: Tue Oct 09, 2012 5:15 pm
by Izzy
I checked and have python2.7 installed
Re: Help with repositories
Posted: Tue Oct 09, 2012 5:24 pm
by klauss
Yes, try the package names without version number, VS doesn't really care about a particular version of any of them.
PS: And please post the version-agnostic names so we can update the wiki - or better yet, update it yourself
Re: Help with repositories
Posted: Tue Oct 09, 2012 5:58 pm
by Izzy
Well Im not to sure I should be changing the wiki page as I have no idea what Im doing here.
This is the code I used that seem to work. It sure did a lot of stuff when I input the code.
sudo apt-get install libpng12-0 libpng12-dev python-dev libexpat1-dev \
libjpeg62-dev freeglut3-dev libopenal-dev libgtk2.0-dev libogg-dev libvorbis-dev \
build-essential libgl1-mesa-dev automake autoconf libsdl1.2-dev
Re: Help with repositories
Posted: Wed Oct 10, 2012 12:04 am
by gonzo
klauss wrote:Ok, we don't have any repo for Mint, so you're better off building from source.
Wrong. Mint Maya is Ubuntu 12.04 so you can now install it from the playdeb repo.
http://www.playdeb.net/updates/ubuntu/1 ... vegastrike
Re: Help with repositories
Posted: Wed Oct 10, 2012 12:27 am
by klauss
Didn't know about that one. Who's packaging there? Should I stop packaging debs in OBS? (no need to duplicate effort)
Re: Help with repositories
Posted: Wed Oct 10, 2012 12:32 am
by Izzy
I got it working thanks for all the help. I think the python thing was the problem. I would mark this as solved but I dont know how.
Izzy
Re: Help with repositories
Posted: Wed Oct 10, 2012 2:09 am
by loki1950
I would mark this as solved but I dont know how.
Don't worry about it this time as some did it for you
but next time just edit your first post's subject line.
BTW welcome aboard.
Enjoy the Choice
Re: Help with repositories
Posted: Wed Oct 10, 2012 2:28 am
by gonzo
klauss wrote:Who's packaging there? Should I stop packaging debs in OBS? (no need to duplicate effort)
I don't know, I couldn't find a project page with work/development info. I wouldn't be surprised if they just pull in your packages.