I'm trying to install version 1.7.0 of the client onto Mandrake 10. I have gtk 1.2 and sld 1.2 installed. When I execute the command "./configure" I receive the following error messages.
checking for GTK - version >= 1.0.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
and
checking for sdl-config... no
checking for SDL - version >= 1.1.3... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
I have no idea what PREFIX is or how to set the GTK_CONFIG environment variable. Same for the SDL stuff. I've been to the crossfire IRC channel but non of the 18 other people in the room said anything. Help would be appreciated
./configure not finding gtk or sdl
Moderator: Board moderators
Re: ./configure not finding gtk or sdl
Do you have the development libraries installed, too? They usually have "-dev" suffix. You need those to compile.Dravik wrote:I'm trying to install version 1.7.0 of the client onto Mandrake 10. I have gtk 1.2 and sld 1.2 installed.
Prefix is the path "make install" will put the files in. Default is /usr/local, but you may want to use /home/dravik. In other words,Dravik wrote:I have no idea what PREFIX is or how to set the GTK_CONFIG environment variable.
Code: Select all
./configure --prefix=/home/dravik
Code: Select all
$ VARIABLE=value ./configure
/* Debian GNU/Linux - rebooting is for adding hardware. */