You will need the SDL and SDL_image libraries for building doraemon.
Download the SDL libary from here: http://www.libsdl.org/
Navigate to the directory where you downloaded the SDL library, for example:
bash# cd /eleague/src/SDL
Modify the file in this directory called configure as follows:
Find the lines that read:
exec_prefix=NONE prefix=NONEThese should both be changed to point to the directory in which you want to install the SDL library. For our example, we are installing into
/eleague, so we change the configure script to read:
exec_prefix=/eleague prefix=/eleague
bash# ./configure --disable-video-directfbNote: Without the "--disable-video-directfb", it tries to use something called pgk-config to install something related to video-directfb (whatever that is) and it seems that we don't have pkg-config installed...
Makefile and its subdirectories, so you can simply run:
bash# make bash# make install
SDL should now be installed in the directory specified in the configure script.
Download the SDL_image libary from here: http://www.libsdl.org/projects/SDL_image
Navigate to the directory where you downloaded the SDL_image library, for example:
bash# cd /eleague/src/SDL_imageAs with the SDL library, modify the file in this directory called
configure as follows:exec_prefix=NONE prefix=NONE SDL_CONFIG="$ac_cv_path_SDL_CONFIG"The first two should be changed to point to the directory in which you want to install the SDL_image library. SDL_CONFIG should be modified to point to the directory where you want the sdl-config directory to reside. For our example, we are installing into /eleague, so we change the configure script to read:
exec_prefix=/eleague prefix=/eleague SDL_CONFIG=/eleague/bin/sdl-configNext, configure the installation by running:
bash# ./configureThe correct paths should now be set in the Makefile and its subdirectories, so you can simply run:bash# make bash# make installThe SDL_image library should now be installed in the directory specified in the configure script.