It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
All right, I'm pretty much lost and before I go asking around on other boards, I'm going to go ahead and try you guys. Planescape: Torment only works when windowed in wine, and that's not really an ideal state for me, so I'm trying to install GemRB engine. I went to the GemRB website, dled source code, dled source code / compiled / make installed all dependencies, and when I try to make GemRB, this happens:
"
[ 94%] Building CXX object gemrb/plugins/SDLVideo/CMakeFiles/SDLVideo.dir/SDLVideo.o
In file included from /home/fenixp/gemrb-0.7.0/gemrb/plugins/SDLVideo/SDLVideo.cpp:21:0:
/home/fenixp/gemrb-0.7.0/gemrb/plugins/SDLVideo/SDLVideo.h:77:23: error: ‘SDL_EventType’ has not been declared
/home/fenixp/gemrb-0.7.0/gemrb/plugins/SDLVideo/SDLVideo.cpp:2633:38: error: variable or field ‘MouseClickEvent’ declared void
/home/fenixp/gemrb-0.7.0/gemrb/plugins/SDLVideo/SDLVideo.cpp:2633:38: error: ‘SDL_EventType’ was not declared in this scope
/home/fenixp/gemrb-0.7.0/gemrb/plugins/SDLVideo/SDLVideo.cpp:2633:64: error: expected primary-expression before ‘button’
make[2]: *** [gemrb/plugins/SDLVideo/CMakeFiles/SDLVideo.dir/SDLVideo.o] Error 1
make[1]: *** [gemrb/plugins/SDLVideo/CMakeFiles/SDLVideo.dir/all] Error 2
make: *** [all] Error 2
"

Basically, what the fuck? What's wrong? What am I missing? I have installed downloaded and installed SDL from it's website, exactly according to instructions!

I tried googling the answer for this particular problem, but couldn't find anything. So, basically, what the hell? What's wrong?
avatar
Fenixp: Basically, what the fuck? What's wrong? What am I missing? I have installed downloaded and installed SDL from it's website, exactly according to instructions!

I tried googling the answer for this particular problem, but couldn't find anything. So, basically, what the hell? What's wrong?
What did you download from SDL's website?

Have you tried installing Ubuntu's SDL dev files from your package manager?
Get the git version of GemRB. It has lots of SDL fixes since 0.7.0

git clone git://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb
cd gemrb
mkdir build
cd build
cmake .. -DLAYOUT=home -DPREFIX=~/GemRB
make -j`expr $(grep -c ^processor /proc/cpuinfo) + 1`
make install
avatar
Sude: ...
"

/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gemrb/plugins/GUIScript.so] Error 1
make[1]: *** [gemrb/plugins/GUIScript/CMakeFiles/GUIScript.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 93%] Building CXX object gemrb/plugins/SAVImporter/CMakeFiles/SAVImporter.dir/SAVImporter.cpp.o
Linking CXX shared module ../PROImporter.so
Linking CXX shared module ../OpenALAudio.so
[ 93%] Built target PROImporter
[ 93%] Built target OpenALAudio
Linking CXX shared module ../PSTOpcodes.so
Linking CXX shared module ../SAVImporter.so
[ 93%] Built target PSTOpcodes
[ 93%] Built target SAVImporter
make: *** [all] Error 2
"

:-/
avatar
Fenixp: /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
First you want to uninstall that python2.7 you compiled and installed
Then you have 2 choices:
Recompile python with -fPIC (--enable-shared in configure should set the -fPIC flag)
or
Install python development files from repository with "apt-get install python2.7-dev"
Post edited April 02, 2012 by Sude
avatar
Sude: ...
Ya.
"
Linking CXX shared module ../GUIScript.so
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gemrb/plugins/GUIScript.so] Error 1
make[1]: *** [gemrb/plugins/GUIScript/CMakeFiles/GUIScript.dir/all] Error 2
make: *** [all] Error 2
"

Don't worry thou, I give up. I'll just get it running under windows - I've had some issues so I thought I'll go for gemRB under Kubuntu, but that only added more of them. A truckload. Yes I know it's still the same error, I've just spent an hour trying to uninstall one damn app, apparently without success thou, so I'm sort of fed up.