LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   KoboDeluxe make error messages (https://www.linuxquestions.org/questions/linux-games-33/kobodeluxe-make-error-messages-819453/)

gymnart 07-12-2010 02:24 PM

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:

Code:

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.

gold_leaf 07-14-2010 11:50 AM

Some other name
 
Is the cpp compiler installed on your box under a different name? Try

Code:

which
with g++ to see if it exists; alternatives might be c++ or cpp. If this is the case make a symbolic link called g++ to help the source out, e.g.:

Code:

ln -s c++ g++
You'll need to edit that to match your own system and might need to sudo or whatever to gain privileges.

gymnart 07-14-2010 12:21 PM

Thanks for your reply.
g++, c++, and cpp are all in /usr/bin. I thought it was strange that make could not seem to find it. And the [gfxengine.o] Error 127 just puzzles me.

Anyway KoboDeluxe is now available as an .rpm for my system, so I was able to install it that way.

Thanks again. :D


All times are GMT -5. The time now is 12:17 AM.