Author Topic: compiling with opensuse 10:can't use boostjam for this build  (Read 4412 times)

gorgonz

  • Guest
Hi,

tried to compile glest source 1.2.1.2. Two things happened, that i cannot figure out, but lets look at it from the beginning:

- extracted sources -> ok
- for i in `find ./`; do dos2unix $i; done -> ok
- cd mk/linux/ and chmod a+x *.sh -> ok
- ./autogen.sh -> first warnings:

Quote
aclocal...
mk/autoconf/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/auto ... ng-aclocal
generating Jamconfig.in ...
autoconf
Updating Source symlinks...

Don't know, what to do there, so I just continued

- ./configure -> next note

Quote
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 for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether g++ is new enough... yes
checking for doxygen... no
checking for target host... assume posix
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for egrep... grep -E
checking for ANSI C header files... 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 glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for socklen_t... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.5... yes
checking for xerces... found
checking for OpenAL... found
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for OpenGL Utility library... -lGLU
./configure: line 5663: test: too many arguments
checking for Vorbis... yes
checking for Ogg... yes
configure: creating ./config.status
config.status: creating Jamconfig
config.status: executing Jamfile commands
configure:

Notice: This project uses jam (and not make) as build tool.

Don't know, what to do there, checked my installed packages,
-> found boost-jam installed, version is 3.1.4-128
-> line 5663: test: too many arguments, -> hmmm?


ok the rest had to be expected:

- jam -a -q -> error

Quote
Error: You can't use boostjam for this build


Sorry, i like to play games, but I'm not an expert on building packages, and i never heard of jam. Any help is appreciated  ;)

Future Question:

Since it is nice, if there is a rpm done: is it possible for a newb like me to share the result of successful compiling, in order to help others getting around this troubles?

thx in advance

gorgonz
« Last Edit: 1 January 1970, 00:00:00 by gorgonz »

sadneophyte

  • Guest
Dude you are the bomb
« Reply #1 on: 11 April 2006, 01:19:44 »
you did it!!!!

trying to compile it works like you said exactly!!!! well for suse 10 anyways

boostjam was a booo hiss.  It compiled I have no idea if the program works though.

1. for i in `find ./`; do dos2unix $i; done
this worked
2. chmod +x *.sh
3. ./autogen.sh
4. chmod +x ./configure
5. ./configure
6. dowloaded ftp://ftp.perforce.com/pub/jam/src -> made jam
7. copied the oddly named "jam0" to the configure directory, you can just copy it into your binary directory or whatever
8. ./jam0
!!!!!!
compiled for 1 min, and I think I have a 64bit binary!!!  it is definately 19.1 MB... I will post again if my computer doesn't crash.... :)
« Last Edit: 11 April 2006, 01:34:07 by sadneophyte »

sadneophyte

  • Guest
(No subject)
« Reply #2 on: 11 April 2006, 01:30:56 »
dude tooo cool.  

it works.  I dunno why it was so hard to figure out how to compile it but it works now.  glest 2.0.0 is officially suse 10.0 AMD_64 compatible!  

These are the libs you are going to need, I used the normal and devel devel suse 10.0 libs to compile it.  I would post it but I don't want licencing problems, I sorta didn't read the disclaimer and stuff.  But it should compile like our hero gorgonz described.  and just grab the standard jam thingy and compile it yourself suse users.

        libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0x00002aaaaabc2000)
        libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00002aaaaad83000)
        libGL.so.1 => /usr/X11R6/lib64/libGL.so.1 (0x00002aaaaae98000)
        libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x00002aaaab058000)
        libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00002aaaab268000)
        libm.so.6 => /lib64/tls/libm.so.6 (0x00002aaaab3ed000)
        libxerces-c.so.26 => /usr/lib64/libxerces-c.so.26 (0x00002aaaab544000)
        libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00002aaaab9cb000)
        libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x00002aaaabaf6000)
        libogg.so.0 => /usr/lib64/libogg.so.0 (0x00002aaaabbfd000)
        libopenal.so.0 => /usr/lib64/libopenal.so.0 (0x00002aaaabd03000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002aaaabeba000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002aaaac0b6000)
        libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaac1c4000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaac3ef000)
        libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x00002aaaac4f2000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
        libicuuc.so.34 => /usr/lib64/libicuuc.so.34 (0x00002aaaac604000)
        libicudata.so.34 => /usr/lib64/libicudata.so.34 (0x00002aaaac828000)
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x00002aaaad197000)
        libartsc.so.0 => /opt/kde3/lib64/libartsc.so.0 (0x00002aaaad36c000)
        libgmodule-2.0.so.0 => /opt/gnome/lib64/libgmodule-2.0.so.0 (0x00002aaaad472000)
        libgthread-2.0.so.0 => /opt/gnome/lib64/libgthread-2.0.so.0 (0x00002aaaad576000)
        libglib-2.0.so.0 => /opt/gnome/lib64/libglib-2.0.so.0 (0x00002aaaad67a000)
        libesd.so.0 => /usr/lib64/libesd.so.0 (0x00002aaaad80e000)
        libaudiofile.so.0 => /usr/lib64/libaudiofile.so.0 (0x00002aaaad919000)
        libresmgr.so.1 => /lib64/libresmgr.so.1 (0x00002aaaada41000)


ohh and the intro screen is stunning.  WAY TO GO gorgonz !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


I have been using linux unsucsessfully for about 8 years now, NEWBIE POWER!!!



okay now download the data files file thingy from sourceforge and extract it.


in it's top directory copy the glest binary and the linux glest.ini in the mk directory.  IT works.  The eye candy is so nice...


ohh yeah, I have a radeon x550 (it is a (ultra)cheapo upgrade for the x300) and am using the _64 drivers from the radeon 8.23.7 drivers and it didn't die, I dunno if that means the drivers got better or if there is a maximum 1 light or something.  anyways thanks again gorgonz, and thanks glest people for making such a beautiful open source game.  feel the love.

the graphics pretty much eat warcraft 3 for breakfast.  It was totally  worth the compile headache.
« Last Edit: 1 January 1970, 00:00:00 by sadneophyte »

gorgonz

  • Guest
runs perfect now!
« Reply #3 on: 13 April 2006, 12:16:30 »
Yop ,

compiling this jam V2.5 myself stopped all problems. Now the game is running in v2.0 with my opensuse 10  :D

thx a lot to you,  sadneophyte!!!
« Last Edit: 19 June 2016, 06:36:00 by filux »

 

anything