./configure not finding gtk or sdl

Requests for assistance and other HOWTOs.

Moderator: Board moderators

Dravik

./configure not finding gtk or sdl

Post by Dravik »

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
User avatar
hoxu
Senior member
Posts: 330
Joined: Tue Apr 29, 2003 6:10 am

Re: ./configure not finding gtk or sdl

Post by hoxu »

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.
Do you have the development libraries installed, too? They usually have "-dev" suffix. You need those to compile.
Dravik wrote:I have no idea what PREFIX is or how to set the GTK_CONFIG environment variable.
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,

Code: Select all

./configure --prefix=/home/dravik
But that's irrelevant regarding the problem. As for the environment variable, you can pass it to the configure script typing

Code: Select all

$ VARIABLE=value ./configure

/* Debian GNU/Linux - rebooting is for adding hardware. */
Dravik

Post by Dravik »

Installation of the devel rpms fixed my problem. Thanks for the help.
Post Reply