project-navigation
Personal tools

Author Topic: Problem during configure process  (Read 3604 times)

azmodai

  • Guest
Problem during configure process
« on: April 12, 2007, 03:58:41 pm »
Hi,

As I can't run ufoai binaries because of lib problems with 64 bits systems I have to build ufoai from source ... but when I run the config process I get this message :
Code: [Select]

checking for sdl-config... yes
checking SDL.h usability... yes
checking SDL.h presence... yes
checking for SDL.h... yes
checking for library containing SDL_Init... no
configure: error: You must have the SDL development libraries


That's so strange because I installed every SDL packages I could install :
SDL-sound, SDL-Input, SDL-net, SDL etc ....

I don't understand ....

Any idea ?

Thanks,

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problem during configure process
« Reply #1 on: April 12, 2007, 10:18:16 pm »
you have to install the dev packages, too - not only th libs

azmodai

  • Guest
Problem during configure process
« Reply #2 on: April 13, 2007, 10:40:43 am »
It worked out ! ;-)
sdl librairies were badly installed :-/

"emerge --unmerge libsdl && emerge libsdl" and it was good

Thanks,

bye

TDogg310

  • Guest
Problem during configure process
« Reply #3 on: May 28, 2007, 02:22:19 am »
I am experiencing a related problem on 32-bit Ubuntu 7.04.  I followed the instruction given for Debian-based distributions, so I should have all dependencies satisfied.  Synaptic indicates that I have libsdl-ttf2.0-dev installed, including /usr/include/SDL/SDL_ttf.h.  When I run ./configure in ~/ufoai/trunk, I get the following error message:

checking for SDL_ttf.h... no
checking for SDL_ttf/SDL_ttf.h... no
configure: error: You must have the SDL_ttf development headers

I even tried installing the most recent versions of SDL_ttf using .deb packages, to no avail.  What should I do?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problem during configure process
« Reply #4 on: May 28, 2007, 08:20:32 am »
Code: [Select]
apt-get install libsdl-ttf2.0-dev

TDogg310

  • Guest
Problem during configure process
« Reply #5 on: May 28, 2007, 05:16:42 pm »
I fixed the problem by not compiling it from source, but instead using the .run file.