Hi Kartik,

Thanks for all the awesome SDLPerl work you've been doing. It's much
appreciated. I'd like to get back into some SDLPerl hacking && to help
you test releases && features.

Earlier today, I tried to run `perl -MCPAN -e "install SDL"`, but it
failed && I was hoping you could please help me get it (&& the
Games::FrozenBubble beta) installed && running, when you have time.
Force install didn't work && I'm not sure what to try next, so please
advise. Do you know what I need to do to get around the libpng error
&& should I have a threaded Perl or smpeg too? I've pasted the
conclusion of my build below to help diagnose.

... many long GCC build lines snipped here...
  KTHAKORE/SDL-2.503.tar.gz
  ./Build -- OK
Running Build test
[Alien::SDL] Build option used:
        Source code build: SDL-1.2.14 & co. + all prereq. libraries
        builds: zlib, jpeg, tiff, png, freetype, SDL,
SDL_(image|mixer|ttf|net|gfx)
Building SDL
t/00-load.t ..................... ok
t/colorpm.t ..................... ok
t/config.t ...................... ok
t/core.t ........................ ok
t/core_audio.t .................. skipped: Perl not compiled with 'useithreads'
t/core_audiospec.t .............. skipped: Perl not compiled with 'useithreads'
t/core_cd.t ..................... ok
t/core_error.t .................. ok
t/core_events.t ................. ok
t/core_joystick.t ............... ok
t/core_mouse.t .................. ok
t/core_multi.t .................. ok
t/core_overlay.t ................ ok
t/core_palette.t ................ ok
t/core_rect.t ................... ok
t/core_rwops.t .................. ok
t/core_surface.t ................ ok
t/core_timer.t .................. skipped: Perl not compiled with 'useithreads'
t/core_version.t ................ ok
t/core_video.t .................. ok
t/core_video_convert_surface.t .. ok
t/extendingrect.t ............... ok
t/gfx.t ......................... ok
t/gfx_fpsmanager.t .............. ok
t/gfx_framerate.t ............... ok
t/gfx_imagefilter.t ............. ok
t/gfx_primitives.t .............. ok
t/gfx_primitives2.t ............. ok
t/gfx_rotozoom.t ................ ok
t/image.t ....................... ok
t/image_xpm_array.t ............. ok
t/intergation1.t ................ ok
t/mixer.t ....................... skipped: Perl not compiled with 'useithreads'
t/mixer_channels.t .............. skipped: Perl not compiled with 'useithreads'
t/mixer_effects.t ............... skipped: Perl not compiled with 'useithreads'
t/mixer_groups.t ................ skipped: Perl not compiled with 'useithreads'
t/mixer_mixchunk.t .............. skipped: Perl not compiled with 'useithreads'
t/mixer_mixmusic.t .............. skipped: Perl not compiled with 'useithreads'
t/mixer_music.t ................. skipped: Perl not compiled with 'useithreads'
t/mixer_samples.t ............... skipped: Perl not compiled with 'useithreads'
t/mpegpm.t ...................... skipped: smpeg support not compiled
t/pango.t ....................... ok
t/sdlgamerect.t ................. ok
t/sdlx_app.t .................... ok
t/sdlx_sfont.t .................. 1/? libpng warning: Application was
compiled with png.h from libpng-1.4.3
libpng warning: Application  is  running with png.c from libpng-1.2.43
libpng error: Incompatible libpng version in application and library
t/sdlx_sfont.t .................. Dubious, test returned 1 (wstat 256, 0x100)
All 1 subtests passed
t/sdlx_sprite.t ................. ok
t/sdlx_sprite_animated.t ........ ok
t/sdlx_surface.t ................ ok
t/smpeg.t ....................... skipped: smpeg support not compiled
t/ttf.t ......................... ok
t/ttf_font.t .................... ok

Test Summary Report
-------------------
t/core.t                      (Wstat: 0 Tests: 28 Failed: 0)
  TODO passed:   21-22
t/core_video.t                (Wstat: 0 Tests: 116 Failed: 0)
  TODO passed:   57, 59
t/sdlx_sfont.t                (Wstat: 256 Tests: 1 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=51, Tests=1543, 65 wallclock secs ( 0.99 usr  0.34 sys + 15.42
cusr  2.27 csys = 19.02 CPU)
Result: FAIL
Failed 1/51 test programs. 0/1543 subtests failed.
  KTHAKORE/SDL-2.503.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports KTHAKORE/SDL-2.503.tar.gz
Running Build install
  make test had returned bad status, won't install without force
Running make for K/KT/KTHAKORE/Games-FrozenBubble-2.210.tar.gz
Warning: Prerequisite 'SDL => 2.500' for
'KTHAKORE/Games-FrozenBubble-2.210.tar.gz' failed when processing
'KTHAKORE/SDL-2.503.tar.gz' with 'make_test => NO'. Continuing, but
chances to succeed are limited.

  CPAN.pm: Going to build K/KT/KTHAKORE/Games-FrozenBubble-2.210.tar.gz

[Alien::SDL] Testing header(s): iconv.h
[Alien::SDL] Testing header(s): math.h
[Alien::SDL] Testing header(s): SDL.h
[Alien::SDL] Testing header(s): SDL_mixer.h
Checking prerequisites...
  requires:
    !  SDL (2.2.6) is installed, but we need version >= 2.500
  build_requires:
    !  SDL (2.2.6) is installed, but we need version >= 2.500

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Games-FrozenBubble' version '2.210'
Warning: Prerequisite 'SDL => 2.500' for
'KTHAKORE/Games-FrozenBubble-2.210.tar.gz' failed when processing
'KTHAKORE/SDL-2.503.tar.gz' with 'make_test => NO'. Continuing, but
chances to succeed are limited.
x86_64-pc-linux-gnu-gcc -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
-fPIC -g -Wall -Werror -pipe -Iserver -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -lglib-2.0 -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=athlon64 -O2 -pipe
-msse3 -o server/fb-server.o server/fb-server.c
x86_64-pc-linux-gnu-gcc -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
-fPIC -g -Wall -Werror -pipe -Iserver -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -lglib-2.0 -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=athlon64 -O2 -pipe
-msse3 -o server/log.o server/log.c
x86_64-pc-linux-gnu-gcc -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
-fPIC -g -Wall -Werror -pipe -Iserver -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -lglib-2.0 -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=athlon64 -O2 -pipe
-msse3 -o server/tools.o server/tools.c
cc1: warnings being treated as errors
server/tools.c: In function 'reregister_server_if_needed':
server/tools.c:189: error: ISO C90 forbids mixed declarations and code
error building server/tools.o from 'server/tools.c' at
/usr/lib64/perl5/vendor_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 115.
  KTHAKORE/Games-FrozenBubble-2.210.tar.gz
  ./Build -- NOT OK
Running Build test
  Can't test without successful make
Running Build install
  Make had returned bad status, install seems impossible

Thanks again,
-Pip

On Thu, Jul 22, 2010 at 16:55, Kartik Thakore <thakore.kar...@gmail.com> wrote:
> SDL 2.503 has been released on to CPAN. The changes are mostly in the new
> features added to SDLx::* layer. However as our continuing attempt to
> improve cross platform support we have some low level fixes.
>
> Most interstingly we have begun work on SDLx::Sprite::Animated. Although,
> volatile, this addition will be highly anticipated. We look forward for more
> work on it soon.
>
> Additionally are the changes in SDLx::Surface. SDLx::Surface is an attempt
> to provide gfx, pixels, video and low level surface functions in a combined
> and simpler interface. Since SDLx::Sprite and SDLx::App depends on
> SDLx::Surface, new features will be propagated and the magic amplified!
>
> These are exciting times for SDL in Perl. So come join us for great justice
> on #sdl irc.perl.org or sdl-de...@perl.org.
>
>
> Kartik Thakore
>

Reply via email to