project-navigation
Personal tools

Author Topic: Problem with installation  (Read 4656 times)

TomTom

  • Guest
Problem with installation
« on: December 28, 2008, 12:28:57 pm »
Hi all(sorry for my bad english),i'm new from linux,
i do ./configure  and i have this error:

Code: [Select]
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking system... UNIX (GNU/Linux)
checking for sed... yes
checking for echo... yes
checking target OS... linux-gnu
checking target CPU... i386
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for int*... yes
checking size of int*... 4
checking for rm... yes
checking for mkdir... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking whether AI_NUMERICSERV is declared... yes
checking for setpriority... yes
checking for strncasecmp... yes
checking for stdint.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for library containing dlopen... -ldl
checking for library containing cos... -lm
checking for library containing stricmp... no
checking for library containing strcasecmp... none required
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for library containing gettext... none required
checking for sdl-config... yes
checking SDL.h usability... yes
checking SDL.h presence... yes
checking for SDL.h... yes
checking SDL_mixer.h usability... yes
checking SDL_mixer.h presence... yes
checking for SDL_mixer.h... yes
checking for library containing Mix_OpenAudio... -lSDL_mixer
checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... yes
checking for SDL_ttf.h... yes
checking for library containing TTF_Init... -lSDL_ttf
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_info_struct in -lpng... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for library containing newwin... -lcurses
configure: GtkRadiant dependencies: gtk2, gtkglext, glib2 and libxml2
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for RADIANT... configure: error: Package requirements (gtk+-2.0 gtkglext-1.0 glib-2.0) were not met:

No package 'gtkglext-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables RADIANT_CFLAGS
and RADIANT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

what i have to do?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Problem with installation
« Reply #1 on: December 28, 2008, 12:59:29 pm »
Either install those packages or configure --disable-gtkradiant if you don't need the mapeditor.

-geever

Offline DuKe2112

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Problem with installation
« Reply #2 on: December 28, 2008, 01:09:26 pm »
Ok, so it's your first time compiling? Maybe ufoai isn't the right thing to practise on. I gennerally know how to compile, but I still didn't manage to do it properly for ufo.
You might want to consider using the premade packages you can in this forum, which distro do you have?

For your compile problem, it's pretty standart you are missing some package ufo needs to be compiled. (that's pretty much always the case if you want to compile a programm for the first time.)

In this case you need to install gtkglext, it might also be libgtkglext, not sure. And for compiling, but not for playing you also might need gtkglext-dev (depends on your distro)
Then call ./configure again and see if it complains about another package.

TomTom

  • Guest
Re: Problem with installation
« Reply #3 on: December 28, 2008, 01:41:32 pm »
thanks

Offline Wizard^^

  • Rookie
  • ***
  • Posts: 22
    • View Profile
Re: Problem with installation
« Reply #4 on: December 31, 2008, 04:21:56 pm »
Which linux do you use?

I fixed that problem with rpmfind for fedora 10
Quote
checking for RADIANT... configure: error: Package requirements (gtk+-2.0 gtkglext-1.0 glib-2.0) were not met:

No package 'gtkglext-1.0' found

I typed in gtkglext into rpmfind.net and found gtkglext-devel-1.2.0-7.fc10.i386.rpm
or if you build of linux uses yum
Code: [Select]
yum install gtkglext-devel*
Anyway I hope that helps
« Last Edit: January 08, 2009, 01:40:54 pm by Wizard^^ »