KoboDeluxe make error messages

I have SuSE 11.2 and I am trying to install KoboDeluxe from source. When I got to “make”, these are the error messages I saw:


source='gfxengine.cpp' object='gfxengine.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../depcomp \
        g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -c -o gfxengine.o gfxengine.cpp
../depcomp: line 402: exec: g++: not found
make[2]: *** [gfxengine.o] Error 127
make[2]: Leaving directory `/home/<username>/rpm-s/KoboDeluxe051/KoboDeluxe-0.5.1/graphics'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/<username>/rpm-s/KoboDeluxe051/KoboDeluxe-0.5.1'
make: *** [all] Error 2

I made sure that I got g++ just before trying to configure it again but it said I didn’t have it. I don’t understand.

My graphics card is an Nvidia GeForce 8400 GS and I’m using Nvidia’s own driver.

Hi
It should be gcc-c++ that’s installed? Also run your configure option
with --prefix=/usr --enable-opengl.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 2 days 17:46, 3 users, load average: 0.22, 0.11, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Thanks. I got a package that says it provides c++ and when I ran ./configure, the c++ part looked good.
I also saw this in the configure though: “checking for ALSA audio support… Disabled” Is this because of the default Pulse Audio now?

I’m still getting this in make though (and I had used --prefix=/usr --enable-opengl in the configure):


make
make  all-recursive
make[1]: Entering directory `/home/&lt;username&gt;/rpm-s/KoboDeluxe051/KoboDeluxe-0.5.1'
Making all in graphics
make[2]: Entering directory `/home/<username>/rpm-s/KoboDeluxe051/KoboDeluxe-0.5.1/graphics'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.cpp; \
        then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi
window.cpp: In member function ‘void window_t::center_token_fxp(int, int, const char*, char)’:
window.cpp:401: error: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [window.o] Error 1
make[2]: Leaving directory `/home/&lt;username&gt;/rpm-s/KoboDeluxe051/KoboDeluxe-0.5.1/graphics'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/<username>/rpm-s/KoboDeluxe051/KoboDeluxe-0.5.1'
make: *** [all] Error 2

Any ideas?

Hi
There is a few patches required for it to build. I have fixed it and
build in my home directory on the openSUSE Build Service;
http://software.opensuse.org/search?q=KoboDeluxe&baseproject=openSUSE%3A11.2&lang=en&exclude_debug=true

(It’s also built for SLE11 SP1, 11.1 and 11.3)


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 2 days 21:00, 3 users, load average: 0.22, 0.17, 0.18
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Hi
Sound works fine… see previous post :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 2 days 21:07, 3 users, load average: 0.19, 0.29, 0.22
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Hi
Needed to ad debug packages, fix some permissions issues so it would
save your player info properly. I also split out a file into a devel
package as the build service was throwing a badness error (so it’s down
to just one warning). So there are two packages to install now
KoboDeluxe-0.5.1-24.1.{your_arch}.rpm and
KoboDeluxe-devel-0.5.1-24.1.{your_arch}.rpm.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.4-default
up 3 days 4:49, 2 users, load average: 0.16, 0.24, 0.21
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Thank you ever so much!! I’ve missed this game. It works great!