Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 163450

Summary: wesnoth-1.2.1 configure failure
Product: Gentoo Linux Reporter: Morgun Leonid <morgunl>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Full config.log

Description Morgun Leonid 2007-01-23 16:22:45 UTC
...
checking for libpng-config... /usr/bin/libpng-config
checking for SDL - version >= 1.2.7... no
configure: error: *** Please upgrade your SDL version
...

but 
localhost mudiller # sdl-config --version
1.2.11


Reproducible: Always




tmp_version = my_strdup("1.2.7");
444 |   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
445 |      printf("%s, bad version string\n", "1.2.7");
446 |      exit(1);
447 |    }
448 |
449 |    if ((1 > major) ||
450 |       ((1 == major) && (2 > minor)) ||
451 |       ((1 == major) && (2 == minor) && (11 >= micro)))
452 |     {
453 |       return 0;
454 |     }
455 |   else

strange comparison, isn't it?
it's a part of file //var/tmp/portage/wesnoth-1.2.1/work/wesnoth-1.2.1/config.log
Comment 1 Morgun Leonid 2007-01-23 16:24:19 UTC
Created attachment 107908 [details]
Full config.log
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2007-01-23 16:43:17 UTC

*** This bug has been marked as a duplicate of bug 155195 ***